Microsoft Windows Server Update Services 3.0 SP1 Operations Guide
Microsoft Corporation
Published: April 2007
Updated: February 2008
Author: Susan Norwood
Editor: Craig Liebendorfer
Abstract
This paper documents the major tasks involved in administering and troubleshooting Microsoft® Windows Server™ Update Services 3.0 SP1.
The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication.
This White Paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.
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.
Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.
© 2008 Microsoft Corporation. All rights reserved.
Microsoft, SQL Server, Windows, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
The names of actual companies and products mentioned herein may be the trademarks of their respective owners.
Contents
Microsoft Windows Server Update Services 3.0 SP1 Operations Guide
Administering Windows Server Update Services 3.0
Overview of Windows Server Update Services 3.0
How WSUS works
Software updates
Managing Windows Server Update Services 3.0
Setting Up Synchronizations
Synchronizing updates by product and classification
Synchronizing updates by language
Configuring proxy-server settings
Configuring the update source
Configuring update storage
Synchronizing manually or automatically
Managing the Client Computers and Computer Groups
Managing the Client Computers
Managing the Computer Groups
Managing the Updates
Overview of Updates
How WSUS stores updates
Managing updates with WSUS
Update products and classifications
Products updated by WSUS
Update classifications
Viewing the Updates
WSUS 3.0 and the Catalog Site
Importing hotfixes from the Microsoft Update catalog site
Restricting access to hotfixes
Importing updates in different languages
Approving the Updates
Approving updates
Declining updates
Unapproving updates
Approving updates for removal
Approving updates automatically
Automatically approving revisions to updates and declining expired updates
Approving superseding or superseded updates
Recommended process for approving a superseding update
Office Update Approval
SQL Server and Exchange Server Updates Approval
Updating Microsoft SQL Server instances
Updating Microsoft SQL Server and Microsoft Exchange Servers that are part of a cluster
Testing the Updates
Storing the Updates
Specifying Where to Store the Updates
Local storage considerations
About express installation files
Updates, update files, and languages
Changing the location where you store update files locally
Managing the Database
Migrating from Windows Internal Database to SQL Server 2005
Reasons to migrate the WSUS database to SQL Server2005
SQL Server2005 database requirements
Scenarios
Migrating the WSUS database from a Windows Internal Database instance to a SQL Server2005 instance running on the WSUS server
Migrating the WSUS database from a Windows Internal Database instance to a SQL Server2005 instance on a remote server
Remote SQL scenario limitations
Prerequisites
Step 1 [on FE]: Install Microsoft SQL Server2005 with "Client Tools Only" option.
Step 2 [on FE]: Stop the IIS Admin service and the Update Services service.
Step 3 [on FE]: Detach the WSUS database.
Step 4: Copy the SUSDB.mdf and SUSDB_log.ldf files from FE to BE.
Step 5 [on BE]: Attach the WSUS database to a SQL Server2005 instance.
Step 6 [on BE]: Verify that the FE machine account has login permissions to the SQL Server instance and to the WSUS database.
Step 7 [on FE]: Configure the FE computer to use the database on the BE computer.
Step 8 [on FE]: Start the IIS Admin service and the Update Services service.
Step 9: Verify that the database migration was successful.
Using the Server Cleanup Wizard
Running the Server Cleanup Wizard
Running WSUS 3.0 in Replica Mode
Replica server synchronization
Backing Up Windows Server Update Services 3.0
Best Practices with Windows Server Update Services 3.0
Best practices for security
Best practices for resource usage
Disk space
Network bandwidth
Best practices for setting up WSUS networks
Best practices for maintaining WSUS databases
Other best practices
Manage restarts
Ensure WSUS availability
Test service packs carefully
Check overall system health
Managing WSUS 3.0 from the Command Line
Using the wsusutil utility
configuressl
Syntax
Output
healthmonitoring
Syntax
Output
export
Syntax
Import
Syntax
Movecontent
If the drive is full
If the hard disk fails
Syntax
listfrontendservers
deletefrontendserver
Syntax
checkhealth
Syntax
reset
Syntax
listinactiveapprovals
Syntax
removeinactiveapprovals
Syntax
usecustomwebsite
Syntax
Reports in Windows Server Update Services 3.0
Terminology for Update Status
Creating Reports
Using the Reports page
Update reports
Update Status Summary view
Computer Status report
Synchronization Results report
Printing the report
Exporting the report
Extending reports
Use WSUS APIs to create custom reports
Use WSUS public views to create custom reports
Securing Windows Server Update Services 3.0
Troubleshooting Windows Server Update Services 3.0
Health Monitoring in WSUS 3.0
Health checks
Polling WSUS components
Viewing event logs
Resolving problems
WSUS 3.0 Server Administration Issues
Issues with Setup
Troubleshooting WSUS setup
Check for required software and hardware
Check setup logs
Check the .NET framework installation
The WSUSService service is marked for deletion
On a domain controller, the NetBiosDomainName is different from the DNS domain name
Duplicate ASP.Net entries in the IIS Web services list
There is a SUSDB database from an earlier installation
UseCustomWebsite fails when the default Web site does not have a site ID of 1
API compression may not be used after installing WSUS 3.0 SP1 on Windows Server 2008
WSUS 3.0 SP1 setup fails to install to Windows Server 2008 when installing to a case-sensitive SQL and the computer name is in lowercase letters
Issues with Upgrades
Troubleshooting WSUS upgrades
When a WSUS upgrade fails, WSUS might get uninstalled
Upgrading to WSUS 3.0 from WSUS 2.0 or SUS 1.0
Certificate is not correctly configured after WSUS 2.0 SP2 is upgraded to WSUS 3.0 with custom Web site
Issues with the WSUS 3.0 Administration Console
Troubleshooting the WSUS administration console
Cannot access the WSUS administration console and a timeout error message appears
Get an error looking at a network load balanced cluster if the "master" is unavailable
Cannot see client computers in the WSUS administration console
Cannot see computers having 100 percent installed state on the Computers page when the "Installed/NotApplicable or No Status" filter is applied
Cannot connect to remote WSUS 3.0 server in a saved MMC console
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
Get other errors accessing WSUS 3.0 servers from the WSUS administration console
Issues with Update Storage
Troubleshooting update storage
The updates listed in the WSUS administrative console do not match the updates listed in your local folder
Downloads from a WSUS server are failing
The local content directory is running out of disk space
Issues with Synchronization
Troubleshooting synchronization
Check the error in the synchronization's Details pane
Synchronization retries by downstream servers
Check proxy server settings by using the WSUS console
Check the firewall settings
Check the name of the upstream WSUS server
Verify that users and the network service have Read permissions to the local update storage directory
On a downstream WSUS server, check that the updates are available on the upstream WSUS server
Restart the BITS service
The number of updates that are approved on a parent upstream server does not match the number of approved updates on a replica server
The last catalog synchronization failed
A WSUS 2.0 replica times out when synchronizing
Issues with Update Approvals
Troubleshooting update approvals
New approvals can take up to one minute to take effect
Remote computers accessed by using Terminal Services cannot be restarted by non-administrators
The number of updates that are approved on a parent upstream server does not match the number of approved updates on a replica server
Issues with Backup and Restore
Troubleshooting backup and restore issues
Cannot access WSUS data after restoring the database
Clients have download failures after restoring the database
Issues with E-Mail Notifications
Troubleshooting the WSUS e-mail setup
Troubleshooting the SMTP server
Issues with the Database
Troubleshooting database issues
Ensure that the WSUS database is in the correct SQL instance
Issues with WSUS 3.0 Services
Troubleshooting services
General service troubleshooting
Reset IIS
SQL service
Access rights on Web service directories
IIS settings for Web services
WSUS 3.0 Client Computer Administration Issues
Issues with Client Computer Groups
Client computers appear in the wrong groups
Verify that the WSUS console is set to use client-side targeting
Verify that target computer group names match groups on the WSUS server
Reset the Automatic Update client
Issues with Update Installation on Clients
Troubleshooting update installation issues
Checking DCOM configuration
Checking the default DCOM permissions
Clients Not Reporting
Troubleshooting client not reporting issues
Check the HTTP hotfix
Troubleshoot client connectivity
Troubleshoot the Automatic Update client
Reset the Automatic Update client
Issues with Client Self-Update
Troubleshooting client self-update issues
How to differentiate between the SUS client and WSUS client
Verify that the client software in your organization can self-update
Verify that SUS clients are pointed to the WSUS server
Check for the self-update tree on the WSUS server
Check IIS logs on the WSUS Server
If you have installed Windows SharePoint Services on the default Web site in IIS, configure it to coexist with Self-update
Check if the Content and Selfupdate Web sites have different authentication levels
Check network connectivity on the WSUS client computer
Check logs on the WSUS client computer
Manipulate registry settings on the WSUS client computer
Issues with BITS
Finding BITS
Stopping and restarting BITS
Troubleshooting BITS download issues
The BITS service must run under the Local System user account
Proxy servers must support HTTP 1.1 RANGE requests
There is a mismatch between the BITS per-user job limit and the per-computer job limit
BITS jobs are failing
BITS fails to start
Repairing a corrupted BITS configuration
Issues with High CPU Utilization
Additional Resources for Windows Server Update Services 3.0
Windows Server Update Services communities
More Documentation
Appendix A: Uninstalling Windows Internal Database
Appendix B: Uninstalling WSUS 3.0 from SQL Server
Uninstalling WSUS might leave some WSUS accounts on computers running SQL Server
Appendix C: IIS Settings for Web Services
IIS vroots
Using the adsutil IIS utility
Finding Web service paths with adsutil
Checking the properties of a Web service
Global properties
Global Properties of the WWW Web site
Properties of the API Remoting Web service
Properties of the Client Web service
Properties of the Downstream Server Authentication Web service
Properties of the Inventory Collection Web service
Checking the properties of the Reporting Web service
Properties of the Selfupdate Web service
Properties of the Server Synchronization Web service
Properties of the Simple Authorization Web service
Appendix D: Permissions on WSUS Directories and Registry Keys
The cacls system command
Permissions on WSUS registry keys
Appendix E: Configuring BITS 2.0 and 3.0 for Download Performance
Throttling
Peer caching
Appendix F: Configuring IIS for Download Performance
Limiting bandwidth on all Web sites
Limiting bandwidth on a specific Web site
Appendix G: Windows Update Agent Result Codes
Windows Update Agent result codes
Appendix H: The wuauclt Utility
Command line switches for wuauclt
Appendix I: Database Maintenance
Appendix J: Setup Return Codes
Windows Server Update Services 3.0 Setup Return Codes
Microsoft Windows Server Update Services 3.0 SP1 Operations Guide
This guide describes the major tasks involved in administering and troubleshooting Windows Server Update Services.
Note
A downloadable copy of this document is available at the Download Center (
In this guide
Administering Windows Server Update Services 3.0
Troubleshooting Windows Server Update Services 3.0
Additional Resources for Windows Server Update Services 3.0
Appendix A: Uninstalling Windows Internal Database
Appendix B: Uninstalling WSUS 3.0 from SQL Server
Appendix C: IIS Settings for Web Services
Appendix D: Permissions on WSUS Directories and Registry Keys
Appendix E: Configuring BITS 2.0 and 3.0 for Download Performance
Appendix F: Configuring IIS for Download Performance
Appendix G: Windows Update Agent Result Codes
Appendix H: The wuauclt Utility
Appendix I: Database Maintenance
Administering Windows Server Update Services 3.0
This section contains background information and procedures for performing the major tasks involved in administering Windows Server Update Services 3.0.
In this guide
Overview of Windows Server Update Services 3.0
Managing Windows Server Update Services 3.0
Reports in Windows Server Update Services 3.0
Securing Windows Server Update Services 3.0
Overview of Windows Server Update Services 3.0
You can use Windows Server Update Services (WSUS) 3.0 to manage downloading software updates from Microsoft Update and distributing them to computers in your network.
How WSUS works
WSUS provides a management infrastructure consisting of the following:
Microsoft Update: the Microsoft Web site that distributes updates to Microsoft products.
Windows Server Update Services server: the server component that is installed on a computer running Microsoft® Windows®Server2003 operating system inside the corporate firewall. WSUS server software enables administrators to manage and distribute updates through an administrative console, which can be used to manage any WSUS server in any domain with which it has a trust relationship. A WSUS server can obtain updates either from Microsoft Update or from another WSUS server, but at least one WSUS server in the network must connect to Microsoft Update to get available updates. The administrator can decide how many WSUS servers should connect directly to Microsoft Update, based on network configuration, bandwidth, and security considerations. These servers can then distribute updates to other downstream WSUS servers.
Automatic Updates: the client computer component built into Windows operating systems. Automatic Updates enables both server and client computers to receive updates either from Microsoft Update or from a WSUS server.
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.
Managing Windows Server Update Services 3.0
In this section
Setting Up Synchronizations
Managing the Client Computers and Computer Groups
Managing the Updates
Running WSUS 3.0 in Replica Mode
Backing Up Windows Server Update Services 3.0
Managing WSUS 3.0 from the Command Line
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.