Fix Windows Terminal Setup Configuration Update Errors - Fix 'PowerShell Not Recognized' Error on Windows-Windows Terminal 504 Error After Update Fix

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