misc: enabling terminal services remotely...
this may be old stuff, but i've been too busy lately to post anything. i felt obligated to post something, anything. :) anyway, with wmic you can enable terminal services remotely in case you had forgotten to do it during a build.
from a command prompt, issue this command:
wmic /node:"servername" /user:"domain\username" rdtoggle where servername = "servername" call setallowtsconnections 1from inside wmic, issue this command:
/node:"servername" /user:"domain\username" rdtoggle where servername = "servername" call setallowtsconnections 1
- /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
Post a Comment