Fix nvm not working in CMD or PowerShell on Windows - Fix Windows Defender Connection Refused via Registry-PowerShell Clipboard Access Denied – How to Fix

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