Menu
Menu

How to fix the command prompt that disappears (Windows)

Posted in Computers, Software on September 27, 2016
Tags: , ,

I had a problem. My Windows XP Command Line (aka CMD aka Command Prompt aka MS Dos Prompt) disappears when I try to do things. I try to ping and it startsĀ disappearing. I try to run reg edit, it disappears. It wouldn't do anything. And then I got an error.

NTVDM CPU has encountered an illegal instruction
Nooooooooooooooooooooooooo!

NTVDM exe has generated errors and will be closed by Windows

NTVDM.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.

I did some searching and came up with this very very helpful thread titled, well you know it, NTVDM CPU has encountered an illegal instruction

Here's the solution that was posted:

Step 1

Download Killbox from here to your desktop.
Double-click killbox.exe
Click on Tools > Delete Temp Files and click ok.
Select the option "Delete on reboot".
Now highlight and 'copy' (Ctrl + C) the entire list of filepaths below:

C:\Program Files\MsConfigs\MsConfigs.exe
C:\Windows\system32\p2pnetwork.exe
C:\Windows\system32\CMD.COM
C:\Windows\system32\netstat.com
C:\Windows\system32\ping.com
C:\Windows\system32\regedit.com
C:\Windows\system32\tasklist.com
C:\Windows\system32\taskkill.com
C:\Windows\system32\taskmgr.com
C:\Windows\system32\tracert.com
C:\Windows\system32\bt.exe
C:\Windows\system32\z.tmp
C:\Windows\system32\bszip.dll

Click 'File' on the killbox menu at the top and choose 'Paste from clipboard'

The entire list should now be in the "Full Path of File to Delete" field.
To check, click on the dropdown-arrow next to that field.
If you expand it, these lines should all be there.

Then press the red button with a white X in it.
Killbox will tell you that all listed files will be deleted on next reboot, click YES
When it asks if you would like to Reboot now, click YES
If you get a "PendingFileRenameOperations Registry Data has been Removed by External Process!" message then just restart manually.

I reposted the solution from the forum I found it in case it ever goes down and somebody needs this helpful information. I did it, and now everything is back to working as normal. Thank God!

Leave a Reply

Your email address will not be published. Required fields are marked *