Fix PowerShell 'File Locked' or 'Permission Denied' Errors - How to Fix Windows Update Download Permission Issues-Troubleshoot Error 0x80070005 with Registry Edits

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