I know how to automaticaly open a console session when a Windows host boots (recommanded way is to use an encrypted password: https://docs.microsoft.com/en-us/sysinternals/downloads/autologon).
This is usefull when a server run an ill-written program which need a GUI to be run, while it should run as services, or at least in the background.
Once the session is open, the screen can be locked and the program continue to work. An administrator can even RDP with another session (this also lock the console session). Until now I saw no exception to this.
This method lead to several problems. Some of the biggests:
- a session is wide open on the console. Anyone in front of the server has full access to this session, or anything hitting the unmonitored keybord/mouse can lead to desaster. We can mitigate this with a short screen timeout
- only one session can be opened in this way. So when we need it for 2 different and non-cohabiting programs, we are screwed
I'd like to open several non-console sessions automaticaly when the server boots. As if several remote desktop sessions where opened then disconnected. The incriminated programs can then run with a GUI in separate sessions.
--> any idea how to achieve that?