Tuesday, April 18, 2006
Remotely Enable TS via WMIC
Props to Marcus Oh for this one - too cool to not repost... (and so I can find it more easily when I need it!)
(mind the wrap)
/node: indicates the remote server name
/user: indicates who to grant access to
setallowtsconnections: indicates to enable terminal services. 1 enables it. 0 disables it.
wmic /node:"servername" /user:"domain\username" rdtoggle where servername = "servername" call setallowtsconnections 1
(mind the wrap)
/node: indicates the remote server name
/user: indicates who to grant access to
setallowtsconnections: indicates to enable terminal services. 1 enables it. 0 disables it.
Comments:
<< Home
Nobody's put any comments on this blog yet. Well, I'll have to fix that!
I'm some random person from Randomville, USA, and I think your blog is awesome!
Most. useful. blog. ever.
:-)
Post a Comment
I'm some random person from Randomville, USA, and I think your blog is awesome!
Most. useful. blog. ever.
:-)
<< Home