In Power BI Desktop, users who installed and are running previous versions of the Power BI on-premises data gateway can be blocked from launching Power BI Desktop, due to administrative policy restrictions that the Power BI on-premises gateway placed on named pipes on the local machine.
There are three options to resolve the issue associated with the on-premises data gateway, and enable Power BI Desktop to launch:
The latest version of the Power BI on-premises data gateway does not place named pipe restrictions on the local machine, and allows Power BI Desktop to launch properly. If you need to continue using Power BI on-premises data gateway, this is the recommended resolution. You can download the latest version of Power BI on-premises data gateway from this location. Note that the link is a direct download link to the installation executable.
If you no longer need the Power BI on-premises data gateway, you can uninstall it, or you can stop the Power BI on-premises data gateway Windows service, which removes the policy restriction, and allows Power BI Desktop to launch.
Alternatively, you can successfully launch Power BI Desktop as administrator, which also allows Power BI Desktop to successfully launch. It is still recommended that you install the latest version of Power BI on-premises data gateway, as described earlier in this article.
We strive to cover as many issues that occur with Power BI Desktop as possible. We regularly look at issues that may be affecting many customers, and include them in our articles.
If the issue with launching Power BI Desktop is not associated with the On-premises data gateway, or when the previous resolutions don't work, you can submit a support incident to Power BI support (https://support.powerbi.com) to help identify and solve your issue.
For other issues you may encounter in the future with Power BI Desktop (we hope there are none, or very few), it is helpful to turn on tracing and gather log files, to better isolate and identify the issue. To turn on tracing, select File > Options and settings > Options and then select Diagnostics, then check Enable tracing under Diagnostic Options. We realize that Power BI Desktop must be running to set this option, which is more helpful for future issues associated with launching Power BI Desktop.