Check Which Process Locked a File Using PowerShell - Troubleshooting Windows Search 504 Timeout-OneDrive Not Syncing Automatically: Step-by-Step 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.