@echo off rem --- Disable UAC --- echo Disabling UAC... reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLUA /t REG_DWORD /d 0 /f echo UAC has been disabled. Please reboot for changes to take effect. pause rem --- Add task to Task Scheduler to run wnrr.bat after reboot --- echo Adding task to Task Scheduler to run wnrr.bat after reboot... schtasks /create /tn "RunWinRARBat" /tr "C:\wnrr.bat" /sc onstart /rl highest /f pause rem --- Reboot the computer --- echo Rebooting the computer... shutdown /r /t 0