Reset Windows Security Using PowerShell: Step-by-Step - Fix Windows Defender Permission Denied Error-Resolve CMD Connection Refused Errors Caused by Firewall

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