How to Disable Remote Desktop from Locking Screen

I’ve never had issues with Remote Desktop, except for one annoyance: after a few minutes of idle time, it auto logs off and requires me to re-enter the password. This is frustrating when reviewing log files or console messages. The solution to disabling the idle logoff is simple, though.

Initially, I misunderstood the issue, thinking the system was logging out when idle. It turned out the screen was locking instead. The “Never” setting for idle session limit in RDP Properties didn’t work because of this.

By default, Windows Server activates the screen saver after 10 minutes of inactivity, and the “On resume, display logon screen” setting is enabled. When this happens, the screen saver is removed upon returning to the Remote Desktop, prompting a login. To fix this, you can either disable the screen saver or remove the logon screen on resume.

How to disable remote desktop automatic screen lock

Try a modified registry file

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.

What If the Setting Is Grayed Out?

If the “On Resume, display logon screen” option is disabled or grayed out, it likely means a group policy is preventing you from modifying the setting. This might be enforced by your company’s network administrator. Fortunately, you can easily bypass this policy.

These registry fixes are quick and efficient ways to regain control over the screen saver settings, even if you don’t have administrator privileges.

On Resume Display Logon Screen Grayed out

Using Group Policy for Fine-Tuned Control

If you’re working on a Windows Server or have administrative rights, you can also use the Local Group Policy Editor to configure more advanced settings for Remote Desktop sessions. This is especially useful when managing multiple users or fine-tuning session timeouts.

To adjust the session timeout via Group Policy:

  1. Open gpedit.msc by typing it in the Run dialog.gpedit command run
  2. Navigate to Computer Configuration ? Administrative Templates ? Windows Components ? Remote Desktop Services ? Remote Desktop Session Host ? Session Time Limits.remote desktop services gpedit
  3. Double-click Set time limit for active but idle Remote Desktop Services sessions.
  4. Choose Enabled and set your desired timeout.

This allows you to control how long an idle session

Final thoughts

In conclusion, while Windows Remote Desktop is a useful tool for connecting and managing other Windows servers, there are alternatives like the free Virtual Network Computing (VNC) and the popular TeamViewer that may offer additional features. However, I try to minimize third-party software installations on server machines.

To learn more about enabling Remote Desktop, check out this guide on how to enable Remote Desktop connection in Windows 7 Home Premium. If you’re looking to disable Remote Desktop for security or other reasons, the steps outlined in this article will guide you through the process.

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 11 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 12 years ago
  10. Nachman 12 years ago
  11. tesh 12 years ago
  12. Josh 13 years ago
  13. Nick 14 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 15 years ago
  20. ahmed 15 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.