Pcornel
Windows · Registry

Registry Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3037

Back to the Topic

Answer

Troubleshoot the registry by exporting keys before changes (reg export), checking permissions on keys, using Process Monitor to see which keys an app reads, and restoring hives from backup or RegBack if Windows cannot start.

Remember

  • Export keys before changing them.
  • Process Monitor shows which keys an app reads.
  • Group Policy may overwrite manual changes.

First checks

  • Get-ItemProperty 'HKLM:\<path>' — read values
  • reg query <key> /s — query in CMD
  • reg export <key> <file>.reg — back up a key
  • Get-Acl 'HKLM:\<path>' | fl — key permissions
  • procmon (Process Monitor) with a Path filter — which key a program reads or fails to read

Verify in this order

program reads the key → found/not found/denied → value applied

Where it usually breaks

First mismatch in target identity/version → persistent configuration/source of truth → provider/service/control plane → runtime/effective state → user/workload-visible result → event/log evidence; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3037

Confirmation

Confirm action

Continue?