Force the update detection from Automatic Update Client

When deploying a new Windows XP installation your first task is installing the countless Windows updates.
When you wait for Windows XP to check for updates you’ll need a lot of time. To accelerate this process just run the following batch file.

@echo on
net stop wuauserv
REG DELETE “HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update” /v LastWaitTimeout /f
REG DELETE “HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update” /v DetectionStartTime /f
Reg Delete “HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update” /v NextDetectionTime /f
net start wuauserv
wuauclt /detectnow
@echo off
Echo This AU client will now check for updates on the Local WSUS Server.

Posted in Batch files, Microsoft and tagged , , .

Leave a Reply