Fix 'npm command not found' and Permission Denied Errors - Resolve Command Prompt Permission Denied Error-Fix Windows Activation High Memory Usage in Safe Mode

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