解決 Power BI Desktop 無法啟動的問題Resolve Issues when Power BI Desktop will not launch

Power BI Desktop 中,因為 Power BI 內部部署閘道在本機電腦的具名管道上設置了系統管理原則限制,所以會封鎖安裝並執行舊版 Power BI 內部部署資料閘道的使用者,讓他們無法啟動 Power BI Desktop。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.

解決內部部署資料閘道和 Power BI Desktop 的問題Resolve issues with the on-premises data gateway and Power BI Desktop

您可以透過下列三個選項,來解決與內部部署資料閘道相關聯的問題,並允許啟動 Power BI Desktop:There are three options to resolve the issue associated with the on-premises data gateway, and enable Power BI Desktop to launch:

解決方法 1:安裝最新版的 Power BI 內部部署資料閘道Resolution 1: Install the latest version of Power BI on-premises data gateway

最新版的 Power BI 內部部署資料閘道不會在本機電腦上設置具名管道限制,且允許正確啟動 Power BI Desktop。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. 如果您需要繼續使用 Power BI 內部部署資料閘道,建議使用這個解決方法。If you need to continue using Power BI on-premises data gateway, this is the recommended resolution. 您可以從這個位置下載最新版的 Power BI 內部部署資料閘道。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.

解決方法 2:解除安裝或停止 Power BI 內部部署資料閘道 Windows 服務Resolution 2: Uninstall or stop the Power BI on-premises data gateway Windows service

如果不再需要 Power BI 內部部署資料閘道,您可以解除安裝或停止 Power BI 內部部署資料閘道 Windows 服務,這樣會移除原則限制並允許啟動 Power BI Desktop。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.

解決方法 3:以系統管理員權限執行 Power BI DesktopResolution 3: Run Power BI Desktop with administrator privilege

或者,您可以系統管理員的身分成功啟動 Power BI Desktop,這樣也可以成功啟動 Power BI Desktop。Alternatively, you can successfully launch Power BI Desktop as administrator, which also allows Power BI Desktop to successfully launch. 但仍建議您如前文所述,安裝最新版的 Power BI 內部部署資料閘道。It is still recommended that you install the latest version of Power BI on-premises data gateway, as described earlier in this article.

協助解決啟動 Power BI Desktop 時發生的其他問題Help with other issues when launching Power BI Desktop

我們致力於將 Power BI Desktop 所發生的問題涵蓋在本文中。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.

如果啟動 Power BI Desktop 時發生的問題與內部部署資料閘道無關,或上述解決方法無法解決問題,您可以將支援事件提交給 Power BI 支援 (https://support.powerbi.com) 來協助找出並解決問題。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.

如果未來遇到 Power BI Desktop 的其他問題 (我們希望沒有或非常少),開啟追蹤並收集記錄檔將有助於更佳隔離並找出問題。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. 我們了解 Power BI Desktop 必須在執行中才能設定此選項,因此更有助於解決未來與啟動 Power BI Desktop 相關聯的問題。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.