How to re-install command prompt in windows 10, if it’s suddenly missing from the system?

This morning, cmd.exe is missing from my computer (Windows 10), from the regular path C:windowsSystem32cmd.exe. Please don’t advice on location check. My query is –

  1. Is this a serious issue? Like some kind of malware attack?

  2. Is it possible to get back / re-install command prompt (results from google / youtube are not helpful). I don’t have a recovery partition.


  1. Yes it could be evidence of a virus or malware
  2. Yes you may be able to get back the command prompt by doing the following:
    1. Run powershell as admin
    2. Run the command sfc /scannow

It will repair missing or corrupted system files.