Check Which Process Locked a File Using PowerShell - Step-by-Step Guide: Fix DNS Error in Windows Security-Reset Windows Terminal to Factory Defaults

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