When a Patch Tuesday update takes down mail flow or logons, the update is rarely the only cause. Usually something was already broken and the patch exposed it. Think of a domain controller that’s failed replication for a week, an Exchange database copy with a growing replay queue, or a reboot that hit every DAG member at once. These Windows Server update best practices handle those failure modes in order. Check known issues, prove each role is healthy, patch one node at a time through Test, Pilot, and Production, and know your rollback path before you click Approve. See also our guide on Back Up and Test-Restore a WSL 2 Distro Without Removing the Original. See also our guide on Critical nginx2root vulnerabilities allow remote server takeover.
The short answer to “how do I patch without breaking Exchange and AD?” has four parts. Check Windows release health. Baseline every domain controller with dcdiag and repadmin. Drain each Exchange DAG member into maintenance mode before its reboot. Before deployment, confirm whether the update is a combined servicing package, since standalone and combined packages can follow different rollback steps — check the KB article for the current removal method.
Quick Reference: Patch Order and Rollback Paths
| Scenario | What to do | Tool |
|---|---|---|
| New monthly update appears in WSUS | Check known issues before approving any ring | Windows release health, KB article |
| Before patching a domain controller | Baseline DC health and replication | dcdiag, repadmin /replsummary |
| Before patching an Exchange DAG member | Confirm copy health, then enter maintenance mode | Get-MailboxDatabaseCopyStatus, Set-ServerComponentState |
| Patch order across roles | Test ring, then one DC, verify, next DC, then Exchange one member at a time | WSUS computer groups |
| Patch broke something, it’s a standalone update | Uninstall it | wusa /uninstall |
| Patch broke something, it’s a combined SSU+LCU | Remove the LCU with DISM per the KB article; the SSU part can’t be removed | DISM /Remove-Package |
| Microsoft published a fix for a non-security regression | Follow Microsoft’s published Known Issue Rollback steps for that specific issue | Release health / KB article |
| Nothing else works | Restore using your tested recovery plan: system-state/forest-recovery for a DC, Exchange-aware backup or member-rebuild plan for Exchange | Windows Server Backup / your backup product |
What Is a Ring-Based, Role-Aware Patch Process?
It’s a process layered on top of Windows Server Update Services (WSUS). There’s nothing new to install. WSUS already gives you computer groups, approvals, and reporting. This guide adds the role-specific checks WSUS doesn’t know about: Active Directory replication health, Exchange Database Availability Group (DAG) state, and a rollback decision for every update.
If you haven’t built Test, Pilot, and Production computer groups yet, start with our WSUS pilot ring deployment guide and come back. This article assumes those groups exist. It won’t re-teach them.
Prerequisites
- A Windows Server release currently supported by WSUS on all patched servers, with WSUS deployed (WSUS overview)
- WSUS computer groups for Test, Pilot, and Production already configured
- A WSUS Group Policy Object (GPO) linked to your server OUs, pointing clients at WSUS (Step 4: Configure Group Policy settings)
- Ideally, at least two healthy domain controllers per domain, so one can stay online while the other reboots. A single-DC domain can still be patched, but every reboot becomes an authentication outage and your recovery plan carries far more weight
- Exchange Server Subscription Edition (SE), or Exchange 2019/2016 enrolled in Extended Security Updates (ESU) — ESU eligibility covers only enrolled organizations, for the specific ESU periods and cumulative updates Microsoft publishes, not open-ended support
- Ideally, at least two DAG members per DAG, each with healthy, redundant database copies (a single Exchange server can still be patched, but mail is down for the reboot) — member count alone doesn’t guarantee zero mail downtime during patching, and it isn’t a substitute for a tested backup
- Domain Admin rights for DC checks, and Organization Management (or equivalent) for the Exchange Management Shell
- A backup target with room for system state and Exchange backups, such as a NAS drive or dedicated backup volume
- A UPS on the hosts or racks you’re rebooting, because a power blip mid-servicing-stack install is a terrible way to test your restore
| Requirement | Details |
|---|---|
| Server OS | A Windows Server release currently supported by WSUS |
| Exchange | Exchange Server SE (current on-premises product); 2016/2019 only for enrolled organizations under specific ESU periods and cumulative updates |
| Update source | WSUS with Test/Pilot/Production groups |
| Tools | dcdiag, repadmin (from the RSAT AD DS tools, which are normally present on a DC), Exchange Management Shell, wusa, DISM |
| Access | Elevated PowerShell on DCs and Exchange servers, WSUS console |
Note on Exchange versions: Exchange 2016 and 2019 are out of mainstream support. Organizations enrolled in Extended Security Updates (ESU) can still receive security fixes, but only for the specific ESU periods and cumulative updates Microsoft publishes, not as indefinite ongoing support.
If you’re on Exchange 2019 CU14 or CU15, you can upgrade in place to Exchange SE (What’s new in Exchange Server SE). Running unsupported Exchange is a bigger patch risk than any single update.
Step-by-Step Guide
Step 1: Inventory Roles and Pick Your Patch Order
You can’t sequence patches if you don’t know which server holds what. Run these on any domain controller from an elevated prompt.
# Lists which DC holds each of the five FSMO roles
netdom query fsmo
# Lists every DC in the forest with its site; useful for per-site patch scheduling
Get-ADDomainController -Filter * | Select-Object Name, Site, IsGlobalCatalog, OperatingSystem
Then, in the Exchange Management Shell:
# Shows DAG membership; -Status pulls live operational state instead of just AD config
Get-DatabaseAvailabilityGroup -Status | Format-List Name, Servers, OperationalServers, PrimaryActiveManager
Write the results into your change ticket. A patch order that works for most mixed environments looks like this:
- Test ring: lab or non-critical member servers.
- Pilot DC: one domain controller that doesn’t hold FSMO roles, ideally in your main site.
- Remaining DCs: one at a time, with a health check between each, leaving the PDC emulator for last.
- Exchange DAG members: one at a time, maintenance mode on, then off, before you touch the next.
- Everything else in Production.
Why DCs before Exchange? Exchange depends on AD for everything. If a DC patch causes authentication or LDAP trouble, you want to know before Exchange is half-patched. Microsoft doesn’t prescribe this exact order. It’s general practice that limits how many things can break at once.
Step 2: Check Windows Release Health and the KB Article for Known Issues
Do this every month, before you approve anything for any ring. Open Windows release health and pick your Windows Server version from the navigation. Each version has a known-issues list with status (for example, confirmed, mitigated, or resolved) and affected builds.
Then open the KB article for the update itself. You’ll find the KB number in the WSUS console by selecting the update and checking the details pane. In the KB article, read these three sections:
- Known issues in this update: what Microsoft has confirmed is broken, plus any workaround.
- How to get this update: whether it ships as a combined servicing stack update (SSU) and latest cumulative update (LCU). You need this for Step 13.
- Prerequisites: whether an SSU must be installed first.
If a known issue touches anything you run (Kerberos, LDAP signing, Hyper-V, clustering, IIS), hold approval for the affected servers. Search terms that help on the release health page:
domain controller
Kerberos
cluster
Step 3: Approve for the Test Ring and Watch It
In the WSUS console (Server Manager > Tools > Windows Server Update Services), go to Updates > All Updates, right-click the update, and choose Approve. Approve it for your Test group only.
Give the Test ring time to install and reboot. Microsoft doesn’t publish a required observation period, so set one that matches your organization’s risk tolerance and how fast you need security fixes out. Check the Test servers’ event logs and the services they run before moving on.
Tip: Hotpatch (available on eligible Windows Server 2025 and Azure Edition deployments enrolled in Azure Update Manager) can reduce how often a reboot is required, but that depends on your specific edition, enrollment, and the type of update involved. Confirm your eligibility before assuming any given month is reboot-free. See our Hotpatch guide for how that fits alongside WSUS rings.
Step 4: Baseline Domain Controller Health Before Patching
Never patch a DC into an already-broken domain. Run these on a domain controller or a management box with RSAT AD DS tools. The dcdiag and repadmin syntax has been stable for years. Still, check the current Microsoft Learn reference for your OS before you script against specific switches.
First, create a log folder:
New-Item -Path C:\PatchLogs -ItemType Directory -Force
Quick pass that only prints problems:
# /e tests every DC in the enterprise; /q prints errors only, so empty output means the default tests that ran found no errors
dcdiag /e /q
Full log you can diff after patching:
# /c runs comprehensive tests; /v is verbose; /f writes the output to a file
dcdiag /e /c /v /f:C:\PatchLogs\dcdiag-pre.txt
A healthy run shows lines like these for each test (your server names will differ):
......................... DC01 passed test Advertising
......................... DC01 passed test Replications
......................... DC01 passed test Services
Now check replication:
# One-line-per-DC summary of replication deltas and failure counts
repadmin /replsummary
# Inbound replication partners and last result for every DC, saved as CSV for comparison
repadmin /showrepl * /csv > C:\PatchLogs\showrepl-pre.csv
# Pending inbound replication requests on the DC you query; a short, emptying queue is normal
repadmin /queue
You want zero in the failure columns of /replsummary. The largest delta should match your replication schedule. repadmin /queue only shows inbound requests waiting on the DC you run it against, so treat it as a backlog check, not an overall health score: a queue that keeps growing between runs is the warning sign. If dcdiag /c flags DNS tests on a box that otherwise works, read the detail before panicking, since the comprehensive DNS tests are noisy.
A failed Replications test needs investigation before you patch that DC. It usually points to a real problem, but transient network blips, DNS misconfiguration, or other environmental conditions can also trigger a failure. Confirm the actual cause rather than assuming the worst case, and remediate before moving on.
Step 5: Baseline Exchange DAG Health Before Patching
In the Exchange Management Shell:
# Every database copy across the DAG; note the copy and replay queue lengths for comparison
Get-MailboxDatabaseCopyStatus * | Format-Table Name, Status, CopyQueueLength, ReplayQueueLength, ContentIndexState -AutoSize
Typical healthy output: one copy per database shows Mounted, the rest show Healthy, and ContentIndexState is Healthy. Your layout may differ (lagged copies, for example, legitimately carry a replay queue), so compare against what’s normal for your DAG. Anything Failed, FailedAndSuspended, or with a climbing queue needs fixing first. If you patch a server that holds the only healthy copy, you’ve built a single point of failure on purpose.
# Runs the built-in replication, cluster, and network checks against one member
Test-ReplicationHealth -Identity EX01
Look for Passed on each check. A warning or failure isn’t automatically a showstopper, but read its detail and understand it before you take that member down. Also record each server’s current component states and activation policy. You’ll restore them in Step 10:
# Baseline component states; note anything that is not Active and why before you start
Get-ServerComponentState -Identity EX01 | Format-Table Component, State -AutoSize
# Record this value; the default is usually Unrestricted, but yours may differ
Get-MailboxServer -Identity EX01 | Format-List DatabaseCopyAutoActivationPolicy
Step 6: Take Backups You Can Actually Restore
Backups are your last rollback path, and the only one that works for every failure — but a backup you haven’t tested restoring isn’t a rollback path, it’s a hope. For domain controllers, a system-state backup is the baseline, and you need a documented, periodically tested forest-recovery plan behind it, not just the backup job itself:
# Requires the Windows Server Backup feature; E: is a dedicated backup volume, not the system drive
wbadmin start systemstatebackup -backuptarget:E: -quiet
Healthy DAG copies give you availability if you lose a DAG member, not a substitute for backup. A copy failing over covers a hardware or OS failure; it doesn’t protect against logical corruption, accidental deletion, or a bad patch that reaches every copy before anyone notices.
For Exchange, use an Exchange-aware backup product with a VSS writer, a defined retention period, and a tested restore procedure — or maintain a documented plan for rebuilding a DAG member and reseeding its databases from a healthy copy. Pick one and verify it works before you rely on it during a patch rollback. A NAS drive or separate backup host works fine as the target; a USB drive taped to the server counts in a homelab, but nowhere else.
Warning: Don’t roll back a domain controller by reverting a VM checkpoint unless your hypervisor supports VM-GenerationID and you understand how AD handles it. Restoring an old DC image without that protection can cause USN rollback and silently break replication. Use a tested system-state restore, as part of your forest-recovery plan, instead.
Step 7: Approve for Pilot and Patch One Domain Controller
Once Test looks clean, approve the update for the Pilot group in WSUS. Your Pilot group should contain the non-FSMO DC you picked in Step 1. Add one Exchange DAG member if you have three or more.
On the pilot DC, install the update and reboot. If your GPO uses “download and notify,” trigger the install from Settings > Windows Update or your preferred method. After the reboot, re-run the checks from Step 4:
dcdiag /e /q
dcdiag /e /c /v /f:C:\PatchLogs\dcdiag-post.txt
repadmin /replsummary
repadmin /showrepl * /csv > C:\PatchLogs\showrepl-post.csv
Compare dcdiag-pre.txt and dcdiag-post.txt. Any test that passed before and fails now is the patch’s problem. Also do a functional check. Log on with a test account through that DC, and confirm Group Policy applies:
# Shows which DC the machine authenticated against and whether computer GPOs applied
gpresult /r /scope computer
If the pilot DC is clean after your observation window, patch the remaining DCs one at a time. Repeat the post-check after each one. Save the PDC emulator for last.
Step 8: Put the First Exchange DAG Member Into Maintenance Mode
This is the step that keeps mail flowing. The sequence below drains transport, moves active databases off the server, blocks reactivation, and pauses the cluster node, matching the manual process Microsoft documents for DAG member maintenance on Exchange SE and supported Exchange 2016/2019 ESU builds.
Exchange also ships a StartDagServerMaintenance.ps1 script (and a matching exit script) in the Scripts folder that automates most of this sequence for supported builds. Prefer the script where your build supports it, since it’s less likely to skip a state change than running cmdlets by hand. Cross-check either approach against the current Microsoft Learn DAG management page for your Exchange build before you script it, since cmdlet behavior and supported parameters change between CUs.
Run these in an elevated Exchange Management Shell. Replace EX01 with the server you’re patching and EX02.contoso.com with the FQDN of a healthy DAG peer.
# 1. Stop accepting new messages into transport queues on EX01
Set-ServerComponentState -Identity EX01 -Component HubTransport -State Draining -Requester Maintenance
# 2. Restart transport so the draining state takes effect immediately
Restart-Service MSExchangeTransport
# 3. Move messages already queued on EX01 to a peer; -Target must be an FQDN
Redirect-Message -Server EX01 -Target EX02.contoso.com
If your DAG member also runs the Unified Messaging role (legacy Exchange 2013/2016 only — UM was removed starting with Exchange 2019), drain in-progress UM calls before suspending the cluster node. Follow Microsoft’s current UM maintenance guidance for the specific cmdlet your build supports, since the command differs by version and this doesn’t apply to Exchange SE.
# 4. Pause EX01 in the Windows failover cluster so it can't take the Primary Active Manager role
Suspend-ClusterNode -Name EX01
# 5. Move any active databases off EX01 now
Set-MailboxServer -Identity EX01 -DatabaseCopyActivationDisabledAndMoveNow $true
# 6. Block automatic activation of databases on EX01 while it's in maintenance
Set-MailboxServer -Identity EX01 -DatabaseCopyAutoActivationPolicy Blocked
# 7. Take every remaining Exchange component offline on EX01
Set-ServerComponentState -Identity EX01 -Component ServerWideOffline -State Inactive -Requester Maintenance
Now verify. Don’t skip this part. It tells you whether maintenance mode actually took hold.
# Components should now show Inactive; Monitoring and RecoveryActionsEnabled can stay Active
Get-ServerComponentState -Identity EX01 | Format-Table Component, State -AutoSize
# No database copies on EX01 should show Mounted
Get-MailboxDatabaseCopyStatus -Server EX01 | Format-Table Name, Status -AutoSize
# Transport queues on EX01 should be empty or draining to zero (Shadow Redundancy queues can linger briefly)
Get-Queue -Server EX01
# EX01 should report Paused
Get-ClusterNode -Name EX01
If Get-MailboxDatabaseCopyStatus still shows a mounted copy, stop. Find out why it didn’t move. The usual causes are an unhealthy target copy or a content index problem. Step 5 should have caught both.
Step 9: Install Updates on the Exchange Server
With EX01 in maintenance mode, install the Windows update from WSUS and reboot.
If you’re also installing an Exchange cumulative update (CU), do it during the same maintenance window. Treat it as a separate change from the Windows update: Exchange CUs install through Exchange Setup, not WSUS, and have their own prerequisites.
Before running Setup, check the CU’s release notes for supported Windows Server and .NET Framework versions and any schema or AD preparation, run it from an elevated prompt with an account that has the Exchange permissions the install guide lists (plus Schema Admins and Enterprise Admins if schema preparation is needed), and confirm the CU applies to your build and topology. Microsoft’s cumulative update installation guide documents the unattended upgrade command. From the extracted CU media folder:
# Run from the folder containing the CU's Setup.exe; choose DiagnosticDataON or DiagnosticDataOFF
.\Setup.exe /Mode:Upgrade /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF
Check which build you’re on before and after. Compare it against Microsoft’s build numbers and release dates page:
Get-ExchangeServer | Format-Table Name, Edition, AdminDisplayVersion -AutoSize
In early November 2026, the most recent Exchange SE update on that page was RTM Oct26SU, build 15.2.2562.56, released October 13, 2026. Check the page itself at patch time. Don’t trust a number in a blog post, including this one.
Warning: CU setup can update the AD schema and organization configuration. Read the CU release notes first. If a schema update is required, run
/PrepareSchemaand/PrepareADas a separate change and let AD replicate fully (verify withrepadmin /replsummary) before upgrading any Exchange server.
Step 10: Take the Exchange Server Out of Maintenance Mode
After the reboot, reverse the maintenance steps you took going in. If you entered maintenance with StartDagServerMaintenance.ps1, exit with its companion StopDagServerMaintenance.ps1 from the same Scripts folder, which is the reversal Microsoft documents for the scripted path. Prefer the script over the manual sequence below; it’s less likely to miss a state change than running cmdlets by hand.
The manual order shown here brings the server back online, rejoins the cluster, restores activation, and reopens transport. It matches Microsoft’s general guidance for Exchange SE and supported Exchange 2016/2019 ESU builds, but confirm against the Learn page for your exact build before relying on it, since exact ordering can vary by CU.
If you drained Unified Messaging calls in Step 8, restore that component the same way before reopening transport.
# 1. Bring Exchange components back online
Set-ServerComponentState -Identity EX01 -Component ServerWideOffline -State Active -Requester Maintenance
# 2. Rejoin the failover cluster
Resume-ClusterNode -Name EX01
# 3. Allow database activation again
Set-MailboxServer -Identity EX01 -DatabaseCopyActivationDisabledAndMoveNow $false
# 4. Restore the activation policy you recorded in Step 5 (Unrestricted shown here)
Set-MailboxServer -Identity EX01 -DatabaseCopyAutoActivationPolicy Unrestricted
# 5. Reopen transport
Set-ServerComponentState -Identity EX01 -Component HubTransport -State Active -Requester Maintenance
Restart-Service MSExchangeTransport
Verify every state you changed on the way in, not just the component list. Check the requester on each component, since a leftover Maintenance or HealthApi flag from a different process can hold a component inactive even after this step.
Get-ServerComponentState -Identity EX01 | Format-Table Component, State -AutoSize
(Get-ServerComponentState -Identity EX01 -Component HubTransport).LocalStates
Get-MailboxDatabaseCopyStatus * | Format-Table Name, Status, CopyQueueLength, ReplayQueueLength, ContentIndexState -AutoSize
Test-ReplicationHealth -Identity EX01
Get-ClusterNode -Name EX01
Get-Queue -Server EX01
Don’t declare EX01 back in service until its components match the baseline you recorded in Step 5 (normally Active, with no unexpected requester), the cluster node shows Up, transport queues are flowing, and copy queues are catching up toward zero. Wait for the queues to drain before moving to the next DAG member; patching EX02 while EX01’s copies are still reseeding is how a routine month turns into an outage.
If this is the last DAG member, also run the mail-flow and client-access checks from Step 12 — component and queue states can look healthy while a load balancer still shows the server down.
Once every member is patched, rebalance active databases back to their preferred servers. Exchange ships a script for this in its Scripts folder:
# $exscripts points to the Exchange Scripts folder in the Exchange Management Shell
& "$exscripts\RedistributeActiveDatabases.ps1" -DagName DAG01 -BalanceDbsByActivationPreference -Confirm:$false
Step 11: Approve for Production
After the Pilot group survives your observation window, approve the update for Production in WSUS. Production rollout still follows the one-at-a-time rule for DCs and DAG members. The rest of your server fleet can patch on the normal GPO schedule.
Step 12: Verify the Whole Environment After Patching
Run one final sweep after the last server reboots:
# On a DC: domain-wide health and replication
dcdiag /e /q
repadmin /replsummary
# In Exchange Management Shell: DAG-wide copy health and component state
Get-MailboxDatabaseCopyStatus * | Format-Table Name, Status, CopyQueueLength, ReplayQueueLength -AutoSize
Get-ExchangeServer | ForEach-Object { Get-ServerComponentState -Identity $_.Name | Where-Object { $_.State -ne 'Active' } }
The second Exchange command returns nothing if no component on any server reports a state other than Active, which is a quick sweep, not a full health test. Compare any output against your Step 5 baseline: a component that was Active before maintenance and isn’t now is usually one someone forgot to bring back, while a state set by another requester (such as HealthApi) needs its own investigation.
Then send a test message in and out of the organization. Confirm Outlook on the web and Autodiscover respond. Health cmdlets can pass while a load balancer still has a server marked down.
Step 13: Know Your Rollback Path Before You Need It
Decide this per update, before deployment, and write it in the change ticket. There are four paths. The order below is a rough guide only: the real impact of each depends on the server’s role and the failure, and a KIR, for example, can be less disruptive than uninstalling a cumulative update.
Path 1: Uninstall the update with wusa. Works for standalone updates. First find the installed update:
# Ten most recently installed updates with their KB IDs
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 10 HotFixID, Description, InstalledOn
# Replace XXXXXXX with the numeric KB ID only (no "KB" prefix)
wusa /uninstall /kb:XXXXXXX /quiet /norestart
Warning: Uninstalling a cumulative update removes every fix it contains, including security fixes. Removing it from a DC or Exchange server reopens whatever it patched. Treat it as a temporary measure and re-approve a fixed update as soon as one ships.
Path 2: Remove the LCU with DISM for a combined SSU+LCU package. Many monthly updates ship as a single package with the SSU and LCU combined. Microsoft’s KB articles state that wusa /uninstall won’t work on the combined package because it contains the SSU, and that the SSU can’t be removed once installed. What you can remove is the LCU, using DISM /Remove-Package with the LCU’s package name. Check the specific KB article’s “How to get this update” section first for the current steps. List packages to find the rollup name:
# Look for entries starting with Package_for_RollupFix; note the full name
DISM /Online /Get-Packages /Format:Table
# Paste the full LCU package name from the previous command; this removes the LCU only, the SSU stays installed
DISM /Online /Remove-Package /PackageName:Package_for_RollupFix~31bf3856ad364e35~amd64~~VERSION
Check the specific KB article’s “How to get this update” section for the current removal steps. Microsoft documents this per release.
Path 3: Known Issue Rollback (KIR). For some non-security regressions, Microsoft publishes a Known Issue Rollback that disables the offending change without uninstalling the update. KIR only exists when Microsoft releases one for that specific issue, and it never covers security fixes.
Check the release health entry or the update’s KB article to see whether a KIR exists for your issue and how Microsoft wants you to deploy it in your scenario — the delivery method varies by issue and release, so don’t assume a fixed set of steps.
Path 4: Restore from backup or your recovery plan. If none of the above applies, fall back to the tested plan from Step 6: a system-state restore (or documented forest-recovery procedure) for a DC, and an Exchange-aware backup restore or a documented member-rebuild/database-reseed procedure for Exchange.
For a DC that failed on its own while the rest of the forest is healthy, rebuilding from a healthy peer is often faster than restoring an old system-state backup: demote the broken DC (or force-remove it if it won’t boot), clean up its metadata, move or seize any FSMO roles it held, check DNS and global catalog coverage, then rebuild and re-promote.
If the failure spread to several DCs or you suspect compromise, follow your forest-recovery procedure instead. For Exchange, reseeding a rebuilt member from a healthy DAG copy isn’t the same as having a tested Exchange-aware backup; keep both current.
Configuration
These settings make the process above predictable. Defaults vary by organization, so treat the values below as recommendations. Microsoft doesn’t require them.
| Setting | Where | Recommended for DCs and Exchange | Why |
|---|---|---|---|
| Configure Automatic Updates | GPO: Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Update | 3 - Auto download and notify for install | You control the reboot, which you need for maintenance mode |
| Specify intranet Microsoft update service location | Same GPO path | Your WSUS URL | Keeps servers off Windows Update directly |
| WSUS computer groups | WSUS console | Test, Pilot, Production (plus separate DC and Exchange groups if you want finer control) | Lets you approve per role |
| Client-side targeting | WSUS options and GPO | Enabled | Group membership follows the GPO, not manual drag-and-drop |
| Observation window between rings | Your change process | Set a fixed number of days and stick to it | Microsoft doesn’t define one |
On newer administrative templates, some Windows Update settings sit under subfolders like Manage end user experience. If you can’t find a setting at the path above, check there. Microsoft’s Group Policy settings for automatic updates page lists the full set.
To confirm a server picked up the WSUS policy:
# WUServer and WUStatusServer should both show your WSUS URL
Get-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
Alternatives worth knowing about. Azure Update Manager can schedule updates for Azure VMs and Azure Arc-enabled on-premises servers. It can still pull from WSUS. Check the current Azure Update Manager pricing page for Arc-enabled server costs before you plan around it. It doesn’t patch Windows 10 or 11 clients, so it works alongside WSUS. None of the DC and DAG checks above go away if you switch tools.
Tips and Troubleshooting
A server never shows up in WSUS or never gets the approved update
Why it happens: The WSUS GPO isn’t linked to the server’s OU, the server still points at Windows Update directly, or a firewall blocks the WSUS port.
Fix:
- Run
gpresult /r /scope computerand confirm the WSUS GPO appears under applied objects. - Check the registry values with the
Get-ItemPropertycommand in the Configuration section. - Test connectivity to WSUS on its port (8530 for HTTP and 8531 for HTTPS by default; your WSUS server may use custom ports):
Test-NetConnection -ComputerName wsus01.contoso.com -Port 8530
- Check the server’s Last Status Report in the WSUS console. Run
Get-WindowsUpdateLogon the server to merge its Windows Update trace files into a readableWindowsUpdate.log, written by default to the current user’s Desktop (use-LogPathto change it).
wusa /uninstall says the update can’t be removed
Why it happens: It’s likely a combined SSU+LCU package. wusa can’t uninstall a combined package because it contains the SSU, which can’t be removed after installation.
Fix: Use DISM /Online /Get-Packages to find the Package_for_RollupFix entry and remove that LCU with DISM /Remove-Package, as in Step 13, after confirming the steps in the KB article for that update. If that also fails, check the release health page for a KIR, then fall back to a restore.
A database won’t move off the server during maintenance mode
Why it happens: No healthy target copy exists, the content index on the target has failed, or the target’s copy queue is too long for Active Manager to call it safe.
Fix: Run Get-MailboxDatabaseCopyStatus <DatabaseName>\* and look at the target copies. Fix the unhealthy copy first (reseed if necessary), then re-run Set-MailboxServer -DatabaseCopyActivationDisabledAndMoveNow $true. Don’t force a move with skip-health flags just to stay on schedule.
dcdiag passes but replication fails after a DC reboot
Why it happens: dcdiag /q only runs default tests against reachable DCs. Replication may not have retried since the reboot.
Fix: Force a sync and recheck:
# /A all partitions, /e enterprise-wide across sites, /d identifies servers by DN in output
repadmin /syncall /A /e /d
repadmin /replsummary
If failures persist, compare showrepl-pre.csv and showrepl-post.csv to find which partner link broke.
Exchange components stay Inactive after you exit maintenance mode
Why it happens: A different requester (for example, Functional or HealthApi) set the component inactive. Your Maintenance requester can’t override it.
Fix: Check the requester detail:
(Get-ServerComponentState -Identity EX01 -Component HubTransport).LocalStates
Set the component back to Active using the requester shown, then restart the related service.
Exchange patching stalls because the server runs Exchange 2016 or 2019
Why it happens: Those versions are out of mainstream support. Only organizations enrolled in ESU get security updates, and only for the specific ESU periods and cumulative updates Microsoft publishes for that program.
Fix: Plan the in-place upgrade to Exchange SE. Exchange 2019 CU14 or CU15 upgrades directly. Exchange 2016 needs a migration path.
One more tip: Keep a cheap test box for the Test ring. A spare mini PC or old Hyper-V host running a lab DC and a single-member DAG catches a surprising number of install-time failures before Pilot.
Wrapping Up
You now have a monthly loop that ties WSUS approvals to the health of the services you care about. The honest cost is time. A two-DC, two-member DAG environment turns a 10-minute “approve all” into an evening of sequenced work. That trade pays off the first time a pre-patch repadmin run catches a dead replication link you’d otherwise have patched straight into.
| Step | Action | Applies To |
|---|---|---|
| 1-2 | Inventory roles, check release health and KB | All servers |
| 3 | Approve for Test ring | Lab and non-critical servers |
| 4 | Baseline dcdiag and repadmin | Domain controllers |
| 5 | Baseline DAG copy health and component state | Exchange |
| 6 | System state and Exchange backups | DCs and Exchange |
| 7 | Pilot DC, then remaining DCs one at a time | Domain controllers |
| 8-10 | Maintenance mode, patch, exit, verify | Each Exchange DAG member |
| 11-12 | Production approval, environment-wide verification | All servers |
| 13 | wusa, DISM, KIR, or restore | Any server a patch broke |
The check that matters most comes after the last reboot. Run dcdiag /e /q, repadmin /replsummary, and the DAG copy status sweep again the next morning. A clean result after overnight replication and a full mail cycle shows the patch survived real load as well as the reboot.
Resources
- Update management with Windows Server Update Services
- Step 2: Configure WSUS
- Step 4: Configure Group Policy settings for automatic updates
- Windows release health
- Install cumulative updates for Exchange Server
- Exchange Server build numbers and release dates
- What’s new in Exchange Server SE
- Azure Update Manager FAQ