Here are two free tools to help you with WSUS server migrations: WSUS Change Upstream Server Tool & WSUS Computer Migrator.

 

WSUS Change Upstream Server

The WSUSChangeUSS utility is designed to be used in conjunction with any WSUS upstream server migration involving a URL change to the location of the upstream server. The utility connects to each downstream server and updates the upstream server URL definition.

 

There are two functions available in this utility:

1)  Export a collection of downstream
servers from a WSUS server to an XML file. The syntax for the export function is:

  WSUSChangeUSS

  /command export

  /dssxmlfile <fully qualified file path to results xml file>

  /sourcewsusname <FQDN or NetBIOS name of the wsus server>W

  [/sourcewsusport <portnumber> /sourcewsususessl < yes | no >]

 

2) Configure a collection of downstream computers specified in an XML file with the parameters of an upstream WSUS server specified in the command parameters. The syntax for the import function is:

 

WSUSChangeUSS

  /command changeconfig

  /dssxmlfile <fully qualified file path to source xml file>

  /sourcewsusname <FQDN or NetBIOS name of the wsus server>

  [/sourcewsusport <portnumber> /sourcewsususessl < yes | no >]

 

A list of the valid commands and arguments are shown below...

 

/command <export | changeconfig>

/sourcewsusname <FQDN or NetBIOS name of the wsus server>

/sourcewsusport <portnumber> (optional parameter; defaults to 80 if not specified)

/sourcewsususessl <yes | no> (optional parameter; defaults to no if not specified)

/dssxmlfile <path to xml file>

 

 

NOTE: This utility requires that the .NET 2.0 framework is installed and the WSUS 3.0 SP1 or later Console or Server is installed (WSUS API)

 

WSUS Computer Migrator

 

The WSUSComputerMigrator utility is designed to be used in conjunction with a WSUS server migration using replication when server-side targeting is used. This tool will populate the existing computers into the correct groups on a replicated server. A reference to this technique can be found here: http://technet.microsoft.com/en-use/library/cc463370(WS.10).aspx

 

There are two functions available in this utility:

 

1) Export a collection of computers and group assignments from a WSUS server to an XML file. The syntax for the export function is:

 

WSUSComputerMigrator

/command export

/xmlfile <fully qualified file path to results xml file>

/wsusname <FQDN or NetBIOS name of the wsus server>

[/wsusport <portnumber> /wsususessl < yes | no >]

 

2) Import a collection of computers and group assignments from an XML file to a WSUS server. The syntax for the import function is:

 

WSUSComputerMigrator

/command import

/xmlfile <fully qualified file path to source xml file>

/wsusname <FQDN or NetBIOS name of the wsus server>

/logfile <xmlfilename>

[/wsusport <portnumber> /wsususessl < yes | no >]

 

Here is a complete list of all valid commands and arguments:

 

/command <import | export>

/wsusname <FQDN or NetBIOS name of the wsus server>

/wsusport <portnumber> (optional parameter; defaults to 80 if not specified)

/wsususessl <yes | no> (optional parameter; defaults to no if not specified)

/xmlfile <fully qualified file path to specified  xml file of list of computers and groups>

/logfile<fully qualified file path to xml file of log results> (only valid for import command)

 

NOTE: This utility requires that the .NET 2.0 framework is installed and the WSUS 3.0 SP1 or later Console or Server is installed (WSUS API)


Want a 3rd free tool?  Check out the Free Diagnostic Tool for the WSUS Agent to help troubleshoot WSUS connection issues.