Fix 'Access Denied' When Clearing Command Prompt Cache - Reduce OneDrive High CPU and Memory Usage-Fix PowerShell 504 Gateway Timeout on Windows Server

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