Fix PowerShell Token Expired Error 401 - Windows Search 504 Gateway Timeout: Troubleshooting Checklist-Resolve Windows Activation Proxy Issues via Command Line

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