Windows – Stay logged in while RDP session is over

remote controlremote desktopwindowswindows 8windows 8.1

I wasn't able to find answer to my question. Is it possible to use RDP protocol (I am using Windows 8.1) and once I finish with remote control and disconnect from session, last logged user would stay logged in or he would log in automaticly?

I am using teamviewer to remotly controll my PC, even from my bed, but it transfers image data, which makes it slow and in many cases unusable for me (it also has other disadvantages for me but it's not important for my question). I tryed application with RDP protocol on my tablet which works just fine, only bad thing is, that once I disconnect from the session, pc which is beeing controlled is stucked on user login screen, therefore it is unusable for me.

Any ideas?

Best Answer

I found a solution and it is really simple as expected. There is a command which disconnects you from remote session and reconnects that session to the remote computer's console. In human language: it closes your RDP session and "route" it to the console of the logged user so the user stays "connected" and there's no need to manually fill the password again. For the info., in RDP settings there is no option for this behaviour. At least not in gpedit.msc.

The "mojo" command:

tscon [SessionID] /dest:console

SessionID can be obtained with this command:

qwinsta

And some links:

Related Question