:: make the startup script run on startup copy .\startup.cmd "%AppData%\Microsoft\Windows\Start Menu\Programs\Startup\" :: disable sleep powercfg.exe /hibernate off :: disable updates sc config wuauserv start= disabled sc stop wuauserv