Tuesday, January 1, 2008

How to move WSUS content to a different drive

If you are running out of diskspace where WSUS downloads it's content, you can move the content to a different drive / partition using the wsusutil.exe

WSUSutil.exe is a tool that you can use to manage your WSUS server from the command line. WSUSutil.exe is located in the %drive%\Program Files\Update Services\Tools folder on your WSUS server. You can run specific commands with WSUSutil.exe to perform specific functions.

Movecontent
When you run this command, WSUSutil.exe does the following:

• Copies the update files from the old location into the new location.

• Updates the WSUS database to refer to the new location of the update files.


The destination folder where update files are moved to must be on an NTFS partition. The content move tool will not try to copy update files if they already exist in the destination folder. WSUSutil.exe sets the same permissions on the destination folder that were set on the original folder.

Syntax:
wsusutil movecontent contentpath logfile -skipcopy

example: let's assume the original content was under c:\wsus\wsus content, to move this to the d: drive, you would first create a folder on the d:\ drive called wsus and then run the tool with following parameters

wsusutil movecontent d:\wsus c:\wsuslog -skipcopy

No comments: