Fix PowerShell Token Expired Error 401 - How to Reset Command Prompt Settings to Default-Windows Terminal Authentication Failed: AD Troubleshooting

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