Fix PowerShell Failed to Initialize Properly on Windows - Fix Windows Defender Disabled by Group Policy: Step-by-Step-Fix pnpm Frozen Lockfile 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.