Skip to content

Profiles

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

Profiles

A profile applies a curated set of catalogue entries in one step. It sets a level dial for each of the six categories, can force entries in or out, and says whom it applies to and how.

The Profiles page with the built-in profiles, their signing state and what each one changes

Built-in profiles

Seven profiles ship inside the product:

Id Name For
home Home Everyday consumer PC. Sensible privacy and cleanup with zero functional loss the household would notice; updates stay close to default.
developer Developer Developer workstation. Balanced privacy and security that will not interfere with tooling, with performance tuned up and the shell kept usable.
gamer Gamer Gaming desktop. Maximum performance and heavy debloat, privacy kept balanced and updates near default so anti-cheat and drivers keep working.
power-user Power User Enthusiast single-user desktop. Strong privacy, aggressive performance and a decluttered shell, accepting minor, well-understood trade-offs.
privacy-max Privacy Max Privacy above convenience. Every non-breaking telemetry, cloud and tracking control on, with strong security and debloat; expect some cloud features to stop working.
enterprise-workstation Enterprise Workstation Managed corporate device. Strict privacy and security hardening, updates kept controllable but not aggressive, applied to every user on the machine.
kiosk-shared Kiosk / Shared Locked-down shared or single-purpose device. Strict privacy, security and debloat with a minimal shell, applied to every user including future ones.

Their level dials:

Id Privacy Updates Security Performance Debloat Shell
home Balanced Basic Balanced Balanced Basic Basic
developer Balanced Balanced Balanced Strict Balanced Balanced
gamer Balanced Basic Basic Paranoid Strict Balanced
power-user Strict Balanced Balanced Strict Balanced Balanced
privacy-max Paranoid Balanced Strict Balanced Strict Balanced
enterprise-workstation Strict Balanced Strict Basic Balanced Basic
kiosk-shared Strict Balanced Strict Balanced Strict Strict

And their other settings:

Id Scope Also includes Allows Advanced Restarts Explorer Intended editions
home User none No Yes Any
developer User updates.delivery-optimization.http-only Yes Yes Any
gamer User none Yes Yes Any
power-user User updates.delivery-optimization.http-only Yes Yes Any
privacy-max User updates.delivery-optimization.http-only Yes Yes Any
enterprise-workstation AllUsers updates.delivery-optimization.lan-only Yes No Pro, Enterprise, Education
kiosk-shared AllUsers updates.delivery-optimization.lan-only Yes No Pro, Enterprise, Education

Every built-in profile creates a restore point, uses Verified entries only, and never allows Breaking entries.

Inspect any of them:

otw profile list
otw profile show enterprise-workstation

Use a profile

Where How
Command line otw scan --profile home, otw apply --profile home, otw remediate --profile home, otw task install --profile home
Your own file Pass a path instead of an id: otw apply --profile .\team.json
Desktop app Profiles page: select a profile, then Review & apply…

The desktop app's Enterprise mode setting hides the consumer-only profiles (Home and Gamer) from the Profiles page.

The four levels (basic, balanced, strict, paranoid) also work as --profile values. They set every category to the same level, use Verified entries only (unless --include-draft), and have no profile options of their own.

How a profile picks its entries

  1. For each category, take every entry the level dial selects, dropping Advanced and Breaking entries unless the profile's options allow them.
  2. Add every id in include, whatever its level.
  3. Remove every id in exclude. Exclude always wins.
  4. Keep only entries that apply to this PC's edition, build and architecture.
  5. Settle conflicting entries so the plan can always be applied: an explicitly included entry wins, then the higher level, then the one earlier in the catalogue.

The run's risk gate still applies afterwards: an Advanced entry, even an included one, needs allowAdvanced in the profile or --allow-advanced, and a Breaking entry needs allowBreaking or --allow-breaking (see Levels, Risk and Verification).

The profile file format

A profile is a JSON file. This is the built-in enterprise-workstation profile:

{
  "$schema": "https://github.com/RandyNorthrup/open-the-windows/catalog/schema/profile.schema.json",
  "schemaVersion": 1,
  "id": "enterprise-workstation",
  "name": "Enterprise Workstation",
  "description": "Managed corporate device. Strict privacy and security hardening, updates kept controllable but not aggressive, applied to every user on the machine.",
  "levels": { "Privacy": "Strict", "Updates": "Balanced", "Security": "Strict", "Performance": "Basic", "Debloat": "Balanced", "Shell": "Basic" },
  "include": ["updates.delivery-optimization.lan-only"],
  "exclude": [],
  "includeDraft": false,
  "scope": "AllUsers",
  "options": { "restorePoint": true, "restartExplorer": false, "allowAdvanced": true, "allowBreaking": false },
  "appliesTo": { "editions": ["Pro", "Enterprise", "Education"], "minBuild": null, "maxBuild": null, "architectures": [] }
}

Every field except $schema is required, and unknown fields are rejected.

Field Rules
schemaVersion 1
id Lower-case letters, digits and hyphens (for example team-baseline), up to 64 characters
name Display name, up to 80 characters
description Who it is for, up to 400 characters
levels One of Off, Basic, Balanced, Strict, Paranoid for each of Privacy, Updates, Security, Performance, Debloat, Shell
include Entry ids forced in regardless of level
exclude Entry ids removed; exclude wins over include
includeDraft true lets the level dials select Draft entries
scope User or AllUsers (see Scope)
options.restorePoint Request a System Restore point before applying
options.restartExplorer Restart Explorer when an entry needs it
options.allowAdvanced Permit Advanced-risk entries
options.allowBreaking Permit Breaking-risk entries
appliesTo editions (Home, Pro, Enterprise, Education), minBuild and maxBuild (22000 or above, or null), architectures (x64, arm64). Empty lists and null mean any. Describes the machines the profile is intended for; each entry is still checked against the PC on its own.

Check a file before you use it:

otw profile validate .\team.json

Validation checks the file against the schema, then reports as errors an include id that does not exist and, for built-in profiles, an included Breaking entry or allowBreaking. It warns about an unknown exclude id, an id in both lists, and an included entry that is deprecated.

Scope

Scope Whose per-user settings change
User The signed-in user only. Machine-wide entries apply as usual.
AllUsers Every real user profile on the PC. The registry hives of users who are signed out are loaded for the run and unloaded after.

otw users lists the profiles an all-users run would reach.

After an all-users apply completes, the command line (otw apply and otw remediate) also registers a logon fallback, so users who were signed out, and users added later, are brought in line at their next sign-in:

  • It is an Active Setup component named {OTW-<profile id>} under HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components.
  • At sign-in it runs otw.exe remediate --user-scope --profile <profile>, which applies only the per-user entries to that user's own settings, without elevation.
  • A profile file is first copied to %ProgramData%\OpenTheWindows\profiles, so the fallback never reads a file a standard user can edit.
  • It is not registered while Windows setup (OOBE) is running, or when otw.exe sits in a folder a non-administrator could change.
  • otw task remove removes every such component.

Capture a PC as a profile

New in v0.3.0.

Capture scans a PC and writes a profile of the catalogue settings it already has, so you can reproduce that configuration elsewhere. Nothing on the scanned PC changes.

otw profile capture --out .\reference-pc.json --id reference-pc --name "Reference PC"

On the desktop app, select Capture this PC… on the Profiles page.

What the captured profile contains:

  • every dial set to Off, and an include list of the entries already in place;
  • Verified entries only (Drafts too with otw profile capture --include-draft);
  • never a Breaking entry;
  • allowAdvanced only when it includes an Advanced entry;
  • scope User, restorePoint on, restartExplorer off;
  • a default id of captured-<yyyyMMdd> and a default name of Captured from <computer>.

The file is validated before it is written. Run the command-line capture from an elevated terminal, because some of the settings it reads need administrator rights.

Import and export (desktop app)

On the Profiles page:

  • Import… loads a .json profile, validates it and shows its signing state: Unsigned, Signed (trusted), Signed (untrusted key) or Invalid signature. Built-in profiles show Built-in.
  • Export… saves the selected profile to a .json file.

Signing profiles

Profiles can carry a detached ES256 (ECDSA P-256) signature in a <profile>.sig file next to them. The signature covers exactly the text that is then used, so the file cannot be swapped between checking and use. A signed document with a duplicate JSON property never verifies.

1. Create a key pair

The project does not ship a key generator. In PowerShell 7 you can create a P-256 key pair with .NET:

$key = [System.Security.Cryptography.ECDsa]::Create([System.Security.Cryptography.ECCurve+NamedCurves]::nistP256)
Set-Content -Path signing-key.pem -Value $key.ExportPkcs8PrivateKeyPem()
Set-Content -Path signing-key.pub.pem -Value $key.ExportSubjectPublicKeyInfoPem()

Keep signing-key.pem (the private key) secret. Distribute only signing-key.pub.pem.

2. Sign

otw profile sign .\team.json --key .\signing-key.pem
Signed '.\team.json' -> '.\team.json.sig' (keyId 7c604ebd94a35b2642335fa1e444a315c08791cf61db71590148d7e561694c18).

A profile that fails validation is never signed. Use --out to write the signature elsewhere.

3. Verify

Against a specific public key:

otw profile verify .\team.json --key .\signing-key.pub.pem
Signature valid (alg ES256, keyId 7c604ebd94a35b2642335fa1e444a315c08791cf61db71590148d7e561694c18).

Against the machine trust store (no --key):

otw profile verify .\team.json

The machine trust store

The trust store is the folder %ProgramData%\OpenTheWindows\trusted-keys. Every *.pem public key in it is trusted, with two conditions that stop a standard user from adding a signer:

  • the folder, and %ProgramData%\OpenTheWindows above it, can be changed only by administrators and SYSTEM;
  • each key file is owned by, and writable only by, administrators.

A key that fails either check is ignored. Add keys from an elevated prompt, then confirm with otw profile verify <file>. With an empty or untrusted store, verify reports:

No public key given (--key) and no trusted keys in 'C:\ProgramData\OpenTheWindows\trusted-keys'.

Require signed profiles

An administrator can turn on the Require signed profiles policy (RequireSignedProfiles, see Enterprise Deployment). Then:

Covered Not covered
Profile files passed to scan, apply and remediate Built-in profiles (home, enterprise-workstation and so on)
Profiles imported on the desktop app's Profiles page The level names basic … paranoid
Extra catalogue files loaded with --catalog-dir

A covered file must have a <file>.sig that verifies against a key in the trust store. Otherwise it is refused:

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

The command exits with 4. On the desktop app, the imported profile shows an error and Review & apply… stays disabled.

When otw task install or the logon fallback uses a profile file, the file is copied to %ProgramData%\OpenTheWindows\profiles together with its .sig.

Clone this wiki locally