Command Prompt Keeps Closing Immediately: Fix Guide - Windows Defender Error 0x8007042c Fix Guide-Windows Search Port Conflict Troubleshooting CMD

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