Enabling Remote Desktop, remotely
Let's say you're in a situation where you can't log into your XP machine because you forgot to click that checkbox. psexec to the rescue!
psexec \\machinename reg add "hklm\system\currentcontrolset\control\terminal server" /f /v fDenyTSConnections /t REG_DWORD /d 0
I shouldn't have to say that this isn't in any way supported, or that it's not going to work if you're not already an admin on the machine that has RD access, or that a firewall will get in the way, or that there may be better ways to do it using script or WMI, but I've found it useful on a couple occasions.
Comments
Anonymous
April 19, 2004
The comment has been removedAnonymous
April 19, 2004
Ah, thanks Brian. I never knew that capability existed in reg.exe.Anonymous
February 18, 2006
PingBack from http://appi101.wordpress.com/2006/02/02/enabling-remote-desktop-d/Anonymous
April 13, 2006
Ran into a situation where I needed to get remote desktop access to a machine where I hadn't previously...Anonymous
November 10, 2008
PingBack from http://www.uvm.edu/~gcd/?p=114Anonymous
January 21, 2009
PingBack from http://www.keyongtech.com/1944482-remote-desktop-sharing