3

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?

  • not sure of question but "logging off" is not the same as "disconnecting" from a rdp session. Please clarify question. If you disconnect you can logon into the same session. Also, you can only have one session active at one time with Win7/8. So logging on with different use accounts will auto logoff. – Logman Mar 30 '14 at 14:49
  • try dameware, it runs as a service allowing you access without logging into the OS. You will see the same screen on the desktop, while dameware-ing in from the tablet. If you are logged in when you disconnect the tablet, you will stay logged in on the desktop. – Knuckle-Dragger Mar 30 '14 at 16:24
  • @Logman Edited the answer. By "log off", I ment disconnecting from session as described in use case scenario in second paragraph. See edited answer. – Srneczek Mar 31 '14 at 15:45
  • @Knuckle-Dragger gonna give it a try, thanks – Srneczek Mar 31 '14 at 15:45
  • 2
    @MaQleod for example turn some media player on, play video, disconnect and keep that video playing. – Srneczek Mar 31 '14 at 16:13
6

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:

  • Don't understand the downvotes either, I had the exact same problem and your answer solved it. Thanks. – Zitrax Jun 29 '15 at 8:28
  • @Zitrax I am trying this solution for a virtual Windows Server 2012 and it seems that I am getting something wrong as my GUI application does not work properly. Are there any tricks or subtle points? – Vesnog Jun 6 '18 at 22:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.