Clear Windows Activation Cache After Hardware Change - Fix npm Command Not Found on Windows 10-Fix 0x80070422 in Windows Defender: 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.