Fix VS Code PowerShell Permission Denied for Git Commands - How to Break a Windows Login Loop Caused by Registry Edit-Fix 'wuauclt: command not found' Error

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