Skip to content

Troubleshooting and FAQ

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

Troubleshooting and FAQ

First checks

Check How
Is this PC supported, and is the session elevated? otw doctor
What ran, and did it complete? otw history, or the History page
What did the engine log? Get-WinEvent -LogName OpenTheWindows -MaxEvents 20, or %ProgramData%\OpenTheWindows\audit\otw-<yyyyMM>.jsonl
Why did the desktop app show an error? %LocalAppData%\OpenTheWindows\gui-errors.log
What does an exit code mean? Command-Line Reference

Installation and starting

otw is not recognized

The MSI adds C:\Program Files\Open the Windows\cli to the system PATH. Open a new terminal after installing. With the portable ZIP, run otw.exe from its cli folder, or use the full path.

SmartScreen blocks the first run

v0.2.0 and earlier are not code-signed, so SmartScreen asks first: choose More info, then Run anyway. v0.3.0 and later are signed by Randy Northrup, but SmartScreen can still warn until the publisher builds up a reputation. Verify downloads as shown on Getting Started.

"Unsupported platform" (exit 3)

Unsupported platform (UnsupportedServerSku); see 'otw doctor'.

Only Windows 11 client editions (build 22000 or later) are supported. Windows Server (UnsupportedServerSku) and Windows 10 or older (UnsupportedWindowsVersion) are refused.

Permissions

"… needs an elevated token" (exit 5)

Apply needs an elevated token. Re-run from an elevated prompt.

The command changes the machine. Open Terminal (Admin) and run it again, or add --what-if to preview without elevation.

A scan or capture fails without elevation (exit 2)

Unexpected error (InvalidOperationException): secedit export failed (exit 740).
Unexpected error (SecurityException): Requested registry access is not allowed.

Some settings can only be read with administrator rights. A scan at the balanced level or above reads the local password and lockout policy with secedit, and otw profile capture reads settings across the whole catalogue. Run them from an elevated terminal.

"… is not secured for administrators"

'<folder>' is not secured for administrators; run any elevated Open the Windows command once to repair it.

A folder under %ProgramData%\OpenTheWindows can be changed by non-administrators, so an unelevated run refuses to write there. Elevated runs repair the folders.

Applying changes

The run was blocked by a pre-flight check (exit 2)

  BLOCKED  PendingReboot: A reboot is pending from earlier servicing; apply after rebooting.
Check Fix
PendingReboot Restart the PC, then apply
Oobe Finish Windows setup first
SafeMode Start Windows normally

"Another apply or revert is running on this machine" (exit 4)

Only one apply, revert or recovery runs at a time on a PC, from any front end, including the SYSTEM task. A new run waits 30 seconds, then gives up. Wait for the other run to finish and try again.

An entry was skipped as "requires --allow-advanced" or "requires --allow-breaking"

Advanced and Breaking entries need permission. Add --allow-advanced or --allow-breaking (or set allowAdvanced / allowBreaking in your profile). Each Breaking entry also asks you to type its id, unless you pass --yes. See Levels, Risk and Verification.

An entry was skipped as "requires …, which is not part of this run"

The entry depends on another entry that is not being applied. Include the dependency, or use otw apply --only <id>, which brings in the entries it depends on.

"Entries … and … conflict and cannot be applied together" (exit 4)

Two selected entries are alternatives to each other. Exclude one of them ("exclude" in a profile, or untick one in the desktop app). Levels and profiles settle conflicts for you; this happens with hand-picked selections.

Entries show as Managed

Your organisation manages those settings through MDM or Group Policy, and Open the Windows leaves them alone. An administrator can override with otw apply --break-glass (audited as Event 4001); remediate, the scheduled task and the desktop app never do. See Safety and Reversibility.

A scan keeps reporting drift on a managed PC

If a policy enforces a value that differs from your profile, scan reports that entry as drift (the machine really differs), while remediate leaves it alone because it is managed. Exclude the entry from your profile, or change the policy.

An entry was refused

A code-level safety rule forbids it (for example a protected service or a value that would turn a security control off). The built-in catalogue passes these rules; a refusal usually comes from a custom --catalog-dir file. Refusals are audited as Event 4000. See Safety and Reversibility.

"Unknown profile" (exit 4)

Unknown profile 'nosuch'. Use a level (basic, balanced, strict, paranoid), a built-in profile id (developer, enterprise-workstation, gamer, home, kiosk-shared, power-user, privacy-max), or a path to a profile .json file.

Check the spelling, or that the file path exists.

The Breaking confirmation failed (exit 4)

Confirmation for '<id>' did not match; aborting.

Type the id exactly as shown. A --json run cannot prompt and stops with Breaking entries need confirmation; a --json run is non-interactive, so pass --yes to confirm them.

The restore point says Skipped24h or Disabled

Skipped24h means Windows declined because a restore point was created recently (within 24 hours by default). Disabled means System Restore is off for the system drive. The run still goes ahead and is still journaled and revertable.

A restart is needed

The result line names it: ExplorerRestart, SignOut or Reboot. A reboot-requiring run exits with 3010. Add --restart-explorer (or tick Restart Explorer when done) to restart Explorer automatically, or sign out or restart yourself.

A Draft entry was not applied

Levels and built-in profiles use Verified entries only. Use --include-draft, --only <id>, or tick it by hand in the desktop app. See Levels, Risk and Verification.

Reverting

The revert was refused

Message Meaning
Run <id> was already reverted; pass --force to revert it again. Nothing left to undo
Run <id> (…) changed some of the same settings later; reverting would overwrite them. Revert that run first, or pass --force. Undo the newer run first
Run <id> did not finish; the next apply or revert recovers it automatically. A crash interrupted it; any apply or revert settles it
No prior runs with a verified journal to revert. Nothing to revert with last (exit 4)

A run whose journal does not verify (Journal does not verify or Journal unreadable in History) can never be reverted. See Safety and Reversibility.

An entry says NotReversible

Some changes cannot be put back automatically, for example a removed app. Check how to get it back:

otw catalog show debloat.apps.remove-tips

The Appx action's ReinstallHint says how, for example from the Microsoft Store.

Windows Update

"Windows Update is managed by MDM or Group Policy on this device" (exit 6)

Pause and hold change nothing on a managed device. Ask the administrator who manages updates. On the desktop app, the Updates page is read-only in this case.

The pause was refused (exit 4)

Pause must be between 1 and 35 days. A longer pause needs --extended (up to 365 days, or a lower limit an administrator set by policy). Re-pausing counts from the start of the pause already in force; when the total would go over the limit, the message ends with Resume and install updates first.

"Windows Update Agent has not discovered KB…"

Windows Update Agent has not discovered KB5063878. Search for updates, then retry.

You can only hide an update Windows has already found. Check for updates in Settings, then retry.

The feature-update hold is refused on Windows Home

Windows Home ignores the target-version policy, so otw updates target refuses it (exit 4). Pause updates instead.

The Updates page controls are greyed out

Select Refresh status first. Nothing is read, and no control is enabled, until you do. If the banner says Windows Update is managed by your organisation, the controls stay read-only.

Automation

The scheduled task will not install (exit 2)

Refusing to schedule a SYSTEM task: '<path>' can be changed by non-administrators (<accounts>); install Open the Windows with the MSI (Program Files) or copy it to an administrator-only folder first.

A SYSTEM task must not run a file a standard user could replace. Install with the MSI, or copy the files to an administrator-only folder. The same rule can print Applied, but the per-user logon fallback was not registered: <reason> after an all-users apply.

A signed-profile policy refuses my file (exit 4)

Refusing profile file '<path>': policy RequireSignedProfiles requires a trusted signature.

Sign the file (otw profile sign), keep the .sig next to it, and make sure the public key is in the trust store. otw profile verify <file> with no --key checks against the store. See Profiles.

otw watch diff says there is no baseline (exit 2)

Run otw watch snapshot first, from an elevated terminal. A baseline file that is not owned by an administrator is ignored for safety, so take a new snapshot in that case too.

otw startup cannot find an app (exit 4)

Use the name exactly as otw startup list shows it (case does not matter). If the name appears in more than one place, add --location.

A typo exits with 4, not 1

A mistyped command line exits with 4 (Run 'otw --help', or 'otw <command> --help', for usage.), and an unexpected failure with 2. Neither ever returns 1, so a detection script cannot mistake them for drift.

FAQ

Does it send my data anywhere?

No. There is no telemetry. The only network request it makes of its own is the update check you start yourself (otw check-update or Check for updates): one HTTPS request to GitHub Releases.

Will it break Windows Update or Defender?

No. It never sets update services to Disabled or changes their permissions, never disables Defender, UAC or protected services, and never blocks Microsoft in the hosts file. See Home.

Can I undo everything?

Yes: otw revert --all, or History > Undo everything… (new in v0.3.0). Changes that cannot be undone automatically, such as removed apps, are reported as not reversible, with how to get them back.

Does uninstalling undo my changes?

No. Revert first (otw revert --all), remove any scheduled task (otw task remove), then uninstall. The journals and audit trail in %ProgramData%\OpenTheWindows stay after uninstalling.

Do I need the System Restore point?

The journal is what revert uses, and it works without a restore point. The restore point is an extra safety net for the whole system, on by default.

Does it work on Windows 11 Home?

Yes. Some entries apply only to Pro, Enterprise or Education and are skipped as not applicable. The feature-update hold needs Pro or above. Home has no Group Policy engine, so policy values are written to the live policy key directly.

My PC is managed by my organisation. Will it fight my IT department?

No. Managed settings are reported and left alone. Only an administrator's explicit --break-glass overrides them, and that is audited.

Why does a scan show some entries as Unknown?

Entries that run a command (powercfg, auditpol, fsutil) cannot be read back, so a scan cannot tell whether they are in place.

Are the desktop app and the command line different tools?

No. They drive the same engine, share the same journal and history, and follow the same safety rules. The command line adds automation features: --break-glass, scheduled tasks, report formats and JSON.

How do I report a security problem?

Not in a public issue. Use GitHub's private vulnerability reporting on the repository (Security > Report a vulnerability), or e-mail the maintainer at the address on the GitHub profile with the subject [open-the-windows] security report. Journals from %ProgramData%\OpenTheWindows\journal help; redact anything sensitive. You get an acknowledgement within 72 hours.

Clone this wiki locally