If you run out of space on your Windows Server Update Services (WSUS) server then the following will allow you to move the content to another location on the same machine.
- Create a folder called WSUS on a different partiton from the current WSUS folder location. This folder must not be compressed.
- Open a command prompt and change directory to c:\program files\update services\tools and run wsusutil.exe movecontent newcontentpath logfile. This might appear as wsusutil movecontent j:\wsus j:\wsus\movewsus.log
- Wait until this completes
- Stop IIS (iisreset -stop from the command line) and stop the Update Services service.
- Download the SQL 2005 Management Studio Express.
- Install and run the Management Studio Express software and connect to the local \\.\pipe\mssql$microsoft##ssee\sql\query database (you must use this name and not the actual server name).
- Expand Databases, right-click SUSDB and choose Properties. Note down the name and path of the database files.
- Expand Databases, right-click SUSDB and choose Tasks > Detach.
- Using Windows Explorer, move the UpdateServicesDbFiles folder from the old WSUS database location to the new database location.
- Attach the database using Management Studio Express and right-click Databases > Attach. Add the database and log files that you just moved.
- Once attached start IIS (iisreset from the command line) and start the Update Services service.
- Check the event log for errors, and then you are free to delete the old folder location.
Leave a Reply