Prevent Windows from shutting down during a remote desktop connection.
Prevent Windows from shutting down during a remote desktop connection.
Hey everyone, I’m dealing with a Windows 10 setup at home that runs 24/7. Sometimes I need to connect remotely for downloads or file transfers using Remote Desktop. Currently, I rely on a VPN through Hamachi for secure access. The issue is that after each session, Windows doesn’t lock the machine, so it logs me off on my main PC. This forces me to disconnect before using Remote Desktop again. I’m wondering if there’s a way to adjust the Remote Desktop settings so it locks the computer instead of logging me off.
The process for ending a remote session involves having the ability to log out or disconnect. Closing the remote desktop app differs from logging off in how it terminates the connection.
Close the RDP client (X) in the top-right corner instead of logging off. This keeps the connection open on the remote side.
It occurs when I press the 'x' button as far as I can tell, but I'll try it and check what happens—it wouldn't be surprising if I missed something.
Check available group and local rules to end a remote desktop connection after a set duration. Refer to the settings if your operating system is newer than Windows 7; Computer Configuration → Policies → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Session Time Limits.