Security Compliance
Unable to publish packages from Patch Manager to the WSUS server
This article describes how to troubleshoot an issue with publishing packages from Patch Manager to the WSUS server.
First published date
Last published date
Overview
When you publish packages from Patch Manager to the WSUS server, the process fails and the Patch Manager Publishing Wizard returns the following error message:
Message: Failed to publish packageName. Publishing operation failed because the console and remote server versions do not match.
Product section
Cause
Microsoft® Windows Server® Update Services (WSUS) requires all components in the WSUS publishing to be identical. If they are not identical, the Patch Manager Publishing Wizard return an error message.
For example, if the WSUS server API is at version 6.2, the remaining WSUS servers (including any Patch Manager Automation servers) must also be at version 6.2 with the same patches installed on both servers.
Resolution
The following table describes the different combinations of Patch Manager and WSUS. The table also shows the versions that connect locally and others that require an additional Automation Server role (typically installed on the WSUS server, but it can also be a third system).
|
WSUS Version |
Patch Manager on 2008R2 SP1 (WSUS v3 console) |
Patch Manager on WS2012 (WSUS v6.2 console) |
Patch Manager on WS2012 R2 (WSUS v6.3 console) |
|
WSUS v3 (2008R2 SP1) |
Direct Connection from PAS works |
Requires AutoServer on WSUS v3 server or other system running Windows Server 2008 R2 SP1 |
Requires AutoServer on WSUS v3 server or other system running 2008 R2 SP1 |
|
WSUS v6.2 (on WS2012) |
Requires Automation Server on WSUS v6.2 server or other system running Windows Server 2012 |
Direct Connection from PAS works |
Requires AutoServer on WSUS v6.2 server or other system running Windows Server 2012 |
|
WSUS v6.3 (on WS2012R2) |
Requires Automation Server on WSUS v6.3 server or other system running Windows Server 2012 R2 |
Requires AutoServer on WSUS v6.3 server or other system running Windows Server 2012 R2 |
Direct Connection from PAS works |
During publishing, if you select Verify WSUS version compatibility and required signing certificate is distributed, it displays the client and server API mismatch such as version 6.3.XXXX versus 6.3.YYYY. When this occurs, uncheck this box to proceed without changes. If you continue receiving an error and failure to publish, follow the steps for CASE 1.
See Issues with the latest WSUS Update for additional information.
CASE 1: Direct connection from PAS
All WSUS servers and Patch Manager Automation servers must have the same Microsoft patches installed on the server.
- Log on to the server you need to check.
- Open Control Panel > Programs and Features.
- In the left pane, click View installed updates.
- Scroll down to Windows Server Update Services.
- Record the KB numbers (in parentheses) at the end of each entry.
- Install any missing patches to the applicable servers.
CASE 2: Requires an Automation Server
The Automation Server role is required to route requests when a WSUS console and WSUS server API mismatch occurs.
- If Patch Manager and WSUS have dissimilar versions, install an additional Automation Server role for each WSUS server.
- Create an Automation Server Routing Rule (ASRR). The ASRR instructs the Patch Manager server to route all requests for the WSUS server through the appropriate Automation Server role.
Without the proper ASRR, the request could be routed through the incorrect Automation Server and generate an API Mismatch error in Patch Manager where none would be. For example, a server running Windows Server 2012 R2 communicating with the PAS running Windows Server 2012 and an Automation Server running Windows Server 2016. Without an ASRR, the request may be routed from the PAS running Windows Server 2012 R2 to the Automation Server running Windows Server 2016 before reaching the WSUS server running Windows Server 2012 R2. ASRRs will resolve this issue.
See Install and configure an Automation Server for WSUS for details about deploying an Automation Server and building an ASRR.