Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
manoj_0911
Post Patron
Post Patron

How to Keep On-premises Data Gateway Running in the Background and Prevent Accidental Closure?

Hi Community,

 

I am currently using the On-premises Data Gateway, and I want to ensure that it continues running in the background without anyone accidentally closing it.

 

I've noticed that the gateway window is often left open, and there’s a risk that someone might close it by mistake. Is there a way to hide the gateway interface or keep it running as a background service to avoid this issue?

 

I would appreciate guidance on how to configure the gateway to run seamlessly without interruption.

 

Thanks in advance for your help!

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @manoj_0911 - When you install the On-premises Data Gateway, it’s set up to run as a Windows service or server by default. This means it starts automatically when the server boots up and runs in the background without requiring user intervention.

If the gateway isn’t currently running as a service, you can reinstall the gateway and make sure to select the option to run it as a service during the setup process in dedicated windows server or services.

Once the gateway is installed and running as a service, you don’t need to leave the application window open. You can safely close the UI since the service will continue running in the background.

Even if someone accidentally closes the gateway window, it will not affect the gateway’s functionality since the background service remains operational.

 

Reference links:

Install an on-premises data gateway | Microsoft Learn

Manage an on-premises data gateway | Microsoft Learn

Hope this helps. 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Your solution is so great lbendlin

Hi, @manoj_0911 

Because personal gateways are typically installed on user computers, they are more difficult to manage and govern. If you do need to use a personal gateway, consider moving it to a centrally managed VM using a service account. This approach ensures that gateway availability is not dependent on the user's computer (which might be down) and improves gateway governance and management.

Power BI implementation planning: Data gateways - Power BI | Microsoft Learn

The on-premises data gateway (personal mode) can run only as an application. To run a gateway as a service or in admin mode, use the on-premises data gateway, which used to be called the Enterprise gateway.

Use a personal gateway in Power BI - Power BI | Microsoft Learn

vjianpengmsft_0-1729836291156.png

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

You seem to be running a Personal Gateway. Uninstall that and install an Enterprise/Standard Gateway.

rajendraongole1
Super User
Super User

Hi @manoj_0911 - When you install the On-premises Data Gateway, it’s set up to run as a Windows service or server by default. This means it starts automatically when the server boots up and runs in the background without requiring user intervention.

If the gateway isn’t currently running as a service, you can reinstall the gateway and make sure to select the option to run it as a service during the setup process in dedicated windows server or services.

Once the gateway is installed and running as a service, you don’t need to leave the application window open. You can safely close the UI since the service will continue running in the background.

Even if someone accidentally closes the gateway window, it will not affect the gateway’s functionality since the background service remains operational.

 

Reference links:

Install an on-premises data gateway | Microsoft Learn

Manage an on-premises data gateway | Microsoft Learn

Hope this helps. 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





I checked the Windows Services Manager and confirm that the On-premises Data Gateway is running as a Windows service. Thanks for the guidance—it’s set up and running as expected!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors