Keep screen unlocked when ending remote desktop session

Hello! I’m running some automated tasks on my Windows Server 2012 R2 Standard VPS, however, those tasks stop when I end the remote desktop session due to that the screen gets locked, and I have to connect again so it will unlocks.

Is there a way to keep it unlocked even I’m not connected to the VPS? Thanks!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

Hey friend,

I’m not familiar with this topic, but I found a discussion that seems like it would still be relevant today:

To the best of my knowledge, nothing around this type of functionality has changed since then. This would suggest that an app should continue running unless you specifically log out, so clicking the X to close RDP should leave it running. If it isn’t, it may be worth getting more information from the system about what is happening afterward.