Fix PowerShell Connection Refused on Localhost - Fix Windows Security Cache Sync Errors: Step-by-Step Guide-Set PATH Variable to Fix 'Command Not Found' in CMD

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.