Files
ThreadPilot/docs/TROUBLESHOOTING.md
Prime Build 03872a39b8 fix: recover saved-rule monitoring after sleep (v1.7.9) (#96)
Renew WMI subscriptions after resume, unlock, watcher failure or prolonged silence, then rescan processes and reapply saved rules. Retry unavailable executable paths, initialize diagnostics before monitoring, and use the shared startup path. Include regression tests and v1.7.9 release metadata. Related to #95; keep open pending reporter confirmation.
2026-11-11 15:11:56 +01:00

2.0 KiB

Troubleshooting

SmartScreen Warning

ThreadPilot releases are currently unsigned. Windows SmartScreen may warn before first launch.

What to do:

  • Verify the installer hash using SHA256SUMS.txt from the release page.
  • Open file Properties and check the downloaded path/source.
  • Use "More info" then "Run anyway" only after verification.

UAC Prompt and Elevation

ThreadPilot requires administrator privileges at startup.

What to do:

  • Launch ThreadPilot and approve the UAC prompt.
  • If elevation is denied, restart and approve elevation.
  • For startup automation, ensure the launch task runs with highest privileges.

WMI Errors or Delayed Process Detection

If WMI is unavailable or slow, process event monitoring can degrade.

What to do:

  • Ensure the Windows Management Instrumentation service is running.
  • Reboot if repository consistency is suspected to be corrupted.
  • Keep fallback polling enabled (default behavior).

Saved Rules and Unavailable Executable Paths

A path-based saved rule can wait for executable metadata when a process first appears. ThreadPilot retries metadata lookup up to three times, with delays totaling three seconds, independently of WMI or fallback polling. It stops when the path is available, the process exits, monitoring stops, or the relevant rule is removed or disabled. The refreshed path must still match the current rule.

Look for PersistentRulePathRetry events in %LOCALAPPDATA%\ThreadPilot\Logs for scheduling, recovery, cancellation, exhausted retries, and matching/application outcomes. If the path stays inaccessible, the rule remains unapplied; retries do not run indefinitely.

Performance Counter Access Denied

Some performance counters may fail on restricted systems.

What to do:

  • Run with elevated privileges.
  • Ensure Performance Logs and Alerts services are healthy.
  • Validate that perflib counters are enabled on the machine.

Smoke Test Command

For CI or local validation:

ThreadPilot.exe --smoke-test

Exit code 0 means startup wiring and DI resolution succeeded.