| Article: |
Windows Server Hacks: Remotely Enable Remote Desktop | |
| Subject: | easier way | |
| Date: | 2005-12-07 15:37:52 | |
| From: | cking2 | |
|
wmic /node:"Computer Name (FQDN)" RDTOGGLE WHERE ServerName="Computer Name" CALL SetAllowTSConnections 1
|
||
Showing messages 1 through 2 of 2.
-
easier way
2006-05-25 18:14:45 dwarfsoft [Reply | View]
For WMIC calls from Windows XP you need the /locale: switch. Windows 2003 defaults /locale to whatever you have installed with (default ms_409).
I haven't tried toggling this from Windows XP though, and I know there are some commands that will not work from a Windows XP machine, though these have so far been due to restrictions of login details. Using /user: and /password: does not necessarily grant enough permission to shutdown a machine while logged on with low privelages.




/node:"HOSTNAME" path win32_terminalservicesetting where servername="HOSTNAME" call SetAllowTSConnections 1
--Greg