Fix npm command not found without sudo - How to Fix 'Access Denied' in Windows Defender via Group Policy-Reset Network Settings via Command Prompt: Step-by-Step

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