How to Prevent Remote Desktop from Locking Screen

I often use the Windows Remote Desktop function to connect and remotely manage another Windows server. As you might know, there are many other better remote control software such as the free Virtual Network Computing (VNC) or even the popular Teamviewer, but I try to minimize the installations of third party software on the Server machines. If you don’t know what Remote Desktop is, it’s a protocol developed by Microsoft which allows you to view the display and control the mouse and keyboard of another computer at different location, as if you were sitting in front of the computer.

remote desktop auto locked when idle

I never have any problems with Remote Desktop and it works as I expect it to, except for only one annoyance which is if I leave it idle for a few minutes, it auto logs off and I have to re-enter the password to login again. This is very annoying whenever I am reading the log files or the console messages that are displayed on screen. Fortunately there is quite a simple solution for how to disable remote desktop auto logoff on idle.

It took a couple of days trying to find the solution because I actually misunderstood the problem in the first place. I thought the system was auto logging out when idle but it turns out that it was the screen that was locked. No wonder setting “Never” for idle session limit in RDP Properties didn’t work.

By default Windows Server activates the screen saver if the computer has been idle for 10 minutes and the setting “On resume, display logon screen” will also be checked. So if Windows detects no activity for 10 minutes, the screen saver will be activated and when we get back to the Remote Desktop Connection, the screen saver is removed and then prompts to login. To solve this problem, you can either disable the screen saver or remove the logon screen on resume.

The solution

To disable the auto lock screen when idle, the easiest solution which requires only a click is to download this registry fix file, run it on the computer that is automatically getting locked and restart the PC for the changes to take effect. Alternatively, here are the steps if you prefer to do it manually.

1. Right click Desktop and select Personalize

2. Click Screen Saver

3. Uncheck “On Resume, display logon screen” and click OK.

Disable remote desktop logoff when idle

Now you can remain idle on the remote desktop connection as long as you want and you won’t be locked out. And obviously this also works on an ordinary PC if you keep receiving the login screen whenever you come out from a screensaver.

If the “On Resume, display logon screen” checkbox is disabled or grayed out like what is shown at the screenshot below, it means that there is a group policy being implemented probably by your company’s network administrator to prevent the local logged in user from changing this setting.

On Resume Display Logon Screen Grayed out

Fortunately bypassing the policy is as easy as download and running another registry fix. We’ve provided two different registry fixes where you can either delete the policy so that it will be possible for you to manually enable/disable the settings, or you disable the option while maintaining the checkbox grayed out.

Download Reg Fix to Delete Password protect the screen saver Group Policy

Download Reg Fix to Disable Password protect the screen saver Group Policy

25 Comments - Write a Comment

  1. ralplpcr 4 years ago
  2. Steve 6 years ago
  3. Mohamed 7 years ago
  4. Peter 10 years ago
  5. mouhannad 10 years ago
  6. Jonas 11 years ago
    • reirab 5 years ago
      • HAL9000 5 years ago
        • traveler 5 years ago
  7. Mike 11 years ago
  8. skyline 11 years ago
  9. nitro 11 years ago
  10. Nachman 12 years ago
  11. tesh 12 years ago
  12. Josh 13 years ago
  13. Nick 13 years ago
  14. gaiusgracchus 14 years ago
  15. MrMonkey 14 years ago
  16. Thanksalot 14 years ago
  17. satya 14 years ago
  18. Nicole 14 years ago
  19. j 14 years ago
  20. ahmed 14 years ago
  21. martin 15 years ago
  22. Kiran 15 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.