Repository navigation
Troubleshooting and FAQ
| 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 |
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.
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 (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.
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.
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.
'<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.
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 |
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.
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.
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.
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.
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.
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.
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 '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.
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.
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.
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.
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.
| 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.
Some changes cannot be put back automatically, for example a removed app. Check how to get it back:
otw catalog show debloat.apps.remove-tipsThe Appx action's ReinstallHint says how, for example from the Microsoft Store.
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.
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 KB5063878. Search for updates, then retry.
You can only hide an update Windows has already found. Check for updates in Settings, then retry.
Windows Home ignores the target-version policy, so otw updates target refuses it (exit 4). Pause
updates instead.
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.
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.
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.
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.
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 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.
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.
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.
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.
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.
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.
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.
No. Managed settings are reported and left alone. Only an administrator's explicit
--break-glass overrides them, and that is audited.
Entries that run a command (powercfg, auditpol, fsutil) cannot be read back, so a scan
cannot tell whether they are in place.
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.
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.
Open the Windows is free software under the MIT license · Source on GitHub