Fixing BitLocker Invalid Configuration Errors - Fix 504 Gateway Timeout with Curl Command-Resolve PowerShell 404 with Invoke-WebRequest

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