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

Share on Google Plus

About Vittorio Pavesi

    Blogger Comment
    Facebook Comment

1 comments:

Anonymous said...

It's very, very powerfull. ;-)