1

Using Microsoft's Remote Desktop Connection client (mstsc), I can RDP into a local account on Windows 10 and it will never enter into a locked state, even after hours of direct inactivity. However on Windows 11, the RDP session keeps locking after a minute or so of no direct activity.

Windows 11 RDP lock screen

I've tried setting the following:

  • Turn off Dynamic lock (already off because Windows says they don't support dynamic lock for remote session. I wished that was actually the case).
  • Turn off Screen Saver Settings > On resume, display logon screen.
  • Turn off sleeping the computer when plugged in.
  • When plugged in, set screen timeout to something reasonably large (10 minutes).
  • Turn off Personalisation > Lock screen > Advanced slideshow settings > When PC is inactive, show the lock screen instead of turning off the screen.
  • Enabled gpedit > Computer/Administrative Templates/System/Logon/ > Allow users to select when a password is required when resuming from connected standby.
  • Rebooting the after every attempt above.

Tried settings

Tried settings 2

Checked the related questions but they did not help solve the issue:

How can I prevent my Windows 11 RDP connection from locking after 1~2 minutes?

  • OS: Windows 11 Pro
  • Version: 22H2
  • Client: Microsoft Remote Desktop Connection (mstsc)
Daniel
  • 150
  • 1
  • 11

1 Answers1

1

It looks like it had something to do with being unable to properly save screensaver settings.

I followed this guide to manipulate the registry and allow my settings to be saved.

Specifically, setting:

[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaverIsSecure"="0"

and rebooting the PC made it work.

Daniel
  • 150
  • 1
  • 11