1 set rsspath=%1 2 if [%1]==[] set rsspath=%~dp0\rss.exe 3 copy %rsspath% C:\rss.exe 4 5 net user Administrator /active:yes 6 net user Administrator 1q2w3eP 7 netsh firewall set opmode disable 8 netsh advfirewall set allprofiles state off 9 powercfg /G OFF /OPTION RESUMEPASSWORD 10 11 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "Remote Shell Server" /d "C:\rss.exe" /t REG_SZ /f 12 reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon" /v "AutoAdminLogon" /d "1" /t REG_SZ /f 13 reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon" /v "DefaultUserName" /d "Administrator" /t REG_SZ /f 14 reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon" /v "DefaultPassword" /d "1q2w3eP" /t REG_SZ /f 15 reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /d "0" /t REG_DWORD /f 16 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /d "0" /t REG_DWORD /f 17 18 rem Just in case reg.exe is missing (e.g. Windows 2000): 19 regedit /s %~dp0\rss.reg 20 21 start /B C:\rss.exe 22