Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to connect via Remote Desktop Connection to a windows 7 machine without locking the remote computer (I want to use the same logged in user)? Or is it possible to release the lock after the remote desktop session is closed?

share|improve this question
    
    
Nice to see that MS does not provide a way to do that without a Server OS version... You can only disable blocking after getting out the session... Use a 3rd party software. –  kokbira May 31 '12 at 12:21

9 Answers 9

up vote 9 down vote accepted

Apparently there is a way to workaround without having to use third-party software.

Check out this discussion on microsoft.public.windowsxp.work_remotely.

share|improve this answer
    
I executed the command as administrator but got an error: "Could not connect sessionID 0 to sessionname console, Error code 5 Error [5]:Access is denied." Did you manage to make it work on windows 7? –  yossis Dec 8 '09 at 21:58
    
Hmm, I will check later in Windows 7 when I have the chance, only on XP right now :) –  SjoerdV Dec 9 '09 at 8:19
7  
I managed to make it work by trying different session numbers. The session number is different every time I use remote desktop. So I wrote a small script to try out 10 session numbers: for %%i in (0 1 2 3 4 5 6 7 8 9) do ( tscon %%i /dest:console ) It should be executed as administrator. –  yossis Dec 9 '09 at 20:44
    
@yossis That's one approach. A better one is to use the environment variable which is set up for this purpose... %sessionname%. You should be able to set the shortcut to %windir%\System32\tscon.exe %sessionname% /dest:console which works fine for me –  Basic Apr 23 at 14:19

Just run this (no session script needed):

tscon %sessionname% /dest:console
share|improve this answer
    
Get the error Sessionname %sessionname% not found, any ideas? Guess it is not defined under Windows 8 –  phil Oct 27 '13 at 11:06
    
Not sure about Windows 8, this worked for Windows 7. –  Ryan Oct 28 '13 at 18:56
    
@phil I got that 'error' from his ans on 7 too. Apparently social.technet.microsoft.com/Forums/windows/en-US/… For XP: tscon 0 /dest:console For 7: tscon 1 /dest:console <-- run on the remote machine. BUT.. this is just so that when the client(mstsc.exe) computer disconnects from the comp it is viewing, then it won't lock. So you disconnect by running that command on the comp you are viewing. But that method won't stop it locking the screen when you log in. –  barlop Jun 6 at 9:26

As far as I know, it's not possible to prevent Remote Desktop Connection from locking the computer, but Ultra VNC allows you to remote control another machine without locking it.

share|improve this answer
3  
Ultra VNC is much slower which prevents me from using it –  yossis Dec 8 '09 at 21:46

Take a look at remote assistance. It basically uses the same remote desktop technology under the hood.

You go into the help and support area and create a remote assistance request you can send to the person you want to remote at the same time.

Alternatively you could use Logmein.com and install LogmeinFree which enables you to remote control a users pc at the same time they;re using it.

share|improve this answer
2  
Remote assistance requires renewing the ticket, no? –  yossis Dec 8 '09 at 21:47

As an alternative you can use Gbridge: "Gbridge is a free software that lets you remotely control PCs, sync folders, share files, and chat securely and easily. An extention of Google's gtalk service, Gbridge automatically forms a collaborative, encrypted VPN (Virtual Private Network) that connects your computers and your friends' computers directly and securely. Gbridge has many unique features." http://www.gbridge.com/

share|improve this answer

You can use this PowerShell script, which also supports Windows 8:

$server   = 'MyServer'
$username = $env:USERNAME

$session = ((quser /server:$server | ? { $_ -match $username }) -split ' +')[2]

tscon $session /dest:console
share|improve this answer

It can't be done with RDC itself, you'll need to use a third party tool like TeamViewer. You technically can use remote assistance, but once you're out of requests you can't do anything.

share|improve this answer
    
TeamViewer looks like a nice app, but I just tested it and it's not completely free and much slower than remote desktop (even when used in a LAN) –  yossis Dec 8 '09 at 22:35

Honestly, I would just use RealVNC, I feel its the best remote desktop tool out there. Its very fast, dont get any of the lag with UltraVNC. RealVNC is also excellent when remoting in your computer from outside your house.

share|improve this answer
2  
As much as I'd like to recommend RealVNC (or any VNC for that matter), I can't (despite having been a very early user of it). RD connections feel much more responsive, especially over bandwidth constrained links. –  Brian Knoblauch Dec 8 '09 at 16:19
    
This was my experience also. Remote desktop is much faster, and I yet to find other alternatives (in terms of performance) –  yossis Dec 8 '09 at 21:50

Mentioned in another answer, but LogMeIn.com has a free version, and allows you to share the connection with the local user or blank the screen. I have found the response time fairly decent over slower connections, but the graphics quality goes down when speed does.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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