Skip to content

Windows Update Control

Randy Northrup edited this page Nov 8, 2026 · 2 revisions

Windows Update Control

Pausing, holding and deferring Windows Update are features of Open the Windows. Permanently breaking Windows Update is not: the tool never sets update services to Disabled and never changes their permissions. Windows' own repair service (WaaSMedicSvc) reverts those hacks, and they break the Microsoft Store and Defender.

Everything here is available on the command line (otw updates) and on the desktop app's Updates page.

The Updates page with status, pause presets, extended pause, feature-update hold, repair and hide controls

Task Command line Desktop app
See the status otw updates status Refresh status
Pause up to 35 days otw updates pause --days <1-35> 7 days, 14 days, 35 days
Pause longer otw updates pause --days <n> --extended Pause (extended)…
Resume otw updates resume Resume now
Hide one update otw updates hide --kb <id> Hide
Unhide it otw updates unhide --kb <id> Unhide
List hidden updates otw updates hidden Refresh hidden
Hold feature updates at a release (new in v0.3.0) otw updates target --version <version> Hold…
Clear the hold (new in v0.3.0) otw updates target --clear Clear hold
Repair a stuck update client (new in v0.3.0) otw updates repair Repair…

Every change needs an elevated terminal (the desktop app is always elevated). --what-if previews need no elevation.

Status

otw updates status
Windows 25H2 (Professional, Consumer servicing)
End of servicing: 2027-10-12 (in 338 day(s))
Updates not paused.

The status shows:

  • the running Windows version and edition;
  • the servicing track: Consumer for Home and Pro, Enterprise for Enterprise and Education;
  • the end-of-servicing date for that version and track, and the days left. Inside 90 days (or once it has passed) the line ends with <-- WARNING;
  • whether updates are paused, and until when (UTC);
  • any feature-update hold, with its own end-of-servicing countdown and warning.

End-of-servicing dates come from a calendar built into the product, taken from Microsoft's lifecycle pages. otw updates status --json (new in v0.3.0) gives the same data for scripts.

Pause

otw updates pause --days 14
otw updates pause --days 35 --what-if

A pause writes the same six values the Settings app's Pause updates button writes, under HKLM\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings: the start and end of the overall pause, the feature-update pause and the quality-update pause. It is a journaled run (label updates-pause), so it shows in History and can be reverted like any other change.

The 35-day limit cannot be stepped around. Pausing again while a pause is in force keeps the original start date, and the limit covers the whole uninterrupted pause. A re-pause that would go over it is refused with:

Updates have been paused since <date>; pausing <n> more days would make <total> days in a row, over the 35-day limit. Resume and install updates first.

That command exits with 4 and changes nothing.

Extended pause

An extended pause goes beyond Microsoft's 35-day cap, up to 365 days.

otw updates pause --days 90 --extended
  • It is an Advanced-risk change. The command line prints a warning on stderr: WARNING: pausing for 90 days exceeds Microsoft's supported 35-day limit; the device stays unpatched until you resume.
  • The desktop app offers 60, 90, 180 or 365 days and asks you to confirm first. No security updates arrive for the whole period.
  • It is written to the Event Log as Event 4002.
  • The same "whole uninterrupted pause" rule applies to the extended limit.

Limit it by policy

New in v0.3.0.

Administrators can lower the extended limit with the Limit extended Windows Update pauses policy (MaxExtendedPauseDays, 35 to 365 days; a value outside that range is clamped). Set it to 35 to disallow extended pauses entirely. Not configured means 365. The limit applies to the command line and the desktop app. See Enterprise Deployment.

Resume

otw updates resume

Resume reverts every active pause this tool set, newest first, so stacked pauses are fully unwound. It then triggers a fresh update scan (usoclient StartScan).

If updates were paused from the Settings app instead, resume ends that pause too, by moving its end time to now (new in v0.3.0). That is also a journaled run (label updates-resume), so it can be reverted.

Managed devices

When MDM or Group Policy manages Windows Update, pause and hold change nothing:

Windows Update is managed by MDM or Group Policy on this device; the pause was not applied.

The command exits with 6 (new in v0.3.0), so automation never mistakes "skipped" for "done". On the desktop app, a banner says Windows Update is managed by your organisation and the pause, resume, hold and hide controls are read-only. Those controls stay disabled until you select Refresh status, so a managed device is never treated as unmanaged.

Hide and unhide one update

otw updates hide --kb KB5063878
otw updates unhide --kb 5063878
otw updates hidden
  • Hiding works through the Windows Update Agent on an update it has already discovered. If it has not, you get Windows Update Agent has not discovered KB5063878. Search for updates, then retry.
  • A KB id is written KB5063878 or 5063878.
  • After the change the agent is read again, and an update that did not take the new state is reported as a failure (exit 2).
  • Hide and unhide are written to the Event Log as Event 4003 and Event 4004.
  • The desktop app notes that the agent may contact Microsoft Update to resolve the KB.

Hold feature updates at a release

New in v0.3.0.

otw updates target --list
otw updates target --version 25H2
otw updates target --clear

A hold keeps the PC on the chosen Windows 11 version. Monthly quality and security updates for that version keep installing; only the move to a newer feature update waits.

  • It uses the Windows Update for Business target-version policy: TargetReleaseVersion (1), ProductVersion (Windows 11) and TargetReleaseVersionInfo (the version) under HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate.
  • It is a journaled, reversible run (label updates-target), with Caution risk.
  • --list shows the versions in the built-in end-of-servicing calendar for this PC's servicing track. Only those versions are accepted.
  • Windows Home is refused, because it ignores the policy: Holding a feature-update version needs Windows Update for Business (Pro, Enterprise or Education); Windows Home ignores it.
  • When the held version reaches end of servicing, the PC stops getting security updates. Watch the hold's countdown in otw updates status and clear the hold before then.
  • --clear reverts every active hold this tool set. With none, it prints No feature-update hold set by Open the Windows is active.

Repair a stuck update client

New in v0.3.0.

otw updates repair --what-if
otw updates repair

For updates stuck downloading or failing to install. The repair:

  1. stops UsoSvc, wuauserv, BITS, DoSvc and CryptSvc if they are running. Their start types are never touched;
  2. renames %SystemRoot%\SoftwareDistribution and %SystemRoot%\System32\catroot2 aside with a UTC timestamp, as <folder>.otw-<yyyyMMddHHmmss>. Nothing is deleted;
  3. starts again every service that was running, even if a step failed.

Any download in progress starts over. The repair is written to the Event Log as Event 4005. It is not a journaled run, so it does not appear in History. The renamed folders stay where they are until you delete them.

Update settings in the catalogue

The Updates category of the catalogue has 25 entries, all Verified, such as excluding drivers from Windows Update, no automatic restart while users are signed in, and Delivery Optimization limits. They are applied through levels and profiles like any other entry:

otw catalog list --category Updates
otw apply --profile balanced --what-if

Clone this wiki locally