Wsus Guide
Wsus Guide
0 SP2
Operations Guide
Microsoft Corporation
Author: Anita Taylor
Editor: Theresa Haynie
Abstract
This guide describes how to manage Windows Server Update Services 3.0 SP2 (WSUS 3.0
SP2). You will find best practices and instructions for managing updates, maintaining client
computers and groups, and running reports. This guide also offers server and client
troubleshooting information.
Copyright Notice
Information in this document, including URL and other Internet Web site references, is subject to
change without notice. Unless otherwise noted, the companies, organizations, products, domain
names, e-mail addresses, logos, people, places, and events depicted in examples herein are
fictitious. No association with any real company, organization, product, domain name, e-mail
address, logo, person, place, or event is intended or should be inferred. Complying with all
applicable copyright laws is the responsibility of the user. Without limiting the rights under
copyright, no part of this document may be reproduced, stored in or introduced into a retrieval
system, or transmitted in any form or by any means (electronic, mechanical, photocopying,
recording, or otherwise), or for any purpose, without the express written permission of Microsoft
Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
© 2009 Microsoft Corporation. All rights reserved.
Microsoft, Active Directory, ActiveX, Authenticode, Excel, InfoPath, Internet Explorer, MSDN,
Outlook, Visual Studio, Win32, Windows, Windows Server, and Windows Vista are trademarks of
the Microsoft group of companies.
All other trademarks are property of their respective owners.
Contents
Windows Server Update Services 3.0 SP2 Operations Guide........................................................1
Abstract....................................................................................................................................1
Copyright Notice.............................................................................................................................2
Contents..........................................................................................................................................3
Setting Up Synchronizations.........................................................................................................12
Synchronizing Updates by Product and Classification...............................................................13
Synchronizing Updates by Language........................................................................................14
Configuring Proxy Server Settings.............................................................................................14
Configuring the Update Source.................................................................................................14
Configuring Update Storage......................................................................................................15
Synchronizing Manually or Automatically...................................................................................15
Overview of Updates.....................................................................................................................18
How WSUS Stores Updates......................................................................................................18
Managing Updates with WSUS.................................................................................................19
Update Products and Classifications.........................................................................................19
Products Updated by WSUS..................................................................................................19
Update Classifications............................................................................................................20
Creating Reports...........................................................................................................................61
Using the Reports Page.............................................................................................................62
Update Reports......................................................................................................................62
Update Status Summary View............................................................................................63
Computer Reports..................................................................................................................64
Synchronization Results Report.............................................................................................64
Printing a Report.................................................................................................................65
Exporting a Report..............................................................................................................65
Extending Reports.....................................................................................................................66
Use WSUS APIs to Create Custom Reports.......................................................................66
Use WSUS Public Views to Create Custom Reports..........................................................66
11
Software Updates
Software updates consist of two parts:
• Update files: the actual files that are installed on client computers.
• Update metadata: the information needed to perform the installation, which includes:
• Update properties: title, description, Knowledge Base article, Microsoft Security
Response Center number.
• Applicability rules: used by Automatic Updates to determine whether or not the
update is needed on a particular computer.
• Installation information: command-line options to apply when installing the updates.
The two parts of the update can be downloaded independently of each other. For example, if you
choose not to store updates locally, only update metadata (and any applicable Microsoft Software
License Terms) will be downloaded to the WSUS server; clients will get their update files directly
from Microsoft Update. On the other hand, if you are storing updates locally on the WSUS server,
you can either download everything at the time of synchronization, or download only the
metadata during the synchronization, leaving the actual update files to be downloaded after you
have approved the update.
Setting Up Synchronizations
During synchronization, your WSUS server downloads updates (update metadata and files) from
an update source. It also downloads new product classifications and categories, if any. When
your WSUS server synchronizes for the first time, it will download all of the updates you specified
when you configured synchronization options. After the first synchronization, your WSUS server
downloads only updates from the update source, as well as revisions in metadata for existing
updates and expirations to updates.
12
Note
The first time a WSUS server downloads updates may take a long time. If you are setting
up multiple WSUS servers, you can speed up the process to a certain extent by
downloading all the updates on one WSUS server and then copying the updates to the
content directories of the other WSUS servers. Update metadata must be downloaded
separately to each server during synchronization.
The Options page is the central access point in the WSUS Administration Console for
customizing how your WSUS server synchronizes updates. You can specify which updates are
synchronized automatically, where your server gets updates, connection settings, and the
synchronization schedule. You can also use the Configuration Wizard from the Options page to
configure or reconfigure your WSUS server at any time.
Note
You can remove products or classifications in the same way. Your WSUS server will stop
synchronizing new updates for the products you have cleared. However, updates that
13
were synchronized for those products before you cleared them will remain on your WSUS
server and will be listed as available. For more information about removing unused
updates, see Issues with Update Storage.
1. In the WSUS Administration Console, click Options, and then click Update Source
and Proxy Server.
2. On the Proxy Server tab, select the Use a proxy server when synchronizing
check box, and then type the server name and port number (port 80 is the default) of the
proxy server.
• If you want to connect to the proxy server with specific user credentials, select
the Use user credentials to connect to the proxy server check box, and then
enter the user name, domain, and password of the user in the corresponding boxes.
• If you want to enable basic authentication for the user connecting to the proxy
server, select the Allow basic authentication (password is sent in cleartext)
check box.
3. Click OK.
Note
Because WSUS initiates all of its network traffic, there is no need to configure Windows
Firewall on a WSUS server connected directly to Microsoft update.
14
WSUS server (the WSUS server that acts as the update source is the upstream server, and your
server is the downstream server).
Options for customizing how your WSUS server synchronizes with the update source include the
following:
• You can specify a custom port for synchronization. For information about configuring
ports, see the WSUS Deployment Guide (http://go.microsoft.com/fwlink/?LinkId=139832).
• You can use Secure Socket Layers (SSL) to secure synchronization of update
information between WSUS servers. For more information about using SSL, see Securing
Windows Server Update Services 3.0 SP2.
1. In the WSUS Administration Console, click Options, and then click Update Source
and Proxy Server.
2. On the Update Source tab, do one of the following:
• If you want your WSUS server to synchronize directly from Microsoft Update,
click Synchronize from Microsoft Update. If your server is running in replica mode,
this option is disabled. For more information, see Running WSUS 3.0 SP2 in Replica
Mode.
• If you want to synchronize from another WSUS server in your network, click
Synchronize from an upstream Windows Server Update Services server, and
then type the server name and port number in the corresponding boxes.
• If you want to use SSL when synchronizing, type the port number that the
upstream server uses for SSL connections, and then select the Use SSL when
synchronizing update information check box. For more information about using
SSL during synchronization, see Securing Windows Server Update Services 3.0
SP2.
• If your WSUS server is running in replica mode, type the server name and port
number in the Server name box. The upstream server does not have to be the
administration server (for example, it can be another replica mode server). For more
information about replica mode, see Running WSUS 3.0 SP2 in Replica Mode.
3. Click OK.
15
To synchronize your server manually
1. In the WSUS Administration Console, click Options, and then click Synchronization
Schedule.
2. Click Synchronize manually, and then click OK.
16
groups, it will appear in the listings of both groups.) If you select a computer in the list, you can
see its properties, which include general details about the computer and the status of updates for
it, such as the installation or detection status of an update for a particular computer. You can filter
the list of computers under a given computer group by status. The default shows only computers
for which updates are needed or which have had installation failures; however, you can filter the
display by any status. Click Refresh after changing the status filter.
You can also manage computer groups on the Computers page, which includes creating the
groups and assigning computers to them. For more information about managing computer
groups, see Managing the Computer Groups.
Important
You must first configure client computers to contact the WSUS server before you can
manage them from that server. Until you perform this task, your WSUS server will not
recognize your client computers and they will not be displayed in the list on the
Computers page. For more information about setting up client computers, see the
WSUS Deployment Guide (http://go.microsoft.com/fwlink/?LinkID=139832).
17
add themselves into the previously created computer groups. This process can be scripted and
deployed to many computers at once. You must specify the targeting method you will use on the
WSUS server by selecting one of the two options on the Computers section of the Options
page.
Note
If a WSUS server is running in replica mode, computer groups cannot be created on that
server. All the computer groups needed for clients of the replica server must be created
on the WSUS server that is the root of the WSUS server hierarchy. For more information
about replica mode, see Running WSUS 3.0 SP2 in Replica Mode.
For more information about server-side and client-side targeting, see the WSUS Deployment
Guide (http://go.microsoft.com/fwlink/?LinkId=139832).
Overview of Updates
Updates are used for updating or providing a full file replacement for software that is installed on
a computer. Every update that is available on Microsoft Update is made up of two components:
• Metadata: Provides information about the update. For example, metadata supplies
information for the properties of an update, thus enabling you to find out for what the update
is useful. Metadata also includes Microsoft Software License Terms. The metadata package
downloaded for an update is typically much smaller than the actual update file package.
• Update files: The actual files required to install an update on a computer.
18
through the WSUS console, and then client computers get the update files directly from Microsoft
Update at the time of installation. For more information about your options for storing updates,
see the WSUS Deployment Guide (http://go.microsoft.com/fwlink/?LinkId=139832).
19
which Windows Server 2003 is a member. You can select the products or product families for
which you want your server to synchronize updates. You can specify a product family or individual
products within the family. Selecting any product or product family will get updates for current and
future versions of the product.
Update Classifications
Update classifications represent the type of update. For any given product or product family,
updates could be available among multiple update classifications (for example, Windows XP
family Critical Updates and Security Updates). The following table lists update classifications.
20
Viewing the Updates
On the Updates page, you can do the following:
• View updates. The update overview displays updates that have been synchronized from
the update source to your WSUS server and are available for approval.
• Filter updates. In the default view you can filter updates by approval status and
installation status. The default setting is for unapproved updates that are needed by some
clients or that have had installation failures on some clients. You can change this view by
changing the approval status and installation status filters, and then clicking Refresh.
• Create new update views. In the Actions pane, click New Update View. You can filter
updates by classification, product, the group for which they have been approved, and
synchronization date. You can sort the list by clicking the appropriate column heading in the
title bar.
• Search for updates. You can search for an individual update or set of updates by title,
description, Knowledge Base article, or the Microsoft Security Response Center number for
the update.
• View details, status, and revision history for each update.
• Approve updates.
• Decline updates.
To view updates
1. In the WSUS administration console, expand the Updates node, and then click All
Updates.
2. By default, updates are displayed with their title, classification, installed/not applicable
percentage, and approval status. If you wish to display more or different update
properties, right-click the column heading bar and select the appropriate columns.
3. To sort by different criteria, such as download status, title, classification, release date,
or approval status, click the appropriate column heading.
1. In the WSUS administration console, expand the Updates node, and then click All
Updates.
2. In the center pane next to Approval, select the desired approval status, and next to
Status select the desired installation status. Click Refresh.
1. In the WSUS administration console, expand the Updates node, and then click All
Updates.
2. In the Actions pane, click New Update View.
21
3. In the Add Update View window, under Step 1: Select properties, select the
properties you need to filter the update view:
• Select Updates are in a specific classification to filter on updates belonging to
one or more update classifications.
• Select Updates are for a specific product to filter on updates for one or more
products or product families.
• Select Updates are approved for a specific group to filter on updates
approved for one or more computer groups.
• Select Updates were synchronized within a specific time period to filter on
updates synchronized at a specific time.
• Select Updates are WSUS updates to filter on WSUS updates.
4. Under Step 2: Edit the properties, click the underlined words to pick the values you
want.
5. Under Step 3: Specify a name, give your new view a name.
6. Click OK.
7. Your new view will appear in the tree view pane under Updates. It will be displayed,
like the standard views, in the center pane when you select it.
1. In the WSUS administration console, expand the Updates node, and then click All
Updates.
2. In the list of updates, click the update you want to view.
3. In the lower pane, you will see the different property sections:
• The title bar displays the title of the update; for example, Security Update for
Windows Media Player 9 (KB911565).
• The Status section displays the installation status of the update (the computers
on which it needs to be installed, computers on which it was installed with errors,
computers on which it has been installed or is not applicable, and computers that
have not reported status for the update), as well as general information (KB and
MSRC numbers release date, etc.).
• The Description section displays a brief description of the update.
• The Additional Details section displays the following information:
22
a. The installation behavior of the update (whether or not it is removable, requests a
restart, requires user input, or must be installed exclusively)
b. Whether or not the update has Microsoft Software License Terms
c. The products to which the update applies
d. The updates that supersede this update
e. The updates that are superseded by this update
f. The languages supported by the update
g. The update ID
Note
You can perform this procedure on only one update at a time. If you select multiple
updates, the first update in the list will be displayed in the Properties pane.
Note
Any computer that has the WSUS administrative console installed, whether or not it is a
WSUS server, can be used to import hotfixes from the catalog site. You must be logged
on to the computer as an administrator to import the hotfixes.
1. In the WSUS administrative console, select either the top server node or the
Updates node, and in the Actions pane click Import Updates.
2. A browser window will open at the Microsoft Update Catalog Web site.
3. In order to access the updates at this site, you must install the Microsoft Update
Catalog ActiveX control.
4. You can browse this site for Windows hotfixes and hardware drivers. When you have
found the ones you want, add them to your basket.
5. When you have finished browsing, go to the basket and click Import to import your
updates. To download the updates without importing them, clear the Import directly into
Windows Server Update Services checkbox.
23
Restricting access to hotfixes
WSUS administrators should use the following steps to restrict access to the hotfixes they have
downloaded from the Microsoft Update catalog site.
24
an update, its approval status remains Not approved, and your WSUS server allows clients to
evaluate whether or not they need the update.
If your WSUS server is running in replica mode, you will not be able to approve updates on your
WSUS server. For more information about replica mode, see Running WSUS 3.0 SP2 in Replica
Mode.
Approving Updates
You can approve the installation of updates for all the computers in your WSUS network or for
different computer groups. After approving an update, you can do one (or more) of the following:
• Apply this approval to child groups, if any.
• Set a deadline for automatic installation. When you select this option, you set specific
times and dates to install updates, overriding any settings on the client computers. In
addition, you can specify a past date for the deadline if you want to approve an update
immediately (to be installed the next time client computers contact the WSUS server).
• Remove an installed update if that update supports removal.
Important
You cannot set a deadline for automatic installation for an update if user input is required
(for example, specifying a setting relevant to the update). To determine whether an
update will require user input, look at the May request user input field in the update
properties for an update displayed on the Updates page. Also check for a message in the
Approve Updates box that says, "The selected update requires user input and does
not support an installation deadline."
Important
If there are updates to the WSUS server component, you cannot approve other updates
to client systems until the WSUS update is approved. You will see this warning message
in the Approve Updates dialog box: "There are WSUS updates that have not been
approved. You should approve the WSUS updates before approving this update." In this
case, you should click the WSUS Updates node and make sure that all of the updates in
that view have been approved before returning to the general updates.
To approve updates
25
6. You may select a deadline by right-clicking the update, selecting the appropriate
computer group, clicking the arrow next to it, and then clicking Deadline.
• You may select one of the standard deadlines (one week, two weeks, one
month), or you may click Custom to specify a date and time.
• If you want an update to be installed as soon as the client computers contact the
server, click Custom, and set a date and time to the current date and time or to one
in the past.
Note
For more information about downloading and installing updates, see Best Practices with
Windows Server Update Services 3.0 SP2.
Declining Updates
If you select this option, the update is removed from the default list of available updates and the
WSUS server will not offer the update to clients, either for evaluation or installation. You can
reach this option by selecting an update or group of updates and right-clicking or going to the
Actions pane. Declined updates will appear in the updates list only if you select Declined in the
Approval list when specifying the filter for the update list under View.
26
To decline updates
Note
Not all updates support removal. You can see whether an update supports removal by
selecting an individual update and looking at the Details pane. Under Additional
Details, you will see the Removable category. If the update cannot be removed through
WSUS, in many cases it can be removed with Add or Remove Programs from Control
Panel.
27
4. Select Approved for Removal, and then click the Remove button.
5. After the remove approval has completed, you may select a deadline by right-clicking
the update once more, selecting the appropriate computer group, and clicking the arrow
next to it. Then select Deadline.
• You may select one of the standard deadlines (one week, two weeks, one
month), or you may click Custom to select a specific date and time.
6. If you want an update to be removed as soon as the client computers contact the
server, click Custom, and set a date in the past.
1. In the WSUS administration console, click Options, and then click Automatic
Approvals.
2. In Update Rules, click New Rule.
3. In the Add Rule dialog box, under Step 1: Select properties, select whether to use
When an update is in a specific classification or When an update is in a specific
product (or both) as criteria. Optionally, select whether to Set a deadline for the
approval.
4. In Step 2: Edit the properties click the underlined properties to select the
Classifications, Products, and Computer groups for which you want automatic
approvals, as applicable. Optionally, choose the update approval deadline Day and Time.
5. In Step 3: Specify a name box, type a unique name for the rule.
6. Click OK.
Note
Automatic approval rules will not apply to updates requiring an End User License
Agreement (EULA) that has not yet been accepted on the server. If you find that applying
28
an automatic approval rule does not cause all the relevant updates to be approved, you
should approve these updates manually.
Note
A revision is a version of an update that has changed (for example, it might have expired
or have updated applicability rules).
1. In the WSUS administration console, click Options, and then click Automatic
Approvals.
2. On the Advanced tab, make sure that both Automatically approve new revisions
of approved updates and Automatically decline updates when a new revision
causes them to expire check boxes are selected.
3. Click OK.
Important
Keeping the default values for these options allows you maintain good performance on
your WSUS network. If you do not want expired updates to be declined automatically, you
should make sure to decline them manually on a periodic basis.
29
• Fixes a problem similar to that of the update that supersedes it. However, the update that
supersedes it might enhance the fix that the superseded update provides.
• Updates earlier versions of operating systems. In some cases, these versions of
operating systems are no longer updated by the superseding update.
In an individual update's detail pane, an informational icon and a message at the top indicates
that it either supersedes or is superseded by another update. In addition, you can determine
which updates supersede or are superseded by the update by looking at the Updates
superseding this update and Updates superseded by this update entries in the Additional
Details section of the Properties. An update's detail pane is displayed below the list of updates.
WSUS does not automatically decline superseded updates, and it is recommended that you do
not assume that superseded updates should be declined in favor of the new, superseding update.
Before declining a superseded update, make sure that it is no longer needed by any of your client
computers. The following are examples of scenarios in which you might need to install a
superseded update:
• If a superseding update supports only newer versions of an operating system, and some
of your client computers run earlier versions of the operating system.
• If a superseding update has more restricted applicability than the update it supersedes,
which would make it inappropriate for some client computers.
• If an update no longer supersedes a previously released update because of new
changes. It is possible that through changes at each release, an update no longer
supersedes an update it previously superseded in an earlier version. In this scenario, you will
still see a message about the superseded update, even though the update that supersedes it
has been replaced by an update that does not.
1. Check the status of the update on client computers. Note which computers show
status as Not applicable for the update, and then compare the properties of those
computers with the properties of the update.
2. Use the information available in the update properties to help you determine which
previously released versions are available. You can look under Updates superseded by
this update in the update's properties, and check the Description and KB article
number entries if appropriate.
3. Look at the properties of the superseded versions of the updates.
4. When you find a superseded update that seems appropriate for the remaining client
computers, approve the update for installation.
30
Office Update Approval
If you use WSUS to update Microsoft Office on your network computers, consider the following:
• You must use an original baseline source for Microsoft Office Administrative Install Points
(AIP) to use WSUS to update Office XP and Office 2003 on client computers. If you are
applying updates to the AIP, you cannot use WSUS. The two methods of applying updates
are mutually exclusive. If you have applied an update to an AIP and want to roll back the AIP
to an original baseline source, use the instructions found at the Microsoft Support Web site
(http://go.microsoft.com/fwlink/?LinkId=63962).
Important
Administrative Install Points are relevant only to Office XP and Office 2003. They are not
used with Office 2007.
• If you have purchased a "per user" license agreement for Office or have installed Office
per user, WSUS will not update Office.
• Users can access the public Microsoft Office Online Web site to look for updates to their
Office installation through the Microsoft Office Update wizard. Using Group Policy, you might
want to create policies that prevent users from getting their own Office updates from Microsoft
Office Online.
For more information and troubleshooting advice, see the following Knowledge Base articles.
• Office 2003 updates are offered to a user even if that user has installed those updates
when you use WSUS to deploy software updates and hotfixes to computers that are in your
organization (http://go.microsoft.com/fwlink/?LinkId=78874)
• No appropriate Microsoft Office updates are displayed when you use Microsoft Update or
Windows Server Update Services (http://go.microsoft.com/fwlink/?LinkId=78871)
• How to change the source for a client computer from an updated administrative
installation point to an Office 2003 original baseline source or Service Pack 2
(http://go.microsoft.com/fwlink/?LinkId=78872)
31
Updating Microsoft SQL Server and Microsoft
Exchange Servers that are part of a cluster
Both Microsoft SQL Server and Microsoft Exchange Server can be installed in a clustered
environment. If there is an update available for clustered servers, each server in the cluster must
be updated individually. Microsoft recommends that you update passive cluster nodes individually.
You will need to stop the cluster service for each server while you update it, and then restart the
service.
Note
You can have both a stand-alone instance and a clustered instance of SQL Server on the
same server. If you are updating a server that is running both a stand-alone instance and
a clustered instance of SQL server, both SQL Server instances will be updated if you
have specified the correct synchronization options.
32
You can create multiple test computer groups with different configurations that resemble the
computers in different departments in your organization.
33
To specify where to store downloaded update files
1. In the WSUS administrative console, click Options, and then click Update Files and
Languages.
2. Click the Update Files tab.
3. Select whether to store update files locally or on Microsoft Update. If you decide to
store update files on your server, you can also choose to download update files only
when they are approved, or to download express installation files.
4. If you decide to store the files on the WSUS server, click the Update Languages tab,
and then select whether to limit the updates downloaded to your WSUS server by
language. You should limit the languages you download if you are going to store update
files on your WSUS server.
5. Click OK.
Note
If your WSUS server is running in replica mode, you will not be able to perform this task.
For more information about replica mode, see Running WSUS 3.0 SP2 in Replica Mode.
34
To change the location of local WSUS update storage
Note
If you do not want to use WSUSutil.exe to change the location of local WSUS update
storage, you can also use NTFS functionality to add a partition to the current location of
local WSUS update storage. For more information about NTFS, see NTFS technical
documentation (http://go.microsoft.com/fwlink/?LinkId=79488).
35
Additional resources
• Migrating from Windows Internal Database to SQL Server
Scenarios
The topic presents the following scenarios:
• Migrating the Windows Internal Database database to an instance of SQL Server 2008 or
SQL Server 2005 SP2 that is running on the WSUS server
• Migrating the Windows Internal Database database to an instance of SQL Server 2008 or
SQL Server 2005 SP2 that is running on another server (remote SQL)
Warning
The procedures in this document use Registry Editor. Serious problems might occur if
you modify the registry incorrectly by using Registry Editor or by using another method.
These problems might require you to reinstall the operating system. Microsoft cannot
guarantee that these problems can be resolved. Modify the registry at your own risk.
Before you edit the registry, export the keys in the registry that you plan to edit, or back
up the whole registry. If a problem occurs, you can then restore the registry to its previous
state.
36
Migrating the WSUS Database
Use the following steps to migrate the WSUS database from a Windows Internal Database
instance to an instance of SQL Server 2008 or SQL Server 2005 SP2.
1. Install SQL Server 2008 or SQL Server 2005 SP2 with the Server and Client Tools
option on your WSUS server.
2. Click Start, point to Programs, point to Administrative Tools, and then click
Services.
3. Right-click IIS Admin Service, and then click Stop.
4. Right-click Update Services, and then click Stop.
5. Run the following SQL command to detach the WSUS database (SUSDB) from the
Windows Internal Database instance, by using the sqlcmd utility. For more information
about the sqlcmd utility, see sqlcmd Utility (http://go.microsoft.com/fwlink/?
LinkId=81183).
sqlcmd -S np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
use master
go
sp_detach_db SUSDB
go
6. In SQL Server Management Studio, under the instance node, right-click Databases,
select Properties, and then click Attach.
7. In this step, you will verify that NT AUTHORITY\NETWORK SERVICE has login
permissions to the instance of SQL Server and to the WSUS database. If it does not, you
will have to add it to both locations. This account should also be a member of the
webService role on the WSUS database.
• To verify permissions on the instance of SQL Server, in SQL Server Management
Studio, open the instance and select Security, and then Logins. The NT
AUTHORITY\NETWORK SERVICE account should be listed as a login. If it is not, it
should be added.
• To verify permissions on the database, right-click the database, select
Properties and then click Permissions. The NT AUTHORITY\NETWORK SERVICE
account should be listed as a login. If it is not, it should be added.
• To verify members of the webService role, under the WSUS database, select
Roles, right-click webService, and then select Properties. The NT
AUTHORITY\NETWORK SERVICE account should be listed as a member of this
role. If it is not, it should be added.
8. In the Attach Databases box, under Databases to attach, locate the susdb.mdf file
37
(by default, this is C:\WSUS\UpdateServicesDbFiles if you installed Windows Internal
Database), and then click OK.
9. In this step, you will edit the registry to both point WSUS to the instance of SQL
server that now holds the WSUS database and recognize the new database for future
WSUS updates. If you have not already done this, export the keys in the registry that you
plan to edit, or back up the whole registry.
a. Click Start, click Run, type regedit, and then click OK.
b. Find the following key:
HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlServerName, and
in the Value box, type [ServerName]\[InstanceName], and then click OK. If the
instance name is the default instance, type [ServerName].
c. Find the following key: HKLM\Software\Microsoft\Update
Services\Server\Setup\wYukonInstalled. In the Value box, type 0, and then click
OK.
10. Click Start, point to Programs, point to Administrative Tools, and then click
Services.
11. Right-click IIS Admin Service, and then click Start.
12. Right-click Update Services, and then click Start.
13. Verify that the database migration was successful by opening the WSUS
administrative console. (Click Start, click Administrative Tools, and then click Microsoft
Windows Server Update Services 3.0.)
Note
You might have to restart the server for these settings to take effect.
38
• Both the front-end and the back-end servers must be joined to an Active Directory
directory service domain.
Prerequisites
Front end server starting configuration:
• Windows Server 2003 Service Pack 1 or Windows Server 2008 operating system
• WSUS with Windows Internal Database
Back end server starting configuration:
• Windows Server 2003 Service Pack 1 or Windows Server 2008 operating system
• SQL Server 2008 or SQL Server 2005 SP2
To migrate the WSUS database from a Windows Internal Database instance to an instance
of SQL Server 2008 or SQL Server 2005 SP2 on a remote server
1. On the front end server: Install Microsoft SQL Server 2008 or SQL Server 2005 SP2 with
the Server and Client Tools option. This step will enable you to use the SQL Server
Enterprise Manager on the front end server.
2. On the front end server:
a. Click Start, point to Programs, point to Administrative Tools, and then click
Services.
b. Right-click IIS Admin Service, and then click Stop.
c. Right-click Update Services, and then click Stop.
3. On the front end server: Run the following SQL command to detach the WSUS database
by using the sqlcmd utility. For more information about the sqlcmd utility, see sqlcmd Utility
(http://go.microsoft.com/fwlink/?LinkId=81183).
sqlcmd -S np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
use master
go
sp_detach_db ‘SUSDB’
go
4. On the front end server: copy the SUSDB.mdf and SUSDB_log.ldf files from the front end
server to the back end server.
5. On the back end server:
a. To attach SUSDB to the destination instance of SQL server, under the instance node,
right-click Databases, select Properties, and then click Attach.
b. In the Attach Databases box, under Databases to attach, locate the susdb.mdf file
(by default this is C:\WSUS\UpdateServicesDbFiles if you installed Windows Internal
Database), and then click OK.
6. On the back end server:
39
• To verify permissions on the instance of SQL Server, in SQL Server Management
Studio, open the instance ,select Security, and then Logins. The front end server
machine account should be listed as a login. If it is not, it should be added.
• To verify permissions on the database, right-click the database, select Properties,
and then click Permissions. The front end server machine account should be listed as a
login. If the server account is not listed, it should be added.
• To verify members of the webService role, under the WSUS database, select Roles,
right-click webService, and then select Properties. The front end server machine
account should be listed as a member of this role. If the server account is not listed, it
should be added.
7. On the front end server: In this step, you will edit the registry to point WSUS to the
destination instance of SQL and to recognize the new database for future WSUS updates. If
you have not already done so, export the keys in the registry that you plan to edit, or back up
the whole registry.
a. Click Start, click Run, type regedit, and then click OK.
b. Find the following key:
HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlServerName. In the
Value data box, type [BEName]\[InstanceName], and then click OK. If the instance
name is the default instance, type [BEName].
Note
When typing [BEName], do not add the domain name before the name.
c. Find the following key: HKLM\Software\Microsoft\Update
Services\Server\Setup\wYukonInstalled. In the Value box, type 0, and then click OK.
This indicates that Windows Internal Database is not used.
d. Find the following key:
HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlInstanceIsRemote.
In the Value box, change the value to 1, and then click OK.
8. On the front end server:
a. Click Start, point to Programs, point to Administrative Tools, and then click
Services.
b. Right-click IIS Admin Service, and then click Start.
c. Right-click Update Services, and then click Start.
9. On the front end server: Verify that the database migration was successful by opening the
WSUS administrative console. (Click Start, click Administrative Tools, and then click
Microsoft Windows Server Update Services 3.0).
Note
You might have to restart the front end server in order for these settings to take
effect.
For more information about the databases that you can use with WSUS, see the following:
• In this guide, see Managing the Databases.
40
• In Deploying Microsoft Windows Server Update Services, see "Choose the Database
Used for WSUS 3.0."
• In Deploying Microsoft Windows Server Update Services, see "Appendix B:
Configure Remote SQL" for general information about how to set up WSUS by using a
remote SQL server to host the WSUS database.
Important
If you choose to remove unneeded content with the Server Cleanup Wizard, all the
private update files that you have downloaded from the Catalog Site will be removed as
well. You will need to re-import these files after running the Server Cleanup Wizard.
41
To run the Server Cleanup Wizard
1. In the WSUS administration console, select Options, and then Server Cleanup
Wizard.
2. By default this wizard will remove unneeded content and computers that have not
contacted the server for 30 days or more. Select all possible options, and then click Next.
3. The wizard will begin the cleanup process, and will present a summary of its work
when it is finished. Click Finish to complete the process.
In some cases, particularly if you run the Server Cleanup Wizard on a WSUS 3.0, WSUS 3.0 with
SP1, or WSUS 3.0 with SP2 server that has WSUS 2.0 downstream servers, you may see
discrepancies in update metadata on upstream and downstream servers. If this is the case, you
may solve your problem by running iisreset on the upstream server to refresh the Web cache.
1. In the WSUS administration console, select Options, then select Update Source
and Proxy Server.
2. On the Update Source tab, select the Synchronize from another Windows Server
Update Services server and This server is a replica of the upstream server check
boxes.
You will be able to perform only limited administration capabilities on a WSUS replica server,
which will primarily consist of:
• Adding and removing computers from computer groups
A replica server inherits the computer groups that were created on the administration server.
You must assign the replica server's client computers to the computer groups.
• Viewing available updates
• Monitoring update, synchronization, and computer status, and monitoring WSUS settings
on the server
All standard WSUS reports are available on replica mode servers.
For more information about setting up and running in replica mode, see the WSUS Deployment
Guide (http://go.microsoft.com/fwlink/?LinkId=139832).
42
Replica server synchronization
If you are setting up many replica servers to connect to a single upstream WSUS server, you
should not schedule synchronization to run at the same time on each replica server. This practice
will avoid sudden surges in bandwidth utilization.
If a replica server tries and fails to synchronize with the upstream server, it will retry the
synchronization twice at approximately fifteen-minute intervals. If both retries fail, the replica
server will run synchronization at the next scheduled time.
43
3. In the Backup or Restore Wizard, click Next.
4. Verify that Back up files and settings is selected, and then click Next.
5. Click Let me choose what to back up, and then click Next.
6. Under Items to back up, select the WSUS folder (typically %systemdrive%\WSUS\),
and then click Next.
7. Click the Browse button to choose a place to save your backup, type a name for the
backup, and then click Next.
8. If you want to set additional specifications for your backup, including whether it will be
an incremental backup, whether you want to verify the backup, set a recurring schedule
for the backup, or other options, click Advanced, and then follow the instructions in the
wizard.
9. When the wizard is finished, click Finish.
10. When the message appears that informs you that the backup is complete, click
Close.
Important
You should restore the backup file to only one WSUS server. The backed-up information
includes the Server ID, so if you restore the same backup file to two or more WSUS
servers there will be two or more WSUS servers with the same ID. If you attempt to roll
up information from downstream servers with duplicate IDs to an upstream server, you
will get information from only one of these downstream servers.
After restoring the WSUS database you must recycle the WSUS Application Pool in IIS, as
described in the next procedure. This will ensure that the restored database will sync up correctly
with IIS, through which you manage the WSUS Web site and Web services. For more information
about application pools, see IIS Help.
44
To recycle the WSUS Application Pool in IIS
1. Click Start, point to Administrative Tools, and then click Internet Information
Services (IIS) Manager.
2. In the tree view, expand the tree under the WSUS server name, and then expand
Application Pools.
3. Right-click WSUSPool, and then click Recycle.
4. Close IIS Manager.
If you store updates locally on the WSUS server, after restoring the WSUS database reset it with
the wsusutil.exe command-line utility, which ensures that every row of update metadata in the
database is matched by the corresponding update files in the local storage location. If the utility
does not find matching data, it will download the update files from Microsoft Update. For more
information about the WSUS command-line utility, see Managing WSUS 3.0 SP2 from the
Command Line.
45
(http://go.microsoft.com/fwlink/?LinkId=45154) topic offers guidance about how to deploy
IPsec in your environment.
3. Make sure that the WSUS server that downloads updates from Microsoft Update is
secured behind a firewall, and allows access only to the domains needed by WSUS. For a
description of these domains, see the WSUS Deployment Guide
(http://go.microsoft.com/fwlink/?LinkId=139832).
4. Make sure that WSUS servers have only the file and folder permissions that are needed
by WSUS. For a description of the necessary file and folder permissions, see the WSUS
Deployment Guide (http://go.microsoft.com/fwlink/?LinkId=139832).
5. If a WSUS server is Internet-facing, its database should be located on a different
computer that is not reachable from the Internet. For remote SQL Server installation
information, see the WSUS Deployment Guide (http://go.microsoft.com/fwlink/?
LinkId=139832).
6. There are two security groups that are set up for WSUS: WSUS Administrators and
WSUS Reporters. WSUS Administrators can perform any WSUS task, while WSUS
Reporters have read-only access (view server settings, get reports, and so on). Make sure
that the only people in the WSUS Administrators group are the ones who need to perform
administrative tasks.
46
6. Synchronize only the update languages needed on your network. If you need to
synchronize more than one language and you are storing updates locally, you should
estimate your needed disk space by multiplying the recommended space times the number of
update languages. For more information about recommended disk space, see the WSUS
Deployment Guide (http://go.microsoft.com/fwlink/?LinkId=139832).
7. Make sure that your WSUS server is configured to synchronize all the needed languages,
because you will not be notified of needed updates in the unsynchronized languages. These
updates will appear as “Not Needed” on clients who require the language. To help avoid that
problem, make sure to include all operating system languages in your WSUS server's
synchronization options. You can see all the operating system languages by going to the
Computers view of the WSUS administration console and sorting the computers by operating
system language. However, you may need to include more languages if there are Microsoft
applications in more than one language (for example, if Microsoft Word in French is installed
on some computers with Windows XP in English).
8. You should allow WSUS to decline expired updates automatically (click Options, click
Automatic Approvals, click the Advanced tab, and then click Automatically decline
updates when a new revision causes them to expire). If you do not wish to decline expired
updates automatically, you should decline them manually on a periodic basis.
9. You should not choose to synchronize express installation files unless you have a
pressing need to minimize downloads between the WSUS server and its clients. Typically,
using express installation files reduces downloads from WSUS servers to clients by a factor
of two but increases downloads from Microsoft Update (or an upstream server) to the WSUS
server by a factor of four. You should decide which criteria are more important to your
network: local network bandwidth or server disk space and Internet bandwidth.
Network bandwidth
The following practices will help you improve the way WSUS uses network bandwidth.
1. When deploying large updates (such as service packs), you can avoid saturating the
network by doing the following:
a. Use BITS throttling. BITS bandwidth limitations can be controlled by time of day, but
apply to all applications using BITS. For more information about BITS throttling, see
Appendix E: Configuring BITS 2.0 and 3.0 for Download Performance.
b. Use IIS throttling, which limits throttling to one or more Web services. For more
information about IIS throttling, see Appendix F: Configuring IIS for Download
Performance.
c. Use targeting to control the rollout. You can set up multiple computer groups, then
approve large service pack downloads for a subset of these groups at one time.
2. Use peer caching (available only on Windows Vista and Windows Server 2008 operating
systems) to minimize downloads from WSUS servers to clients and maximize the "sharing" of
downloads among peer computers on a subnet of the network. This will reduce network load
and in particular load on the WSUS server. For more information about peer caching, see
Appendix E: Configuring BITS 2.0 and 3.0 for Download Performance.
47
3. Consider configuring WSUS clients to synchronize more frequently from the WSUS
server and configuring downstream WSUS servers to synchronize more frequently from their
upstream servers. This will allow updates to be deployed to clients faster, which could be
important if you need to deploy an “emergency update” that must be installed as quickly as
possible. This will result in smaller downloads from server to client, but will add additional
load to the WSUS server. It will also add additional load to the network when updates are
deployed, because clients start downloading updates as soon as they synchronize with the
server.
48
automatic downloads but manual installations at a time when the servers can be restarted if
necessary.
3. Configure e-mail notification to tell you when updates become available, so you can plan
the deployment of these updates in advance.
4. If you need to deploy an “emergency update” and can’t wait for the next scheduled
installation, approve the update with a deadline in the past. This will cause the update to be
installed the next time the clients synchronize from the server. If you can’t wait for the next
synchronization, create a script to automate installing the updates and then restarting your
server. For more information about creating scripts to automate Automatic Updates tasks, see
the Windows Update Agent Software Developer's Kit (http://go.microsoft.com/fwlink/?
LinkID=43101).
5. Configure client computers or WSUS servers to immediately install updates that do not
require a restart. For information about setting up client computers for a scheduled
installation, see the WSUS Deployment Guide (http://go.microsoft.com/fwlink/?
LinkId=139832).
49
2. Check application logs frequently, if you suspect problems such as download failures or
clients that are failing to report to the WSUS server.
3. Install the WSUS MOM Pack to monitor overall service health.
Note
You can also use Windows® PowerShell® to access the WSUS 3.0 APIs from the
command line.
Tip
To see all wsusutil parameters, type wsusutil help on the command line. To see usage
for each of the parameters, type wsusutil help parameterName.
Command Description
50
Command Description
configuressl
Updates the WSUS server registry key after the IIS configuration has changed. If this command is
run with the optional parameter ServerCertificateName, it updates the certificate name. If it is run
without the optional parameter, it updates the setting for host headers, if there are any. For more
information about configuring SSL for WSUS, see the Securing WSUS with the Secure Sockets
Layer Protocol section in the Windows Server Update Services 3.0 SP2 Deployment Guide.
51
Syntax
The following command updates the host headers, if any:
wsusutil configuressl
The following command updates the server certificateName:
wsusutil configuressl ServerCertificateName//sets the server certificate name
Parameter Description
Output
The output from the wsusutil configuressl command is the address of the WSUS Web site
(including the port number), for example https://serverName:443.
healthmonitoring
This command sets and gets the different parameters for WSUS health monitoring.
Syntax
Wsusutil healthmonitoring parameterName
Note
You may set or get only one parameter at a time.
Parameter Description
52
Parameter Description
53
Parameter Description
54
Output
The output from wsusutil paramName is usually the current state of the given parameter. Some
examples are given below:
wsusutil healthmonitoring IntervalsInMinutes
Output:
Detect interval: 10 min, Refresh interval: 360 min
wsusutil healthmonitoring DiskSpaceInMegabytes
Output:
Error level: 200 MB, Warning level: 500 MB
However, with the parameters setting on or off the different health monitoring checks (for
example, wsusutil healthmonitoring CheckAcls), the output will simply be a warning that the
WSUS Service must be stopped and restarted for the change to take effect.
export
For more information about exporting and importing updates, see the Set Up a Disconnected
Network (Import and Export the Updates) section in the Windows Server Update Services 3.0
SP2 Deployment Guide.
Syntax
wsusutil export package logfile
Parameter Description
logfile The path and file name of the log file to create.
Note
Exporting from a WSUS 2.0 server to a WSUS 3.0, WSUS 3.0 SP1, or WSUS 3.0 SP2
server (or from a WSUS 3.0, WSUS 3.0 SP1, or WSUS 3.0 SP2 server to a WSUS 2.0
server) is not supported.
Import
For background and procedural information about exporting and importing updates, see the
WSUS Deployment Guide at WSUS Deployment Guide (http://go.microsoft.com/fwlink/?
LinkId=139832).
55
Syntax
wsusutil import package logfile
Parameter Description
logfile The path and file name of the log file to import.
Note
Importing from a WSUS 2.0 server to a WSUS 3.0, WSUS 3.0 SP1, or WSUS 3.0 SP2
server (or from a WSUS 3.0, WSUS 3.0 SP1, or WSUS 3.0 SP2 server to a WSUS 2.0
server) is not supported.
Movecontent
When you run this command, wsusutil does the following:
• Copies the update files from the old location to the new location. The old location is not
deleted.
• Updates the WSUS database to refer to the new location of the update files.
• Ensures that the content and metadata are synchronized. This check is always run, even
if the –skipcopy parameter is used.
The destination folder to which update files are moved must be on an NTFS partition. The utility
will not try to copy update files if they already exist in the destination folder. The destination folder
will have the same permissions that were set on the original folder.
Note
You can use xcopy, the Backup utility, or other methods to copy update files from the old
location to the new one. If you copy the files by using a method other than wsusutil, you
still need to run wsusutil to perform the second part of the move, using the -skipcopy
parameter. See the "Syntax" section for more information.
There are two scenarios in which you might move update files from one WSUS drive to another:
• If the drive is full
• If the hard disk fails
56
If the hard disk fails
If the hard disk fails, you must do the following:
1. Install the new disk on your computer, and then restore the update files from your backup
files. Note: If you have not backed up your update files, WSUSutil.exe downloads the missing
files at the end of the content move operation.
2. Run wsusutil movecontent newLocation, specifying the location for the new disk. In
addition, you specify the -skipcopy parameter, because you are either putting the files in the
new folder through the backup utility or the source folder does not exist; the update files will
be downloaded at the end of this process.
3. When the move operation is complete, all the missing files are downloaded.
Syntax
wsusutil movecontent contentpath logfile -skipcopy
Parameter Description
contentpath The new root for content files. The path must
exist.
logfile The path and file name of the log file to create.
listfrontendservers
This command lists the different front-end servers in a network load balancing configuration. It
can be useful in troubleshooting a NLB (network load balancing) configuration and after setting up
a new front-end server to make sure that it is configured properly.
deletefrontendserver
This command deletes the given front-end server.
Syntax
wsusutil deletefrontendserver serverName
Parameter Description
57
Important
This command removes the front-end server from the database only. You will need to run
wsussetup /u on the front-end server to uninstall WSUS.
checkhealth
This command checks the health of the WSUS server. The health check is configured by
wsusutil healthmonitoring). The results are written to the event logs.
Syntax
wsusutil checkhealth
reset
You use this command if you store updates locally on your WSUS server and want to ensure that
the metadata information stored in your WSUS database is accurate. With this command, you
verify that every update metadata row in the WSUS database corresponds to update files stored
in the local update file storage location on your WSUS server. If update files are missing or have
been corrupted, WSUS downloads the update files again. This command might be useful to run
after you restore your database, or as a first step when troubleshooting update approvals.
Syntax
wsusutil reset
listinactiveapprovals
If you change language options on an upstream WSUS server, the number of approved updates
on the upstream server may not match the number of approved updates on a replica server. For
example, consider the following scenario. You configure your upstream server to synchronize all
languages, then synchronize and approve 300 updates, of which 50 are non-English language
updates. Afterward, you change the language setting on the server to English only. Later, a
replica server synchronizes from the upstream server and downloads the "active" approvals,
which now are only the English language ones (replica servers synchronize only active
approvals). At this point, you will see 300 updates approved on the upstream server, but only 250
approved on the replica server. You can use listinactiveapprovals to see a list of the updates on
the parent upstream server that are permanently inactive—in this case, the 50 updates that are
not English. You do not have to run this command before running the removeinactiveapprovals
command.
Syntax
wsusutil listinactiveapprovals
58
removeinactiveapprovals
See the explanation above for a description of situations in which you might need to use
removeinactiveapprovals. You do not have to run the listinactiveapprovals command before
running this command.
Syntax
wsusutil removeinactiveapprovals
usecustomwebsite
If you set this value to true, WSUS Setup will use port 8530 for its Default Web site. If you set it to
false, WSUS will use port 80.
Important
You must use this command before you configure SSL.
Important
If you are installing SharePoint on the same machine as WSUS, the value of
usecustomwebsite should be set to true before the install.
Important
Using this command after running WSUS Setup will fail if the index of the default Web
site is set to a value other than 1.
Syntax
wsusutil usecustomwebsite true
59
• Synchronization reports. You can generate these reports by right-clicking the
synchronization in the Details pane.
In this section
Terminology for Update Status
Creating Reports
Status Description
60
Status Description
No status This usually means that since the time that the
update was synchronized to the WSUS server,
the computer has not contacted the WSUS
server.
Creating Reports
Reports enable you to monitor different aspects of the WSUS network: updates, client computers,
and downstream servers. If a WSUS server has replica servers, you can choose to roll up the
replica servers' client status to the upstream server. For information about creating a replica
server and status rollup, see the WSUS Deployment Guide (http://go.microsoft.com/fwlink/?
LinkId=139832).
You can generate different kinds of update reports from different places in the WSUS
administration console.
1. General reports on the Reports page.
61
2. Reports on specific updates: right-click the update (or go to the Actions pane) and
choose Status Report.
3. Reports on specific computers: right-click the computer (or go to the Actions pane) and
choose Status Report.
Note
Generating detailed reports for large numbers of computers and/or updates can be very
memory-intensive. Detailed reports are most effective for smaller subsets of your
computers or updates. If you need to create a very large report and are concerned about
using CPU and memory resources on the WSUS server, you may generate the report
from a remote WSUS Administration console.
Update Reports
Update reports show you the status of your updates. You can run update reports in four ways:
summary, detailed, tabular, and tabular for approved updates. You can also filter an update report
by update classification, product, target computer group, and update installation status.
The report displays information from the most recent contact between client computers and the
WSUS server. The frequency with which client computers contact the WSUS server is configured
through Group Policy. By default, this is every 22 hours. Unless you want to change the contact
frequency for your client computers, generate this report the day after you approve updates, so
that it reflects your latest approvals.
Note
You can run wuauclt /detectnow from the command prompt on computers that are
running WSUS client software (Automatic Updates) in order to start contact between the
client computer and WSUS server. This is used primarily to update status for a particular
computer. There will be a few minutes delay between running the command and seeing
the results on the WSUS server. After forcing the client to contact the server, you can get
its status with an update status report. For more information about wuauclt, see Appendix
H: The wuauclt Utility.
62
To run an update report
Updates Report tree view The tree listing all the updates in the report.
Approval Summary for Computer Group The listing of groups and approvals.
63
Computer Reports
Computer reports show you the status of computers. You can run computer reports in four ways:
summary, detailed, tabular, and tabular for approved updates. You can also filter a computer
report by update classification, product, target computer group, and update installation status.
The report has four components, which are described in the following table.
64
Components of the Synchronization Results Report
Report Options Shows the start and end dates of the period
shown in the report, as well as the date of the
report and the server for which the report was
made.
Printing a Report
You can print the report in update summary, detailed, or tabular views, depending on how you
have formatted the update status report.
To print a report
Exporting a Report
You can print a report in its original format, or you can export it to Microsoft Excel or PDF formats.
Important
Exporting a large report can be extremely time-consuming and may exceed your
computer's memory resources. If you are planning to export a report, consider limiting the
65
size of the report to 200 pages or fewer. You can use different filters to reduce the size of
the report, or you can choose the tabular format rather than the detailed format to reduce
the number of pages to export.
Extending Reports
You can customize WSUS reports in different ways:
1. Use the WSUS APIs to create a custom report
2. Use WSUS public views to create and extend custom reports
66
For more information about configuring your WSUS server to use SSL, see the WSUS
Deployment Guide (http://go.microsoft.com/fwlink/?LinkId=139832).
Health checks
The WSUS health monitoring service automatically checks the health of WSUS components as
long as WSUS server components are installed on the computer. (The service does not run on
computers where only the console or only the database is installed.) The health check service
has two cycles: detect and refresh. In the detect cycle, only changes are logged (for example, a
service was running but has stopped). In the refresh cycle, all errors and warnings are logged. By
default the detect cycle polls WSUS components every ten minutes and the refresh cycle polls
every six hours, but if you wish to run the health check at other times (for example, to verify a
configuration change to WSUS or to configure the service to run more or less often), you can use
the wsusutil utility. For instructions on running the utility, see Managing WSUS 3.0 SP2 from the
Command Line under the "healthmonitoring" section.
67
• Database: issues with connectivity and availability
• Web Services: issues with permissions and Web service health
• Clients: issues with clients not reporting, client self-update, the update agent, client
inventory, and clients' ability to install updates
1. Start the Event Viewer (click Start, click Run, and then type eventvwr).
2. In the left pane, click Application.
3. Find the events whose source is Windows Server Update Services.
WSUS logs error, warning, and informational events. Errors are problems that should be fixed
immediately (for example, that available local storage has dropped below a certain level),
warnings are notifications of situations that are tending to become problems (for example, that
WSUSService has stopped, or that synchronization has not taken place in the last 24 hours), and
informational events are notifications of situations that are probably not problems (for example,
that a service has stopped or started).
Resolving problems
In many cases the solution to an error or warning event will be obvious. For example, if disk
space is low, you would remove unneeded files. In other cases, you might need to do more
investigation before deciding on the right solution. You could read the troubleshooting sections of
this document, or search online for similar issues. If you are using the Microsoft Operations
Manager, you can also download the WSUS 3.0 (MOM) Pack.
WSUS 3.0 SP2 Server Administration Issues
WSUS 3.0 SP2 Client Computer Administration Issues
68
• Issues with E-Mail Notifications
• Issues with the Database
• Issues with WSUS 3.0 Services
69
Note that HideConsoleApp.exe may fail because of several other reasons. The
MSUSCa_timestamp.log file will give the specific reason it failed.
• Reinstalling .NET framework may solve this problem.
• Disable and then reenable the ASP.NET V2.0.50727 Web service extension through the
IIS UI. Make sure that the final status of this Web service extension is “allowed.”
70
UseCustomWebsite fails when the default Web site does not have a site ID
of 1
If the default Web site has been deleted and recreated, the default Web site will get assigned a
Web site ID other than 1 by IIS. Consequently, WSUS Setup at the default Web site will fail.
There are two ways you can work around this issue:
• Reinstall IIS in order to ensure the default Web site is created with a Web site index.
• WSUS Setup will still work if installed to port 8530. Check if the value of
usecustomwebsite value is set to on.
API compression may not be used after installing WSUS 3.0 SP2 on
Windows Server 2008
If you want to use API compression on Windows 2008 ensure that dynamic compression IIS role
service is installed. This feature is not installed in the default IIS installation on Windows Server
2008.
WSUS 3.0 SP2 setup fails to install to Windows Server 2008 when installing
to a case-sensitive SQL and the computer name is in lowercase
letters
SQL requires the computer name to be in uppercase letters. Rename the computer using all
uppercase letters.
71
the original port (80) of this WSUS server. In this case, the WSUS 3.0 port should be switched
back to 80 by using the following syntax.
WSUSUtil.exe useCustomWebsite false
Certificate Not Configured after WSUS 2.0 SP2 is Upgraded to WSUS 3.0
with Custom Web site
If WSUS 2.0 SP2 was configured to use SSL, you will need to reinstall the certificate after the
upgrade is complete by using the following syntax:
wsusutil configuressl ServerCertificateName
Source: System
Stack Trace:
72
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress
socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
You should wait at least 30 seconds before clicking Reset on the error message.
Cannot see computers having 100 percent installed state on the Computers
page when the "Installed/NotApplicable or No Status" filter is
applied
If there are locally published updates on the server, you may not see accurate status or counts for
your computer because locally published updates interfere with the filtering mechanisms.
Get error accessing WSUS 3.0 servers from the WSUS administration
console because the WWW Publishing service is configured to
allow interaction with the desktop
If you attempt to access the WSUS administration console and fail to connect to the server, you
may have gotten the following error:
The WSUS administration console was unable to connect to the WSUS Server via the remote
API.
Verify that the Update Services service, IIS, and SQL are running on the server. If the
problem persists, try restarting IIS, SQL, and the Update Services Service.
The WSUS administration console has encountered an unexpected error. This may be a
transient error; try restarting the administration console. If this error persists, try
removing the persisted preferences for the console by deleting the wsus file under
%appdata%\Microsoft\MMC\.
73
…
This error is probably due to the WWW Publishing service being configured to allow interaction
with the desktop. To solve this problem, take the following steps:
1. Open the Services snap-in (click Start, click Run, and then type services.msc).
2. Right-click the World Wide Web Publishing service and select Properties.
3. On the LogOn tab, clear the Allow service to interact with desktop check box.
4. Click OK, and then dismiss the Services snap-in.
5. From a command shell, type iisreset.
6. At this point you should be able to access the WSUS server from the console again.
This error is caused by the issue described in KB919085 (http://go.microsoft.com/fwlink/?
LinkId=86366).
Get other errors accessing WSUS 3.0 servers from the WSUS
administration console
In many cases, when you have gotten a connection error, it may be helpful to run the iisreset
command.
Note
Performing a reset causes the WSUS server to be unresponsive for up to five minutes.
74
2. Navigate to the directory that contains WSUSutil.exe. (It can be found in the Tools
subdirectory of the WSUS installation directory.)
3. Type wsusutil reset
1. Click Start, click All Programs, click Accessories, click System Tools, and then
click Disk Cleanup.
2. Select the Windows components, applications, and files that can be removed, and
then click OK.
75
To move the content directory to another drive
Note
For more information about using the WSUSUtil utility, see Managing WSUS 3.0 SP2
from the Command Line.
Before you move the SQL Server installation to another drive, you should make sure that the
WSUS administration console is not open. If you have problems with the move, make sure that
the WSUS Web services have been stopped. Occasionally, a move will fail if the clients are
communicating with the server.
Note
Consult your SQL Server documentation to find out how to detach and reattach
databases.
76
Troubleshooting synchronization
Check the error in the synchronization's Details pane
If a synchronization has failed, in the WSUS administration console, go to the Synchronizations
node, and in the middle pane select the failed synchronization. In the Synchronization Details
pane you will see Details, which links to the full error description.
77
services. To work around this type of issue, you could use a different name resolution service or
the IP address of the upstream server.
Verify that users and the network service have Read permissions to the
local update storage directory
If you store update files on your WSUS server, you need to ensure that the folder to which you
download update files (by default C:\WSUS) has at least Read permissions for the network
service and for users. This is true for both upstream and downstream WSUS servers.
On a downstream WSUS server, check that the updates are available on the
upstream WSUS server
There are a number of situations where the updates on the upstream server no longer match the
updates being requested at synchronization by the downstream server. Some of the following are
examples of when this might occur:
• An upstream WSUS server is reinstalled and the set of classifications and products the
administrator selects is smaller than the set previously selected for the earlier installation. The
downstream servers might then attempt to synchronize updates that the newly rebuilt
upstream server has not downloaded. Synchronization will fail for updates that do not exist on
the upstream server.
• A downstream server is reconfigured to get updates from a different upstream server with
different products and classifications selected.
To troubleshoot this issue, make a note of the updates for which download failed on the
downstream server. These will be visible on the Updates page, and marked with a red "X." Check
if these updates exist on the upstream server (look at the Updates page). If they do not match, do
one of the following, depending on which updates you need:
• Specify the missing updates on the upstream server, and then synchronize from the
update source.
• If the failed updates are not needed, cancel and then decline the updates that are not on
the upstream server
• If the missing updates are actually available on the upstream server, then the error is
transient, meaning the update might have been downloaded to the upstream server after it
78
was requested by the downstream server. This issue will resolve itself the next time the
downstream server synchronizes to the upstream server.
1. On the WSUS server, click Start, point to Administrative Tools, and then click
Services.
2. Right-click Background Intelligent Transfer Service, click Properties, and make
sure that Startup Type is Manual. After that click Start.
3. Right-click Windows Update Service, and then click Restart.
4. Retry synchronization: In the WSUS console, click Options, click Synchronization
Options, and then under Tasks, click Synchronize now.
You should also ensure that both the BITS and the WSUS service are set to start automatically on
reboot.
79
Troubleshooting update approvals
New approvals can take up to one minute to take effect
If you approve an update on the WSUS console and there are client computers running detection
at that exact moment, those computers might not get the approved update until they go through
another detection cycle. The WSUS server requires approximately one minute to begin offering
newly approved updates to client computers.
Note
You will need to use the sqlcmd utility. For more information about the sqlcmd utility, see
sqlcmd Utility (http://go.microsoft.com/fwlink/?LinkId=81183).
1. Verify the SQL server name by opening a Command Prompt window and typing the
following:
Reg query "HKLM\SOFTWARE\Microsoft\Update
Services\Server\Setup" /v SqlServerName
The output contains the SQL server name to be used in the next step.
81
2. Type the following:
sqlcmd -S SqlServerName -E -d SUSDB
Review any error messages and correct the problems.
If you are using Windows Internal Database as the WSUS database, use the following
string in place of SqlServerName in the command:
np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
Troubleshooting services
General service troubleshooting
You can use the following steps to restart services that are not functioning properly:
1. Locate the service (click Start, point to Administrative Tools, click Services, and then
look for the service).
2. Verify that the service is running. Click Start if it is stopped or Restart to refresh the
service.
You can also use the Event Viewer to check the Application, Security, and System event logs to
see if there are any events that indicate a problem. You should also check the
SoftwareDistribution.log to see if there are events that indicate a problem.
Reset IIS
You should reset IIS if you suspect that there are problems with Web services.
1. Open a command window.
2. Type iisreset
SQL service
The SQL service must be running for all the services except the self-update service. If any of the
log files indicate SQL connection problems, check the SQL service first. To access the SQL
service, click the Start button, point to Administrative Tools, click Services, and then look for
one of the following:
82
• MSSQLSERVER (if you are using Windows Internal Database, or if you are using SQL
Server and are using the default instance name for the instance name).
• MSSQL$WSUS (if you are using a SQL Server database and have named your database
instance "WSUS").
Right-click the service, and then click Start if the service is not running or Restart to refresh the
service if it is running.
In This Section
• Issues with Client Computer Groups
• Issues with Update Installation on Clients
• Issues with Clients Not Reporting
• Issues with Client Self-Update
• Issues with BITS
• Issues with High CPU Utilization
83
Client computers appear in the wrong groups
Using Group Policy or registry settings to move computers into target groups is called client-side
targeting. For information about how to set up client-side targeting, see the WSUS Deployment
Guide (http://go.microsoft.com/fwlink/?LinkId=139832). There are a number or reasons why
computers might not appear in groups when you are using client-side targeting. Use the following
information to try to resolve this problem.
Verify that target computer group names match groups on the WSUS
server
Make sure the name of the target computer group matches the name of the computer group on
the WSUS server. Check the Group Policy object (GPO) or the registry setting where you enabled
client-side targeting. Make sure that there are no discrepancies between the name of the
computer group used in Group Policy and the name of the group used on the server. If WSUS
cannot find a computer group on the server reported by a client computer, the computer will
appear in the Unassigned Computers group.
84
Troubleshooting Update Installation Issues
Checking DCOM Configuration
The process of checking DCOM configuration is slightly different on different operating systems.
85
the response stream when you send a POST request (http://go.microsoft.com/fwlink/?
LinkId=80715).
Note
Failure of clients to contact the server is not related to compression. Administrators
should not disable IIS compression, because allowing noncompressed data can increase
network traffic and server load, while reducing the number of clients that can be served
effectively.
Note
If you do not see the File Download window, make sure that the client self-update tree
has been configured properly. For more information, see Issues with Client Self-Update.
86
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
You should see output similar to the following if Automatic Update is functioning, but the
client has not been configured to get its updates from a WSUS server:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
If the query returns the error, "The system was unable to find the specified registry key or
value," Automatic Update has not been configured on this computer.
If the output from step 2 above contains values for WUServer and WUStatusServer, try to
contact the WSUS server listed in these values.
3. Open Internet Explorer and in the Address bar type http://WUServer
where WUServer stands for the value in the output from step 2.
You should see an "Under Construction" page if the WUServer value is valid. If it is not,
you will get an HTTP error of some kind.
SUS Client
88
WSUS Client (Windows XP)
89
WSUS Client (Windows Vista)
SetupSelfupdateTree: Finding the index of the Web site on which WUS is installed...
SetupSelfupdateTree: Finding the index of the web site bound to port 80...
SetupSelfupdateTree: szPort80RootPath=c:\inetpub\wwwroot
If you have WSUS client self-update running on port 80 of the WSUS server, see the next section.
If you have installed Windows SharePoint Services on the default Web site
in IIS, configure it to coexist with Self-update
If you install Windows SharePoint Services on the same server that is running WSUS, you might
see the following issues:
• An "Access denied" message appears when Automatic Updates tries to update itself, and
the latest Automatic Updates will not be running.
91
• A message appears warning you that the SelfUpdate service is not available.
If client computers are not running the WSUS-compatible version of Automatic Updates, they will
not be able to receive updates through WSUS.
1. On the Start menu, point to Programs, point to Administrative Tools, and then click
Internet Information Services (IIS) Manager.
2. Expand the local computer node.
3. Expand the WSUS Web site node.
4. Right-click Selfupdate, and then click Properties.
5. On the Directory Security tab, under Authentication and access control, click
Edit.
6. In the Authentication Methods dialog box, check the Enable anonymous access
check box, and then clear all the buttons below if checked. The user name and
92
password box should be pre populated.
7. Click OK twice.
If you are prompted to save or download both of these files, see the next section.
1. Click Start, then Run, and type regedit, and then click OK.
2. In Registry Editor, navigate to the WindowsUpdate key by expanding the following:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\
If the WindowsUpdate key does not exist, you need to add it.
3. On the menu, click Edit, point to New, and then click Key.
4. Type WindowsUpdate as the name for the new key.
93
5. Double-click the WUServer setting, type the URL to your WSUS server, and then
press ENTER.
If the WUServer setting does not exist, you need to add it.
On the menu, click Edit, point to New, and then click String Value.
6. Type WUServer as the setting name.
7. Double-click the WUStatusServer setting, type the URL to your WSUS server, and
then press ENTER.
If the WUStatusServer setting does not exist, do the following:
On the menu, click Edit, point to New, and then click String Value.
8. Type WUStatusServer as the setting name.
9. Navigate to the following:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\A
U
If the AU key does not exist, do the following:
On the menu, click Edit, point to New, and then click Key.
10. Type AU as the name for the new key.
11. Verify that the UseWUServer setting has a value of 1 (0x1). If it does not, modify it by
double-clicking the setting and then changing the value.
If the UseWUServer setting does not exist, do the following:
On the menu, click Edit, point to New, and then click DWORD Value.
12. Type UseWUServer for the setting name.
13. Navigate to the following:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\WindowsUp
date\Auto Update
14. Enable and configure Automatic Updates through Control Panel:
Click Start, click Control Panel, and then double-click Automatic Updates.
15. In the Automatic Updates dialog box, specify download and installation options, and
then click OK. Make sure that Turn off Automatic Updates is not selected.
16. Ensure that the AUState setting has a value of 2 (0x2). If it does not, modify it by
double-clicking and changing the value.
17. If the LastWaitTimeout setting exists, delete it.
18. If the DetectionStartTime setting exists, delete it.
19. Close the Registry Editor.
To force the WSUS client computer to check with the WSUS server
1. At the command prompt, stop the Automatic Updates service by typing the following,
and then pressing ENTER:
net stop wuauserv
94
2. At the command prompt, restart the Automatic Updates service by typing the
following, and then pressing ENTER:
net start wuauserv
3. The self-update should occur in six to ten minutes.
4. Wait approximately one minute, and then refresh the registry. You should now see the
following settings and values:
• DetectionStartTime (REG_SZ) YYYY.MM.DD HH.MM.SS. The
DetectionStartTime value is written in local time, but the detection actually occurs 5
minutes after the time noted.
• LastWaitTimeout (REG_SZ) YYYY.MM.DD HH.MM.SS. The LastWaitTimeout
value is written in GMT or Universal Time, and represents the actual time that
detection occurs.
Although these values refer to the time that detection is going to start, the first phase of detection
is the process of checking whether a self-update is necessary. Therefore, these values actually
refer to the time that the self-update from SUS client to the WSUS client should occur.
If the client software has not self-updated after ten minutes, refresh the \Auto Update registry
key. If the LastWaitTimeout value has changed and is now 24 hours later than its previous value,
that indicates that Automatic Updates was not able to contact the server URL that you specified in
the WUServer value.
You should also check the functioning of the Client Web Service. See Issues with WSUS 3.0
Services for more information.
Finding BITS
To find the BITS service, open a Command Prompt and type:
sc query bits
95
If BITS is running, you should see output like the following:
SERVICE_NAME: bits
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(STOPPABLE,NOT_PAUSABLE,ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
If BITS is not running, you should see output like the following:
SERVICE_NAME: bits
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 1 STOPPED
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
Note
To modify, stop, or restart BITS, log on as a local administrator.
96
The BITS service must run under the Local System user account
By default BITS runs under the LocalSystem account.
There is a mismatch between the BITS per-user job limit and the per-
computer job limit
To detect or correct a mismatch between the per-user job limit and the per-computer job
limit specified through Group Policy
1. Run gpedit.msc, if the policy is specified locally; if the policy is a domain policy edit
the Group Policy object with GPMC.
2. In the Group Policy Object Editor, navigate to Computer Configuration\Administrative
Templates\Network\Background Intelligent Transfer Service (BITS).
3. Ensure that the setting "Maximum number of BITS jobs for each user" is set to a
lower value than the setting "Maximum number of BITS jobs for this computer"
4. Type gpupdate /force
5. Stop and restart BITS.
6. Verify that there are no errors in the event logs.
97
Error name Error code Description
98
Error name Error code Description
99
Error name Error code Description
ERROR_SERVICE_DISABLED 0x80070 BITS has been disabled. Enable the BITS service.
422
100
HKLM\SYSTEM\CurrentControlSet\Services\BITS\
Parameters\ServiceDll= %SystemRoot
%\System32\qmgr.dll
Important
This action should only be taken in circumstances where all other troubleshooting
attempts have failed. You must be an administrator to modify the BITS configuration.
An access violation error message appears and the system may appear to become
unresponsive when you try to install an update from Windows Update or from
Microsoft Update
• There is an update for this issue described by Microsoft KB Article number 927891
101
(http://go.microsoft.com/fwlink/?LinkId=85649).
There are a large number of superseded updates approved on the WSUS server
• This problem occurs if you do not decline expired definition updates or expired
malicious software (also known as malware) updates on the WSUS server. There is an
update for this issue described by Microsoft KB article number 938947
(http://go.microsoft.com/fwlink/?LinkId=148750).
Additional references
For complete information about installing and using WSUS, see the following:
• WSUS Step by Step Installation Guide (http://go.microsoft.com/fwlink/?LinkId=139836)
• WSUS Deployment Guide (http://go.microsoft.com/fwlink/?LinkId=139832)
• WSUS Release Notes (http://go.microsoft.com/fwlink/?LinkId=139840)
• WSUS Administration Console online Help
• For information that helps you automate tasks or customize WSUS, see the Microsoft
Windows Server Update Services Software Developer's Kit (http://go.microsoft.com/fwlink/?
LinkID=43099) and Windows Update Agent Software Developer's Kit
(http://go.microsoft.com/fwlink/?LinkID=43101). Note that the Windows Update Agent is the
Automatic Updates service. Both SDKs contain information about the application
programming interface (API), as well as sample scripts and ready-to-use tools for your WSUS
deployment and implementation.
102
Appendix A: Uninstalling Windows Internal
Database
It is not usually necessary to uninstall Windows Internal Database, which WSUS installs as the
default SQL Server version. It is not possible to remove this application with Add or Remove
Programs, and it will not be uninstalled automatically when WSUS is uninstalled. If you wish to
do so, you will need to call the msiexec executable with the correct key for the operating system
platform.
Important
Uninstalling Windows Internal Database is not recommended, because it may affect other
applications that may be using the same database instance (such as Windows
SharePoint Services).
Important
The removal of the application may not remove the default .mdb and .ldb files, which will
cause a subsequent WSUS 3.0 installation to fail. These files can be deleted from the
%windir%\SYSMSI\SSEE directory.
103
you are sure that no other application or database requires the Network Service or ASP.NET
accounts, you can manually remove them from the computer running SQL Server.
For information about how to manually remove Network Service or ASP.NET accounts from a
computer running SQL Server 2005 or Windows Internal Database, see SQL Server product
documentation. You can download product documentation for SQL Server at SQL Server Books
Online (http://go.microsoft.com/fwlink/?LinkId=81092).
IIS vroots
The following virtual directories (vroots) are created in IIS (in the Default Web Site by default) for
client-to-server synchronization, server to server synchronization, reporting, and client self-
update.
104
Vroot in IIS Properties
105
Vroot in IIS Properties
Note
If you have installed WSUS on the default Web site, WebSiteID will be 1, but if you have
installed it on another Web site, WebSiteID will be a random number.
106
want to check the properties of the Reporting Web service, you use the path
W3SVC/WebSiteID/ROOT/ReportingWebService, where WebSiteID stands for the number of
the WSUS Web site.
Global properties
These global properties can be retrieved with the following adsutil command:
adsutil.vbs enum W3SVC
The properties listed below are a partial list.
Property Value
DownlevelAdminInstance (INTEGER) 1
107
Property Value
ents
AspScriptTimeout (INTEGER) 90
AspSessionTimeout (INTEGER) 20
AspCodepage (INTEGER) 0
AspProcessorThreadMax (INTEGER) 25
AspQueueConnectionTestTi (INTEGER) 3
me
PasswordChangeFlags (INTEGER) 6
AuthFlags (INTEGER) 1
109
Property Value
AspAppServiceFlags (INTEGER) 0
AspKeepSessionIDSecure (INTEGER) 0
AspExecuteInMTA (INTEGER) 0
110
Property Value
[/w3svc/1] n/a
[/w3svc/AppPools] n/a
[/w3svc/Filters] n/a
[/w3svc/Info] n/a
Property Value
ServerState (INTEGER) 2
ServerSize (INTEGER) 1
DefaultDoc (STRING)
"Default.htm,Default.asp,index.htm,iisstart.htm"
111
Property Value
Win32Error (INTEGER) 0
AppRoot (STRING)
"/LM/W3SVC/WebSiteID/ROOT/ApiRemoting30"
AppIsolated (INTEGER) 2
Path (STRING)
"<WSUSInstallDir>\WebServices\ApiRemoting30"
AuthFlags (INTEGER) 21
112
Property Value
AppRoot (STRING)
"/LM/W3SVC/WebSiteID/ROOT/ClientWebService"
AppIsolated (INTEGER) 2
Path (STRING)
"<WSUSInstallDir>\WebServices\ClientWebService"
113
Property Value
AuthFlags (INTEGER) 1
AppRoot (STRING)
"/LM/W3SVC/WebSiteID/ROOT/DssAuthWebService"
AppIsolated (INTEGER) 2
Path (STRING)
"<WSUSInstallDir>\WebServices\DssAuthWebService"
114
Property Value
AuthFlags (INTEGER) 1
AppRoot (STRING)
"/LM/W3SVC/WebSiteID/ROOT/Inventory"
AppIsolated (INTEGER) 2
Path (STRING)
"<WSUSInstallDir>\WebServices\Inventory"
115
Property Value
AuthFlags (INTEGER) 1
AppRoot (STRING)
"/LM/W3SVC/WebSiteID/ROOT/ReportingWebService"
AppIsolated (INTEGER) 2
Path (STRING)
"<WSUSInstallDir>\WebServices\ReportingWebService"
116
Property Value
AuthFlags (INTEGER) 1
Path (STRING)
"<WSUSInstallDir>\WebServices\ServerSyncWebService"
117
Property Value
AppRoot (STRING)
"/LM/W3SVC/WebSiteID/ROOT/ServerSyncWebService"
AppIsolated (INTEGER) 2
Path (STRING)
"<WSUSInstallDir>\WebServices\ServerSyncWebService"
AuthFlags (INTEGER) 1
118
Property Value
AppRoot (STRING)
"/LM/W3SVC/WebSiteID/ROOT/SimpleAuthWebService"
AppIsolated (INTEGER) 2
Path (STRING)
"<WSUSInstallDir>\WebServices\SimpleAuthWebService"
AuthFlags (INTEGER) 1
119
Property Value
120
• NT AUTHORITY\SYSTEM:(OI)(CI)F
• The self-update directory should have the following ACLs:
• BUILTIN\Users:(OI)(CI)R
• BUILTIN\Administrators:(OI)(CI)F
• NT AUTHORITY\SYSTEM:(OI)(CI)F
Throttling
Versions of BITs use the computer's network card to measure network traffic. BITS 3.0 can also
use the Internet gateway device to monitor traffic if the computer is correctly configured; see
Background Intelligent Transfer Service (http://go.microsoft.com/fwlink/?LinkId=79389) for details.
However, in some situations the network card in itself does not give an accurate measurement of
the actual state of network traffic. For example, if a computer has a fast network card but a slow
network connection (such as a dial-up connection), BITS will give an overly optimistic
measurement. It is possible to use Group Policy (in both BITS 2.0 and 3.0) to throttle or limit the
network bandwidth that BITS uses for downloads or uploads.
121
Note
BITS bandwidth limitations are system wide, not application specific. You cannot use this
setting to limit only WSUS download bandwidth, because the BITS settings will affect
BITS in any application.
1. Start the Group Policy Object Editor (click Start, click Run, and then type
gpedit.msc).
2. Expand Computer Configuration, then Administrative Templates, then Network,
then Background Intelligent Transfer Service.
3. Open the Maximum network bandwidth that BITS uses (BITS 2.0) or Maximum
network bandwidth for BITS background transfers (BITS 3.0) setting.
4. Set the transfer rate in kilobits per second that you want BITS to use (the default is
10).
5. Set the times at which you want to limit the bandwidth (the default is 8:00 A.M. to
5:00 P.M.).
6. Set the limitations to be used outside of the designated time (the default is Use all
available unused bandwidth, but you may select another limitation).
7. Click OK.
Note
You must be an administrator to perform this procedure.
Peer caching
Peer caching is a new feature of BITS 3.0 that allows peers (computers within the same subnet of
a network that have the peer caching feature enabled) to share files. If peer caching is enabled
on a computer, the Automatic Update agent instructs BITS to make downloaded files available to
that computer's peers as well.
When the files have been downloaded, BITS caches them. When another (peer caching-enabled)
computer tries to download the same update, BITS on that computer sends a multicast request to
all of that computer's peers. If one or more of the peers responds to the request, BITS will
download the file from the first computer to respond. If the download from the peer fails or take
too long, BITS continues the download from the WSUS server or Microsoft Update.
This feature of BITS can optimize the bandwidth used by WSUS in several ways.
1. Peer caching decreases the amount of data transferred from the WSUS server to its
clients, because computers in the same subnet will usually download the updates from each
other.
2. Peer caching decreases the amount of data transferred across the WAN when some or
all of the clients of a WSUS server are located in different locations.
122
3. Peer caching decreases the amount of data transferred across the Internet if WSUS
clients in the same subnet are configured to download updates from Microsoft Update.
Note
BITS peer caching requires computers to be running Windows Vista or Windows
Server 2008, and to be part of an Active Directory Domain.
For more information about peer caching and peer servers, see Peer Caching
(http://go.microsoft.com/fwlink/?LinkId=79432).
1. Start the Group Policy Object Editor (click Start, click Run, and then type
gpedit.msc).
2. Expand Computer Configuration, then Administrative Templates, then Network,
then Background Intelligent Transfer Service.
3. Enable the Allow BITS Peercaching setting.
4. Enable the Maximum network bandwidth used for Peercaching setting, and set
the maximum bandwidth in bits per second (the default is 104857), then click OK.
5. Enable the Limit the BITS Peercache size setting, and set the percentage of disk
space to be used for the peer cache (the default is 5 percent), and then click OK.
6. Enable the Limit age of items in the BITs Peercache setting, and set the number of
days (the default is 90), and then click OK.
Note
You must be an administrator to perform this procedure.
1. Open IIS Manager (click Start, click Administrative Tools, and then click Internet
Information (IIS) Manager).
2. Navigate to the Web Sites node under the local computer, right-click the node, and
then click Properties.
3. Select the Performance tab.
123
4. Under Bandwidth throttling, select Limit the total network bandwidth available
for all Web sites on this server, and then specify the maximum bandwidth in kilobytes
per second (the default is 1024). You cannot specify a bandwidth lower than 1024
kilobytes per second.
5. Click OK.
Note
You must be logged on as an administrator or have run IIS as an administrator to perform
this procedure.
1. Open IIS Manager (click Start, click Administrative Tools, and then click Internet
Information (IIS) Manager).
2. Navigate to the Web Sites node under the local computer, select the specific Web
site, right-click the node, and then click Properties.
3. Select the Performance tab.
4. Under Bandwidth throttling, select Limit the total network bandwidth available
for all Web sites on this server, and then specify the maximum bandwidth in kilobytes
per second (the default is 1024). You cannot specify a bandwidth lower than 1024
kilobytes per second.
5. Click OK.
Note
You must be logged on as an administrator or have run IIS as an administrator to perform
this procedure.
124
Result Code Result String Description
125
Result Result String Description
Code
126
Result Result String Description
Code
12
127
Result Result String Description
Code
128
Result Result String Description
Code
129
Result Result String Description
Code
130
Result Result String Description
Code
131
Result Result String Description
Code
132
Result Result String Description
Code
133
Result Result String Description
Code
134
Result Result String Description
Code
135
Result Result String Description
Code
136
Result Result String Description
Code
137
Result Result String Description
Code
07 downloaded.
138
Result Result String Description
Code
139
Result Result String Description
Code
another process.
140
Result Result String Description
Code
141
Result Result String Description
Code
001
142
Result Result String Description
Code
143
Result Result String Description
Code
144
Result Result String Description
Code
Option Description
145
The WsusDBMaintenance script (http://go.microsoft.com/fwlink/?LinkId=87027) allows you to re-
index any version of the WSUS database, either SQL Server or Windows Internal Database.
If you are using Windows Internal Database, you will need to use the sqlcmd utility. For more
information about the sqlcmd utility, see sqlcmd Utility (http://go.microsoft.com/fwlink/?
LinkId=81183).
To use this script with Windows Internal Database, you should run the following command:
sqlcmd -S np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query –i
<scriptLocation>\WsusDBMaintenance.sql
where <scriptLocation> is the directory where you have copied the WsusDBMaintenance script.
146
Return Code Return String Meaning
147