Hello!
I want to know if it possible to disable the annoying login screen in the computer after remote desktop session.
I have netplwiz with automatically logins after boot and I know the trick tscon.exe 0 /dest:console and it works, but I use remote desktop to connect to my pc from a windows tablet, and it's a pain type the command in the cmd every time I need to disconnect.
Is there any other tweak for this like registry fix or something?
Thank you so much!
Simple create a batch file and save it on remote host: put this command in the batch file if the remote host is Windows 10, change the session ID 1 to 0 if it's a legacy Windows:
Code:
tscon.exe 1 /dest:console
Because the tscon.exe needs to be run elevated (as administrator), create an elevated shortcut for your batch file and place the shortcut on desktop of the host. Now when you want to disconnect the session and unlock the remote host restoring the local user's desktop, simply double click / tap the shortcut.
Check this tutorial at our sister site the Seven blog for creating an elevated shortcut: Elevated Program Shortcut - Create for Standard User - Windows 7 Help blog
Kari