Check Which Process Locked a File Using PowerShell - Fix Windows Activation Error 0x8007232b-Task Scheduler Setup During Server Migration

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