Remote Access (RDP)
From KlavoWiki
Use the following commands for the associated viewing / enabling / disabling of Terminal Settings.
1 = Terminal Services Disabled (remote access disabled)
0 = Terminal Services Enabled (remote access enabled)
To view the current status:
cscript c:\windows\system32\scregedit.wsf /AR /v
To enabled Terminal Services and have the ability to use RDP to the server.
cscript c:\windows\system32\scregedit.wsf /AR 0
To disable Terminal Services and not have the ability to use RDP to the server.
cscript c:\windows\system32\scregedit.wsf /AR 0