Fix 'Access Denied' Error in Windows Update on Windows 10 - Enable PowerShell Scripts on Windows 11-Delete a Locked File Using Command Prompt

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