WSUS Content Rebuild

Posted on 2012-08-29
Last Modified: 2012-09-09
Hi all

A while back someone decom'd the drive on one of our WSUS downstream servers that holds the WSUS Content Directories.

After some months I was asked to take a look and reprovisioned the drive, directory and permissions and the current outstanding patches downloaded from the upstream server.  Catch is I am still getting many client download failures and this is because the patches that were downloaded from the upstream server before the drive was removed are of course missing now.

The patch file location is correctly mapped as per the upstream, it just isn't there now.

Is there a command to redownload the CAB files and content or do I have to do manual copy from the upstream server to the downstream server or (at very last resort) reinstall WSUS.

Thank you.

EDIT:  I'm testing the manual copy process since the database location is correct, hopefully it is just a need to copy the files.
Question by:Homz_Aus
    LVL 47

    Accepted Solution

    Have you tried

    Wsusutil.exe reset

    Author Comment

    Trying it now.  Thank you.  Although the Server is running incredibly slow.  I guess it might take sometime!

    Author Comment

    So I've issued the command and the database is now consuming a whole lot of CPU and all of the disk queues and the disk transfer stats are going off the chart.  1 day and a reboot later and it is still chugging along but I assume it is doing *something* because of the disk usage in PerfMon.

    I know this will be the first time anyone has done this sort of maintenance could it take a days to sort itself out after running the reset command?

    Assisted Solution

    Wow, after a few weeks I have got to the bottom of this.

    The answer to my issue was the wsusutil reset command but this killed my server with SQLSERVER causing high CPU and massive disk activity.  As suspected, previous owners had not done any maintenance on the Database.

    Fix for this was the wsusdbmaintenance.sql script which took almost 7 hours to run.  Once complete, the wsusutil reset command started to function.

    You must do the wsusdbmaintenance.sql regularly.

    Thanks for the help.

    Author Closing Comment

    wsusutil reset was the fix to the asked question but didn't work due to the SQL framentation issues fixed with DB Maintenance.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Back in July, I blogged about how Microsoft's new server pricing model, combined with the end of the Small Business Server package, would result in significant cost increases for many small businesses (see SBS End of Life: Microsoft Punishes Small B…
    I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    729 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

    24 Experts available now in Live!

    Get 1:1 Help Now