Fix Windows Command Prompt Access Denied Errors - Resolve Windows Security Invalid Configuration Error-Stop PowerShell from Looping at Login

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