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

Posted on 2007-07-19
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
Question by:jmsienrique
    LVL 10

    Expert Comment

    do you have domain setup? setup a domain policy which will point your WSUS server for updates
    LVL 10

    Expert Comment

    LVL 58

    Accepted Solution

    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.

    Author Comment

    thanks a lot

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


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
    Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now