How to Enable Windows Defender Real-Time Protection in Windows 10 - How to Fix 'Running Scripts Disabled' in VS Code PowerShell-How to Stop Windows Defender Real-Time Protection from Turning Off

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