Repository navigation
Startup Apps App Access and Persistence Watch
(new in v0.3.0) These three features need v0.3.0 or later.
| Feature | What it answers | Changes anything? |
|---|---|---|
| Startup apps | Which apps start when I sign in, and can I stop one? | Only the on/off switch, journaled and revertable |
| App access | Which apps used my camera, microphone or location, and when? | No, read-only |
| Persistence watch | What started running automatically since I last looked? | No, apart from its own baseline file |

The list covers the places Task Manager's Startup apps tab reads, for all users and for the signed-in user:
Location (--location) |
Desktop app label | Where it is |
|---|---|---|
MachineRun |
All users (registry) | HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run |
MachineRun32 |
All users (registry, 32-bit) | HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run |
UserRun |
You (registry) | The signed-in user's SOFTWARE\Microsoft\Windows\CurrentVersion\Run
|
MachineStartupFolder |
All users (Startup folder) | The all-users Startup folder under %ProgramData%
|
UserStartupFolder |
You (Startup folder) | The signed-in user's Startup folder under their AppData
|
Turning an app off uses the same switch Task Manager and Settings > Apps > Startup use: a
value under ...\Explorer\StartupApproved that marks the app as off. The app's Run value or
shortcut is never touched, so the app stays installed and registered and can be turned back on.
Each change is a small journaled run (label startup-apps), so it appears in History and can
be undone with Revert run… or otw revert. Turning an app off is a Caution-risk change;
turning it on is Safe. The change takes effect at the next sign-in.
otw startup list
otw startup disable "Docker Desktop" --what-if
otw startup disable "Docker Desktop"
otw startup enable "Docker Desktop"list needs no elevation. Each line shows on or off, the location, the name and the command
line. enable and disable need an elevated terminal (or --what-if).
Names are matched without regard to case. If the same name is registered in more than one place, the command stops and asks you to choose:
'<name>' is registered in <n> places (<locations>); pass --location.
otw startup disable "<name>" --location UserRun| Exit | When |
|---|---|
0 |
Listed, or changed |
2 |
The change failed |
3 |
Unsupported OS |
4 |
No app by that name, or the name is in several places and --location was not given |
5 |
Not elevated |
Open Startup. The list loads when you open the page and shows On or Off, the name, the location and the command line.
| Control | What it does |
|---|---|
| Refresh | Reads the list again |
| Turn on | Lets the selected app start at sign-in again (select an app that is off) |
| Turn off… | Asks you to confirm (the app stays installed, and you can turn it back on here or revert the change from History), then turns it off |
The status line then says that the app will no longer start (or will start again) at your next sign-in.

Windows records, for each app, when it last started and stopped using a privacy-sensitive capability (in the CapabilityAccessManager consent store). App access reads those times. It never changes anything.
- By default it shows the camera, microphone and location (Windows calls them
webcam,microphoneandlocation). - Apps using one right now (started and not yet stopped) come first; the rest are newest first.
- A desktop app is shown by its program path; a Store app by its package family name.
- Apps with no recorded use are left out.
- It reads the signed-in user's records as well as the machine-wide ones.
otw access
otw access --all
otw access --jsonEach line is <capability> <when> <app>, where <when> is a local date and time, or
in use now. --all lists every capability Windows records, not only the three above. With
nothing recorded, it prints No recorded use.
| Exit | When |
|---|---|
0 |
Success |
3 |
Unsupported OS |
Open App access. The list loads when you open the page. Each row shows the capability (Camera, Microphone, Location, or the name Windows uses for another capability), In use now or the time, the app, and whether it is a desktop or Store app.
| Control | What it does |
|---|---|
| Show every capability | Also lists contacts, calendar, documents and the other capabilities Windows records |
| Refresh | Reads the recorded use again |
Malware and unwanted installers survive a restart by registering an autostart. The persistence watch records every autostart as a baseline, then later lists what was added, removed or changed since.
| Kind | Identified by | What is compared |
|---|---|---|
Service |
Service name (services and drivers) | Type, start type, image path and service DLL |
ScheduledTask |
Task path | Enabled state and actions |
RunKey |
HKLM or HKCU, the key and the value name, for Run and RunOnce (including 32-bit HKLM) |
The command line |
StartupFolder |
File path, in the all-users and the signed-in user's Startup folders | Size and last-modified time |
The baseline is saved as %ProgramData%\OpenTheWindows\state\persistence-baseline.json. The
folder is kept administrators-only, the file is replaced atomically, and a baseline that is not
owned by an administrator (or does not parse) is ignored, because a planted baseline could hide an
autostart from the comparison.
Both commands need an elevated terminal, so the snapshot and the comparison see the same set.
otw watch snapshot
otw watch diffsnapshot replaces any earlier baseline and prints Recorded <n> autostarts as the baseline.
diff prints the baseline time and the number of changes, then each change: Added, Removed
or Changed, the kind, the key, and what it runs (was: and now: for a change). It exits with
1 when something changed, so a script or scheduled job can alert on it:
otw watch diff
if ($LASTEXITCODE -eq 1) { Write-Warning 'New or changed autostarts since the baseline.' }| Exit | When |
|---|---|
0 |
Baseline recorded, or no changes since it |
1 |
Changes found |
2 |
No baseline yet: the message asks you to run otw watch snapshot first |
3 |
Unsupported OS |
5 |
Not elevated |
The persistence watch is at the bottom of the Startup page.
| Control | What it does |
|---|---|
| Record baseline… | Asks to confirm, then records every service, scheduled task, Run entry and Startup-folder item as the baseline, replacing any earlier one |
| Compare | Lists each difference as New, Gone or Changed, with the kind (Service, Scheduled task, Run key, Startup folder), its name, and what it runs |
Good practice: record a baseline on a clean, freshly set-up PC, and compare after installing software or whenever something seems off.
Open the Windows is free software under the MIT license · Source on GitHub