Command Prompt Keeps Closing Immediately: Fix Guide - Pre-Migration Checklist for Switching to Office 365-Fix Windows Activation Error 0x80070005: File Locked

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