Fix Kubernetes kubectl Connection Refused and Permissions Errors - Fix nvm not working in CMD or PowerShell on Windows-How to Configure KMS Activation for Windows 10

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