Forum Discussion
Power BI On‑Premises Data Gateway on a Windows Server without being prompted for an admin password?
- Anonymous6 months ago
Hi Ad_Khattak ,
The Power BI On Premises Data Gateway operates as a Windows service rather than a standard desktop application. The configuration tool (GatewayConfigurator.exe) intentionally requires local administrator rights, as it manages service settings, credentials, and encryption keys. Once the gateway is initially set up and registered, it does not need to be reopened for routine operation. To ensure continuous operation, the gateway service should be set to start automatically and run under a dedicated domain service account, eliminating the need for an administrator to log in each time.If the BI team needs to restart the gateway, the recommended and secure method is to delegate Start, Stop, and Read permissions specifically for the On-premises data gateway service using Group Policy. This approach enables standard users to control the service without granting full local administrator access. For troubleshooting, you can also assign the BI security group read access to the gateway log folders, allowing them to collect logs without using the configuration tool. Changes to credentials, recovery keys, or gateway registration will still require administrator privileges, in line with Microsoft’s security guidelines.
For reference, please refer these Microsoft documentations :
https://learn.microsoft.com/power-bi/connect-data/service-gateway-onprem
https://learn.microsoft.com/power-bi/connect-data/service-gateway-install
https://learn.microsoft.com/windows-server/administration/windows-commands/sc-sdset
The thing is, you don't need to open the app. You really don't. Once you do it, the web portal logged with that account has the configuration for the gateway sources and refreshes. Then, inside the server, it's a service. If it stops working, then open the windows service tool and restart or start it. There is no need to open the exe of the gateway. The configuration for that app just shows the admin and let you export logs for issues or port connections, but there is no other need to open it. No need for refresh, add sources, make it work to flow data.
I hope that make sense
Thanks for the clarification. I understand your point, but the challenge here is that a standard user cannot start or restart Windows services, as shown in your screenshot — they don’t have the required local admin rights.
That’s why they typically rely on the gateway application (the .exe) when troubleshooting. If they need to access logs, check port connectivity, or gather diagnostic information, they would still have to open the exe interface, because those functions aren’t available to them through the Windows Services console.
So while the service itself doesn’t need to be opened to run or refresh data sources, the exe becomes necessary when:
- They need to export logs
- They need to validate port connections
- They need to verify gateway configuration (when asked by support)
- They don’t have rights to start/stop the service directly
- Anonymous6 months agoNot applicable
Hi Ad_Khattak ,
The Power BI On Premises Data Gateway operates as a Windows service rather than a standard desktop application. The configuration tool (GatewayConfigurator.exe) intentionally requires local administrator rights, as it manages service settings, credentials, and encryption keys. Once the gateway is initially set up and registered, it does not need to be reopened for routine operation. To ensure continuous operation, the gateway service should be set to start automatically and run under a dedicated domain service account, eliminating the need for an administrator to log in each time.If the BI team needs to restart the gateway, the recommended and secure method is to delegate Start, Stop, and Read permissions specifically for the On-premises data gateway service using Group Policy. This approach enables standard users to control the service without granting full local administrator access. For troubleshooting, you can also assign the BI security group read access to the gateway log folders, allowing them to collect logs without using the configuration tool. Changes to credentials, recovery keys, or gateway registration will still require administrator privileges, in line with Microsoft’s security guidelines.
For reference, please refer these Microsoft documentations :
https://learn.microsoft.com/power-bi/connect-data/service-gateway-onprem
https://learn.microsoft.com/power-bi/connect-data/service-gateway-install
https://learn.microsoft.com/windows-server/administration/windows-commands/sc-sdset- Anonymous6 months agoNot applicable
HI Ad_Khattak ,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you
- Anonymous6 months agoNot applicable
HI Ad_Khattak ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.