How to Reinstall Windows Security in Windows 10 - Resolve GitHub Actions Pending Workflow-Fix 'Access Denied' on Windows Security Log

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