---
title: 'How to enable previous session restore on Windows Server 2016, 2019 | Zomro'
description: 'Sometimes users of Windows Server 2019 encounter the problem of being unable to restore the previous session when connecting to the server via RDP.'
image: 'https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a48@server-panel.net/2023/02/01/1676823847_1.png'
---

![opened image]()

  * [Zomro](https://zomro.com/)
  * [FAQ](https://zomro.com/blog/faq/)
  * How to enable previous session restore on Windows Server 2016, 2019? 



# How to enable previous session restore on Windows Server 2016, 2019?

19-02-2023

Sometimes Windows Server 2019 users suffer from the inability to restore frequent connections to the server via RDP. Instead, they get a new session, which can be inconvenient, especially if they were delayed by an elevated session.  
  
That is, when you close the RDP window and try to reconnect to this server and user, not the previous session is launched, but a new one.  
  
There are several practical solutions to this problem, one of which is found in configuring the RDP connection settings to the server. In this article, we are looking at how to enable the ability to restore a high session when connected to Windows Server 2019 through the "Group Policy Management Editor".  
  
Step 1: Open the "Group Policy Management Editor"  
  
To start, the organization "**Group Policy Management Editor** " through the menu "**Start** " -> "**Windows Administrative Tools** " -> "**Group Policy Management** ". Or, on a first-come, first-served basis, you can use the "**gpedit.msc** " command.  
  
![How to enable previous session restore on Windows Server 2016, 2019? - 1](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a48@server-panel.net/2023/02/01/1676823847_1.png)Step 2: Navigate to the desired setting  
  
In the Group Policy Management Editor window, go to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections.  
  
![How to enable previous session restore on Windows Server 2016, 2019? - 2](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a48@server-panel.net/2023/02/01/1676823870_2.png)  
Step 3: Appearance of "**Restrict Remote Desktop Services users to a single Remote Desktop Services session** "  
  
Observed "**Restrict Remote Desktop Services users to one Remote Desktop Services session** " and its representatives. Turn on the value "**Enabled** " and set the value of the interval for leaving the connection active to the desired value.  
  
![How to enable previous session restore on Windows Server 2016, 2019? - 3](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a48@server-panel.net/2023/02/01/1676823949_3.png)  
Step 4: Save your settings  
  
Click "**OK** " to save.  
  
![How to enable previous session restore on Windows Server 2016, 2019? - 4](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a48@server-panel.net/2023/02/01/1676823912_4.png)  
After completing this step, the top session should start running on the next Windows Server.  
  
Through the registry editor  
  
Sometimes a situation may arise when setting through the "**Group Policy Management Editor** " does not help. In this case, you can try changing the registry value on the server. To do this, you can follow the steps:  
  
  
Open the "**Registry Editor** " via the "**Start** " menu -> "**Windows Administrative Tools** " -> "**Registry Editor** ". Or, in order of priority, you can regedit.  
  
![How to enable previous session restore on Windows Server 2016, 2019? - 5](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a48@server-panel.net/2023/02/01/1676823940_5.png)  
Navigate to the "**HKEY_LOCAL_MACHINE\\\SOFTWARE\\\Policies\\\Microsoft\\\Windows NT\\\Terminal Services** " key.  
  
![How to enable previous session restore on Windows Server 2016, 2019? - 6](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a48@server-panel.net/2023/02/01/1676823909_6.png)  
setting a new **DWORD** value named "**fDenyTSConnections** "  
  
![How to enable previous session restore on Windows Server 2016, 2019? - 7](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a48@server-panel.net/2023/02/01/1676823912_7.png)  
Set its value to **0**.  
  
![How to enable previous session restore on Windows Server 2016, 2019? - 8](https://dx86q6oq7ry0e.cloudfront.net/uploads/media/blog/a48@server-panel.net/2023/02/01/1676823925_8.png)  
Close the Registry Editor.  
  
  
It can also be assumed due to the "Limit Remote Desktop Services users to one Remote Desktop Services session" PowerShell:  
  
Run PowerShell as an administrator.  
  
Enter the command:  

    
    
    Set-ItemProperty "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows NT\\Terminal Services" -Name "fSingleSessionPerUser" -Value 0 -Type DWord
    

  
This command enables the "Restrict Remote Desktop Services users to a single Remote Desktop Services session" selection by setting the "**fSingleSessionPerUser** " registry value to **0**.  
  
Reboot the server to make the situation effective.  
  
After completing this step, elevated Remote Desktop Connection was enabled on the Windows Server.  
It's important to note that enabling flare-ups can lead to suspicion of security, as users may continue to work if they become ill with a session they can exclude.

Similar articles:

[How to create a Telegram bot for monitoring remote hosts](https://zomro.com/blog/faq/316-kak-sozdat-telegram-bota-dlja-monitoringa-udalennyh-hostov) [How to Deploy Any Version of PHP in Docker-Compose](https://zomro.com/blog/faq/348-how-to-deploy-any-version-of-php-in-docker-compose-for-beginners) [Installing a game server for Terraria - TShock on Centos 7](https://zomro.com/blog/faq/250-ustanovka-igrovogo-servera-dlja-teraria-tshock-na-centos-7) [How to add a rule to Windows Server 2012, 2016, 2019 Firewall](https://zomro.com/blog/faq/273-kak-dobavit-pravilo-v-brandmaujer-windows-server-2012-2016-2019) [How to enable sound on VPS with Windows Server 2012, 2016, 2019](https://zomro.com/blog/faq/269-kak-vkljuchit-zvuk-na-vps-s-windows-server-2012-2016-2019)

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