Fix 'Not Recognized as Internal or External Command' Error - How to Get Command Prompt Back After Windows Update-Checklist for Diagnosing Windows Activation 504 Timeout

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