Fix Windows Update 502 Bad Gateway After Update - Windows Activation After Hardware Swap – Settings Guide-Resolve Task Scheduler Invalid Configuration

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.