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…

By admin

Former Freehand Freelance Graphic Illustrator... been online since 2004 ( late starter ), blogging since 2005, presently writing a suspense-thriller e-book that began as a screenplay.

Leave a Reply

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