How to Fix DNS Errors by Setting Up Windows Defender - How to Resolve Windows Defender Gateway Error 502-Permission Denied with pnpm install --frozen-lockfile

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