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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.