WSUSutil.exe what is it ?

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, as summarized in the following table. The syntax you would use to run WSUSutil.exe with specific commands follows the table.

Summary of Commands You Can Use with WSUSutil

Command

What it enables you to do

When you might use it

export The first of the two parts that make up the export / import process.The export command enables you to export update metadata to an export package file. You cannot use this parameter to export update files, update approvals, or server settings.
  • On an ongoing basis, if you are running a network with limited or restricted Internet connectivity
import The second of the two parts that make up the export/import process.The import command imports update metadata to a server from an export package file created on another WSUS server. This synchronizes the destination WSUS server without using a network connection.
  • On an ongoing basis, if you are running a network with limited or restricted connectivity
migratesus This command migrates update approvals from a SUS 1.0 server to a WSUS server.
  • If you are upgrading your implementation SUS 1.0 to WSUS.
movecontent Changes the file system location where the WSUS server stores update files, and optionally copies any update files from the old location to the new location
  • Hard drive is full
  • Disk fails
reset Checks that every update metadata row in the database has corresponding update files stored in the file system. If update files are missing or have been corrupted, WSUS downloads the update files again.
  • After restoring the WSUS database.
  • When troubleshooting
deleteunneededrevisions Purges the update metadata for unnecessary update revisions from the database.
  • To free up space when an MSDE is full
listinactiveapprovals Returns a list of update titles with approvals that are in a permanently inactive state because of a change in server language settings.
  • When you change language settings on an upstream server (that is the parent to a replica server) and want to see which updates are no longer active because they are not in the new languages you have specified. You can run this command if you want to see a list of inactive approvals (for example, to help you decide if you want to remove the inactive approvals). You do not have to run this command before running the removeinactiveapprovals command.
removeinactiveapprovals Removes approvals for updates that are in a permanently inactive state because of a change in WSUS server language settings.
  • When you change language settings on an upstream server (that is the parent to a replica server) and want to remove updates that are no longer active because they are not in the new languages you have specified. This would fix the resulting mismatch in the number of updates displayed on the parent and replica servers in this scenario. You do not have to run the listinactiveapprovals command before running this command.  

 

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>