1-703-230-2300 — email@example.com
Script changes registry key to enable remote desktop. Script then writes to script log if successful. Script only works on Vista, Windows 7, 2008.
Script downloads vbs file which uses the WMI to enable remote desktop. Any errors are writen to agent procedure log.
Checks registry if RDP is disabled. Reports RDP status and port number (if applicable) to procedure log. Can report using $rdpstatus$. Can send to custom field by editing and enabling the last line of script.