Welcome to the Turm on remote desktop remotely mini wiki at Scratchpad!
You can use the box below to create new pages for this mini-wiki. Make sure you type
[[Category:Turm on remote desktop remotely]] on the page before you save it to make it part of the Turm on remote desktop remotely wiki (preload can be enabled to automate this task, by clicking this link and saving that page. Afterwards, you may need to purge this page, if you still see this message).
Turn on 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.