windows-internals

Focus Assist per user: the quiet-hours registry, decoded

Quiet hours are per-account state stored under documented HKCU paths — with begin/end minute counts and priority rules. The map for scripting it cleanly.

ProofTune Project··4 min read
Windows internals illustration Windows internals

Where settings are stored

Focus Assist ("Do not disturb") state sits under HKCU\Software\Microsoft\Windows\CurrentVersion\…QuietHours\… profile-tree values in Windows 11 (minute-since-midnight begin/end; off-hours rules as separate subkeys). It's per-user structured state with a supported UI counterpart.

The safe automation boundary

  • Read freely, write conservatively: scheduled flipping (Focus at work hours) is a supported per-user scripting pattern; plows through notification-policies namespaces isn't.
  • App exceptions are per-user list-membership; reset = delete the app's rule item, never whole-tree deletes.
  • Alarm/repeat callers bypass categories have fixed meaning in the platform — see Focus settings page for what "priority" really admits.

Documentation first: when a behavior is this personal (millions of alarms daily), the platform stores it per account for a reason. Leave machine defaults alone everywhere else.

ProofTune ProjectEngineering notes — every claim here names the bytes a real tool touches. Verify first, install second.
ProofTune logo

See these exact settings inside the real tool

The browser replica runs the same strings and states as the installed app — click around before you ever install anything.