Check Which Process Locked a File Using PowerShell - How to Fix Access Denied in PowerShell Get-ChildItem-Fix Remote Desktop Permission Denied Errors

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