Fix Windows Defender 504 Gateway Timeout Error - Fix PowerShell Not Launching at System Startup-pnpm Frozen Lockfile Error 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.