
After the sfc scan is finished, you can restart your computer and open command prompt again. when the command stops running, the command prompt window it ran in automatically closes. for example, you’re running ipconfig.exe. oftentimes, command prompt suddenly disappears if you’re running a cmd specific command in a run window.

Fix command prompt appears and disappears check if you’re really running the command in cmd.
