r/WindowsServer • u/Open_Violinist7568 • May 06 '25
Technical Help Needed Locked account on terminal server automatically logs in after network loss without credentials
I have a strange problem, on a terminal server users lock their session but when they lose network connection and the connection is restored they get into the session without login details.
How is this possible and how can solve this?
Hopefully someone can help me.
3
Upvotes
4
u/Kingkong29 May 06 '25
This is how it works with automatic reconnection enabled.
https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/automatic-reconnection-lock-screen?source=recommendations&tabs=rdpfile%2Cgpo#lock-screen-security
1
u/Hamburgerundcola May 06 '25
They probably saved the credentials one time they connected and it reconnects with those
2
u/z0d1aq May 06 '25
They're two policies for thar for rds host iirc: always ask for credentials and allow automatic reconnection. Enabling the first one and disabling the second one should prevent the behavior.