Fix Windows Defender Real-Time Protection Stuck on Turning Off - Fixing Python UnicodeDecodeError with latin-1 Codec-Resolve Limited Network Access on Windows 11

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