Repository navigation
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.

| 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.
otw updates statusWindows 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.
otw updates pause --days 14
otw updates pause --days 35 --what-ifA 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.
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.
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.
otw updates resumeResume 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.
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.
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
KB5063878or5063878. - 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.
New in v0.3.0.
otw updates target --list
otw updates target --version 25H2
otw updates target --clearA 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) andTargetReleaseVersionInfo(the version) underHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate. - It is a journaled, reversible run (label
updates-target), with Caution risk. -
--listshows 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 statusand clear the hold before then. -
--clearreverts every active hold this tool set. With none, it printsNo feature-update hold set by Open the Windows is active.
New in v0.3.0.
otw updates repair --what-if
otw updates repairFor updates stuck downloading or failing to install. The repair:
- stops
UsoSvc,wuauserv,BITS,DoSvcandCryptSvcif they are running. Their start types are never touched; - renames
%SystemRoot%\SoftwareDistributionand%SystemRoot%\System32\catroot2aside with a UTC timestamp, as<folder>.otw-<yyyyMMddHHmmss>. Nothing is deleted; - 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.
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-ifOpen the Windows is free software under the MIT license · Source on GitHub