TheTAZZone - Internet Chaos

enable RDP on a remote workstation

ORIGINALLY POSTED BY TALEN FOR THETAZZONE/TAZFORUM HERE

Do not use, republish, in whole or in part, without the consent of the Author. TheTAZZone policy is that Authors retain the rights to the work they submit and/or post…we do not sell, publish, transmit, or have the right to give permission for such…TheTAZZone merely retains the right to use, retain, and publish submitted work within it’s Network

Please refer to the original post as not all the script may be visible here.

Here’s a pair of commands that will enable RDP on a remote workstation. The caveat is you have to run PowerShell.exe using your administrative credentials. You can use the –credential option on the first command, but not on the second (which is a drag).

Code: Select all
$Terminal = Get-WMIObject Win32_TerminalServiceSetting -computer <computerName>
$Terminal.SetAllowTSConnections(1)

This only works for Windows XP (and 2000), not for Vista. Which isn’t to say you can’t do the same for Vista, but since the security on RDP 6.0 is different, it’s a little more involved. I’ll dig it up and post it sometime…

Leave a Reply

Your email address will not be published. Required fields are marked *

Advertise

If you'd like to advertise on The Mutt ( aka TheTAZZone.com ) feel free to contact us at: administration[at]thetazzone.com

TheTAZZone is a non-commercial entity. We do not sell any products or services ourselves. Our revenue comes from advertising and donations only.

We appreciate your support! Your advertising revenue ( or donations ) helps us to continue to upgrade, improve, and offset the costs of maintaining this site.

Donations can be made through the page ' Donate '.