Fix Windows Update Error 0x80070005: Access Denied - Git Detached HEAD: How to Recover-How to Fix Git 'index.lock' File Exists Error

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