We help IT Professionals succeed at work.

How can I force my computers to download the Windows updates from my WSus

Medium Priority
Last Modified: 2008-05-31
How can I force my computers to download the Windows updates from my WSus and no to wait to the schedule day
Watch Question

do you have domain setup? setup a domain policy which will point your WSUS server for updates
Site Reliability Engineer
Most Valuable Expert 2011
So you want to force a workstation to connect to the WSUS server when you trigger it to update? In this case, the information above is simply the standard way of setting it up through Group Policy, which only checks every 22 hours or something like that.

Run the command     wuauclt /detectnow     from the Run box or a command prompt window. That will go off and check for updates and install them according to your settings (or prompt to install). It may take a few minutes before you see it downloaded them as it may take time to scan the PC.

If that method doesn't work for whatever reason, the below script does a little more work which may do it instead. Again, it does the same as above and may take several minutes to appear.

Copy the file below into Notepad and save the file as a batch file (not a text file) with a .BAT extension. Run by double-clicking it in the location you saved it.

@echo off
Echo This batch file will Force the Update Detection from the AU client:
Echo 1. Stops the Automatic Updates Service (wuauserv)
Echo 2. Deletes the LastWaitTimeout registry key (if it exists)
Echo 3. Deletes the DetectionStartTime registry key (if it exists)
Echo 4. Deletes the NextDetectionTime registry key (if it exists)
Echo 5. Restart the Automatic Updates Service (wuauserv)
Echo 6. Force the detection
@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 the Updates on the Local WSUS Server.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


thanks a lot

I type the command and I am goig to check what appends

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.