Fix Windows Update 'Permission Denied' Errors - Resolve 'Access Denied' on Defender Registry Keys-Fixing pnpm Lockfile Permission Issues in CI

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