Resolving PowerShell Login Loop and Sync Issues - Restore Windows Search Settings from Backup Guide-Fix 'Command Not Found' in Task Scheduler on Windows Server

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