Fix Remote Desktop Gateway Server Unavailable Error Code 500 - How to Flush Task Scheduler Cache from Command Line-Windows Update Broke Task Scheduler: Fix 404 Not Found

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