WSUS (Windows Server Update Services) can quickly fill a drive. Here are three ways to fix low disk space: run the Server Cleanup Wizard, move the content directory, and move the SUSDB database to another drive.
1. Run the WSUS Server Cleanup Wizard
- In the WSUS administration console, select Options → Server Cleanup Wizard.
- By default it removes unneeded content and computers that haven’t contacted the server in 30 days or more. Select all options and click Next.
- When it finishes, review the summary and click Finish.
2. Move the WSUS Content Directory
- Create a new content folder on another drive.
- Open a Command Prompt and go to the WSUS Tools folder, typically
C:\Program Files\Update Services\Tools. - Run the command below, where NewContentPath is the new folder and MoveLog is the path and file name for the log.
wsusutil movecontent NewContentPath MoveLog
For more on WSUSUtil, see “Managing WSUS 3.0 from the Command Line” in the WSUS Operations Guide.
3. Move the SUSDB Database
- Open a Command Prompt and stop the WSUS service:
net stop wsusservice - Detach the SUSDB database.
- Copy
SUSDB.mdfandSUSDB_log.ldfto the new location. - Attach SUSDB from the new location.
- Start the service again:
net start wsusservice - Once everything is working, delete the old
SUSDB.mdfandSUSDB_log.ldf.
