Enable Remote Desktop Remotely

Enable Remote Desktop

wmic /node:”computername.domain.local” /USER:”DOMAINuser” RDTOGGLE WHERE ServerName=”computername” CALL SetAllowTSConnections 1

Disable Remote Desktop

wmic /node:”computername.domain.local” /USER:”DOMAINuser” RDTOGGLE WHERE ServerName=”computername” CALL SetAllowTSConnections 0

Source

http://msgoodies.blogspot.com/2005/02/enable-remote-desktop-connections_08.html

Leave a Reply