Fix Windows Security 'Permission Denied' Error When Settings Won't Open - Windows License Expired After Upgrade: How to Reactivate-Fix 502 Bad Gateway with Windows Security Settings

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