Workarounds and solutions to various tech related issues encountered from day to day. Plus, a little of this and a little of that on the side for variety.

Thursday, October 11, 2007

Remote Enable RDP

By default Windows XP installs with remote desktop functionality disabled as a "security precaution". I needed to enable RDP on the machines in the lab, without going through the hassle of check boxes and right-clicks. Here is the command line to do so remotely (running command line as administrator as usual):

REG ADD \\machine_name"\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 00000000 /f

I think I threw this into a batch file copying and pasting once for each machine. I probably could have set something up where the machine name was a variable and incremented itself in a while loop...but not all of our machine names are consistent. Yay done.

Labels: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home