I can't seem to get this to work the way I want it to.
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
C:\Windows\system32\wuauclt.exe /detectnow
C:\Windows\system32\wuauclt.exe /updatenow
And even though is says there are no updates available for your computer if I click "Check online for updates from Windows Update" (which is the one I want" it finds updates. Those are the updates I want to install. Is there a way to do this through a bat file?
Batch File to Update Windows
Moderator: DosItHelp