Skip to content

Getting Started

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

Getting Started

This page takes you from download to your first reversible change.

Requirements

Item Requirement
Windows Windows 11 (build 22000 or later), client editions: Home, Pro, Enterprise, Education
Not supported Windows Server (refused) and Windows 10 or older
Processor x64 or ARM64
Rights Administrator rights to change anything. Many reads work without them.
.NET Nothing extra for the MSI or the portable ZIP. The -fdd ZIP needs the .NET 10 Desktop Runtime.

Check a machine at any time with otw doctor. It reports the OS, edition and build, whether the machine is supported, and whether the session is elevated.

Download

Releases are on the project's GitHub Releases page. The current release is v0.3.0, which publishes these files:

File What it is
OpenTheWindows-0.2.0-win-x64.msi Per-machine installer, x64
OpenTheWindows-0.2.0-win-arm64.msi Per-machine installer, ARM64
OpenTheWindows-0.2.0-win-x64.zip Portable, self-contained, x64
OpenTheWindows-0.2.0-win-arm64.zip Portable, self-contained, ARM64
OpenTheWindows-0.2.0-win-x64-fdd.zip Smaller framework-dependent ZIP (needs the .NET 10 Desktop Runtime)
sbom.cdx.json CycloneDX software bill of materials
SHA256SUMS.txt SHA-256 sums of every file above

Verify the download

Every release carries SHA-256 sums and GitHub build-provenance attestations:

Get-FileHash .\OpenTheWindows-0.2.0-win-x64.zip -Algorithm SHA256
gh attestation verify .\OpenTheWindows-0.2.0-win-x64.zip --repo randynorthrup/open-the-windows

Compare the hash with the matching line in SHA256SUMS.txt.

v0.2.0 and earlier are not Authenticode-signed, so the first run shows a SmartScreen prompt: choose More info, then Run anyway. From v0.3.0 on, the programs, their own DLLs and the MSIs are signed with Azure Artifact Signing, and Windows shows the publisher Randy Northrup. SmartScreen can still warn about a newly signed release until the publisher builds up a reputation. See Enterprise Deployment to check a signature.

Install with the MSI (recommended)

Double-click the MSI, or install silently from an elevated prompt:

msiexec /i OpenTheWindows-0.2.0-win-x64.msi /qn

The MSI is per-machine and does the following:

What Where
Desktop app C:\Program Files\Open the Windows\app\OpenTheWindows.exe
Command-line tool C:\Program Files\Open the Windows\cli\otw.exe
Start-menu shortcut Open the Windows
PATH entry Adds the cli folder to the system PATH (its own feature, installed by default), so otw works in a new terminal
Event Log source Registers log OpenTheWindows, source OTW
Data folder Creates C:\ProgramData\OpenTheWindows

A newer MSI upgrades an older one in place, and there is one entry in Installed apps. A downgrade is refused.

Installing with the MSI also matters for scheduled tasks: otw task install only schedules an otw.exe that standard users cannot change, and the Program Files location qualifies.

Use the portable ZIP

Extract the ZIP to a folder. It contains two folders:

Folder Contains
app OpenTheWindows.exe, the desktop app
cli otw.exe, the command-line tool

The portable copy does everything the installed one does, with one exception: it cannot register the SYSTEM scheduled task or the all-users logon fallback from a folder a standard user can change (for example Downloads or a folder made directly under C:\). Install with the MSI, or copy the files to an administrator-only folder, to use those.

Elevation

  • The desktop app always asks for administrator rights (UAC) when it starts.
  • The command-line tool runs with the rights of the terminal you start it from. Open Terminal (Admin) or PowerShell as administrator for anything that changes the machine. A command that needs elevation and does not have it stops with exit code 5, for example:
Apply needs an elevated token. Re-run from an elevated prompt.
  • --what-if previews never need elevation.
  • Some reads also need elevation. A scan at the balanced level or above reads the local password and lockout policy, which only works elevated. When in doubt, use an elevated terminal.

First run: the desktop app

  1. Start Open the Windows from the Start menu and accept the UAC prompt.
  2. The Dashboard shows the system check: OS, edition, who it runs as, and whether this session can apply changes. Select Score this machine to see how the PC compares with the built-in security baselines. Scoring is read-only.
  3. Open a category, for example Privacy. Select Scan to badge each entry as In place, Not applied or Managed. Scanning changes nothing.
  4. Move the Level dial to Basic. It ticks the Verified entries a Basic profile would apply. Untick anything you do not want.
  5. Select Review & apply…. The dialog shows exactly what will change. Select Apply to make the change, or Cancel.
  6. Open History to see the run. Revert run… puts back exactly what it changed.

See Desktop App for every page and control.

First run: the command line

Run these from an elevated terminal:

otw doctor
otw scan --profile basic
otw apply --profile basic --what-if
otw apply --profile basic
otw history
otw revert last
Step What it does
otw doctor Confirms the machine is supported and the session is elevated
otw scan --profile basic Read-only: lists what differs from the Basic level. Exit code 1 means drift was found.
otw apply --profile basic --what-if Shows the plan and changes nothing
otw apply --profile basic Requests a System Restore point, journals the current values, applies, and verifies each change
otw history Lists past runs, newest first
otw revert last Restores what the most recent run changed

otw doctor prints a report like this (the user line shows your own account):

Open the Windows 0.2.0

OS:        Windows 11 Pro 25H2 (build 26200.9711, x64)
Edition:   Professional / Client
User:      <computer>\<user> (not elevated)
Status:    Supported
Can apply: no

  - Not running elevated. Read-only operations (scan, report) work; apply and revert require administrator rights.

Instead of a level you can apply a built-in profile such as home or privacy-max. See Profiles. Every command is in the Command-Line Reference.

Uninstall

Uninstalling does not undo the changes the tool made. To return the PC to how it was first, revert everything, then remove any scheduled task:

otw revert --all
otw task remove

(otw revert --all is new in v0.3.0. With v0.2.0, revert runs one at a time with otw revert <run>.)

Then uninstall from Settings > Apps > Installed apps, or silently:

msiexec /x OpenTheWindows-0.2.0-win-x64.msi /qn

The uninstall removes the Event Log source. It keeps C:\ProgramData\OpenTheWindows (journals and audit trail) on purpose. Delete that folder by hand if you no longer need the records.

Clone this wiki locally