---
title: 'Windows Server: Programs running 24/7 after closing an RDP session | Zomro'
description: 'If you need on Windows Server to ensure that the application works 24/7 even after the RDP session is terminated, it is enough to perform 2 steps:'
image: 'https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653683199_screenshot_1.png'
---

![opened image]()

  * [Zomro](https://zomro.com/)
  * [Useful articles](https://zomro.com/blog/articles/)
  * [Hosting/server articles](https://zomro.com/blog/articles/hosting-servery/)
  * Windows Server: Programs running 24/7 after closing an RDP session 



# Windows Server: Programs running 24/7 after closing an RDP session

27-05-2022

If it is necessary to ensure the operation of the program 24/7 on Windows Server even after the end of the RDP session, it is enough to perform 2 steps:

  1. Create a new user on the server with RDP access rights
  2. Log in to the server with this user, create an RDP connection with the Administrator user and run the necessary software



Let's get started.  
1\. Connect to the "Remote Desktop" server with Administrator rights ([how to connect to the server via RDP](https://zomro.com/blog/faq/66-kak-zayti-na-server-po-rdp-protokolu))  
2\. Create a new user on the server named admin (how to create a new user)

3\. Disconnect from the server of the Administrator user and connect with the admin user

![Windows Server: Programs running 24/7 after closing an RDP session - 1](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653683199_screenshot_1.png)

![Windows Server: Programs running 24/7 after closing an RDP session - 2](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/medium_1653683208_screenshot_2.png)

![Windows Server: Programs running 24/7 after closing an RDP session - 3](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653683232_screenshot_3.png)

  
4\. After successfully logging into the server with the admin user, you need to create a connection for the Administrator user.  
To do this, on the server, right-click on the Start button - select Run (Run)

![Windows Server: Programs running 24/7 after closing an RDP session - 4](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653684281_screenshot_4.png)

and in the window that opens, type mstsc and click OK 

![Windows Server: Programs running 24/7 after closing an RDP session - 5](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653684266_screenshot_5.png)

Next - **Show Options**

![Windows Server: Programs running 24/7 after closing an RDP session - 6](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653684585_screenshot_6.png)

In the **Computer** field, enter the value 127.0.0.1  
In the **User Name** field, enter Administrator and click **Save As**

![Windows Server: Programs running 24/7 after closing an RDP session - 7](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653684682_screenshot_7.png)

Save this connection as Administrator on the server's desktop.

![Windows Server: Programs running 24/7 after closing an RDP session - 8](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653685012_screenshot_8.png)

![Windows Server: Programs running 24/7 after closing an RDP session - 9](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653685109_screenshot_9.png)

5\. Start the saved connection connection by entering the Administrator user password

![Windows Server: Programs running 24/7 after closing an RDP session - 10](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/thumbs_1653685355_screenshot_10.png)

The Administrator's desktop will open, distinguished by the IP address 127.0.0.1 in the connection header.

![Windows Server: Programs running 24/7 after closing an RDP session - 11](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a55@server-panel.net/2022/05/01/1653685597_screenshot_11.png)

It is on this desktop that you need to run programs that require 24/7 work.  
  
If you move the 127.0.0.1 header aside with the mouse, the admin user connection header from your server IP will become available. This connection can be closed by leaving the Administrator user connection open on the server.  
  
Thus, running programs on the remote desktop of the Administrator user will work 24/7, regardless of whether there is a connection to the server.

Similar articles:

[Guide to Managing the cPanel Control Panel on VPS](https://zomro.com/blog/articles/539-guide-to-managing-the-cpanel-control-panel-on-vps) [What is a Dedicated Server - A Complete Guide](https://zomro.com/blog/articles/200-chto-takoe-vydelennyj-server-polnoe-rukovodstvo) [How to Make Money With a Dedicated Server?](https://zomro.com/blog/articles/171-kak-zarabotat-na-vydelennom-servere) [Hosting support](https://zomro.com/blog/articles/30-sluzhba-podderzhki-hostinga) [Where to place your mobile application](https://zomro.com/blog/articles/308-gde-razmestit-svoe-mobilnoe-prilozhenie)

[ GPU server from €174.80/mon ](/dedicated-servers/type=gpu)
