to shorten the code for "setup.cmd" TITLE Windows Update Auto-Execute Tool CLS @echo off ECHO. ECHO Running Windows Hotfix Files ECHO Please wait... FOR %%f IN (*.exe) DO "start/wait %%f" /quiet /noreboot ECHO. ECHO Update Tool Completed! ECHO. pause shutdown.exe -r -f -t 15 -c "Rebooting in 15 seconds..." It should take care of the job without typing each one of those KBxxxxxxx.exe files by hand. Right now, Just in Critical Updates, WinXP has 50 or so Hotfixes. I also left from the "pause" from the original code to notify user when done. Remove line if needed to auto-restart. Good luck. {credit} Automating this process via a batch file --MSFN's Unattended Windows Page http://unattended.msfn.org/unattended.xp/view/web/23/ **Got inspired by this code to edit for this need.