Hey guys, our WSUS server recently ran out of space on the drive where the updates repository sits and I decided to just add a new drive to the server as it was a VM. After creating and adding the drive I then had to move the WSUS content onto the new drive.
Luckily WSUS comes with it’s own utility to help you move the data onto a new drive. It’s called WSUSutil.exe and you can run it from the command prompt by going to the below location:
%drive%\Program Files\Update Services\Tools>
Below is the tools syntax when running it from the command line:
wsusutil movecontent contentpath logfile -skipcopy [/?]
After trying to run the command (wsusutil movecontent F:\WSUS\Updates F:\) I ran into some issues, I kept getting the below error:
Fatal Error: Unable to access the log path because of the following error: Access to the path ‘F:\’ is denied
Now while the command looks correct from a syntax point of view, however, if you read the definition of the parameters on the MS Technet site (http://technet.microsoft.com/en-us/library/cc720466%28WS.10%29.aspx) it states the below:
The path and file name of the log file to create.
Since I wasn’t giving the file name, it wasn’t allow the utility to create the log file. There was something else that I picked up during my search though, you need to give the NT AUTHORITY\NETWORK SERVICE account full access on the root of the drive in order for the utility to start with the copy.
Other than that, the move went quite quick and copied about 30 GB’s worth of data in around an hour which was impressive. Hope this helps some of you overcome the same issue’s I picked up.