• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2721
  • Last Modified:

WSUS Content Rebuild

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.
  • 4
2 Solutions
Donald StewartNetwork AdministratorCommented:
Have you tried

Wsusutil.exe reset
Homz_AusAuthor Commented:
Trying it now.  Thank you.  Although the Server is running incredibly slow.  I guess it might take sometime!
Homz_AusAuthor Commented:
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?
Homz_AusAuthor Commented:
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.
Homz_AusAuthor Commented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now