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