Fix Task Scheduler 404 Not Found Error When Creating Task - Fix Task Scheduler 504 Gateway Timeout-Windows Defender Access Denied Error Fix

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.