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


This was added in W2k3 SP1 and works against XP machines but has to be run from a W2k3 SP1 machine. I have not figured out how to add this ability to my XP workstation.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • easier way
    2006-05-25 18:14:45  dwarfsoft [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.
  • easier way
    2006-04-24 11:46:11  gwojan [View]

    From Windows XP SP2 try:

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

    --Greg