Enable Remote Desktop remotely


How many times have you went back to your Desk or home after installing a brand new Windows 2003 Server just to find that you forgot to enable Remote Desktop Connections? Jim McBee has found the registry key to remotely enable this:

HKLM\System\CCS\Control\Terminal Server\fDenyTSConnection = 0

The change doesn't take effect instantly, but within a minute or so, Remote Desktop will be accessible.

You can also do it using WMI:
wmic /node:"Computer name (Fully Qualified)" /USER:"username" RDTOGGLE WHERE SErverName="Computer Name" CALL SetAllowTSConnections 1

Tags:

About author

Vittorio Pavesi

1 comments

  1. Anonymous
    11:19 AM

    It's very, very powerfull. ;-)

Post a Comment