Fix Task Scheduler Error Code 0x1: Practical Steps - Windows Defender 502 Bad Gateway: Configuration and Troubleshooting-Troubleshooting Microsoft Store Startup Errors

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