Set PATH Variable to Fix 'Command Not Found' in CMD - Windows Search Registry Edit Login Loop Fix-Windows 10 Command Prompt DNS Error Troubleshooting

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