CoNetrix Blog

How To Move WSUS Content Folders

Posted on April 27, 2009 11:10 AM

When approving new updates for WSUS recently, the server I was working on ran completely out of space on its drive were the WSUS content folders were stored and this caused WSUS to crash. There is a utility located in WSUS’s ./Tools folder named WSUSUTIL.EXE. This utility can be used for many different WSUS tasks such as copying the WSUS content folders to a new location. The syntax for this is:

wsusutil movecontent contentpath logfile

contentpath = The new root for content files. This must exist ahead of time
logfile = The path and file name of the log file to create

Despite the name of the command, this does not actually “move” the content folder. It only copies the files and redirects WSUS to begin using this new folder instead. You will still need to clean up the old path.

A full list of switches and commands can be found via TechNet: http://technet.microsoft.com/en-us/library/cc720466.aspx

 

Related Posts

Comments

Comment by Anthony Maw

June 10, 2009 12:01 PM

yes thanks that's exactly what I wanted to know! For smaller organizations, It's debatable what creates more traffic - individual computers getting a few hundred megabytes of incremental updates or WSUS downloading and caching tens of gigabytes of updates!

Comment by John

July 24, 2009 8:50 AM

what do you mean by logfile? Are you talking about the .ldf file? Or one of the logfiles that are in the folder "logfiles" under WSUS?

Comment by bcook

July 26, 2009 3:14 PM

@John - If I remember correctly... the utility creates it's own log file when it runs and the logfile parameter is where you specifiy the path and name of this new file. It's not asking for you to enter the path of an existing log file in the WSUS directory.

Comment by Jay

January 4, 2010 7:59 AM

Thx for the simple & straight forward explanation! Btw, how soon should I "clean up" the old path?

Comment by bcook

January 4, 2010 8:01 AM

@Jay - You can clean up the old path after the wsusutil command finishes running.

Add Comment





[b][/b] - [i][/i] - [u][/u]- [quote][/quote]