Cmd.exe is missing on Windows 7 64-bit

Page 1 of 2 12 LastLast

  1. Posts : 45
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #1

    Cmd.exe is missing on Windows 7 64-bit


    Greetings,

    On my Windows 7 64-bit PC the cmd.exe file is missing under the /system32 folder probably due to a infection. I cannot reach the command prompt via start menu, run dialogue, system32 folder and task manager. How can I restore it? Could someone post the cmd.exe file on their system if possible?
      My Computer


  2. Posts : 54
    Home Premium and Pro 32 bit and 64 bit (4 computers)
       #2

    Have you run sfc /scannow ?
    If so, post the results - any error messages and numbers showing.
      My Computer


  3. Posts : 6,285
    Windows 10 Pro X64
       #3

    C:\Windows\system32 is a hard link.

    On my Windows 7 Pro X64 system, it's:

    C:\Windows\System32>fsutil hardlink list "C:\Windows\System32\cmd.exe"

    \Windows\winsxs\amd64_microsoft-windows-commandprompt_31bf3856ad364e35_6.1.7601.
    17514_none_e932cc2c30fc13b0\cmd.exe

    \Windows\System32\cmd.exe

    If you have a cmd.exe in the same \Windows\winsxs path then try this:

    Open a Elevated Command Prompt and use fsutil to re-create the hardlink:

    C:\Users\rrkurtz>fsutil hardlink create /?
    Usage : fsutil hardlink create <new filename> <existing filename>
    Eg : fsutil hardlink create c:\foo.txt c:\bar.txt
    fsutil hardlink create \Windows\System32\cmd.exe
    \Windows\winsxs\amd64_microsoft-windows-commandprompt_31bf3856ad364e35_6.1.7601.
    17514_none_e932cc2c30fc13b0\cmd.exe

    All the above is on one line.
      My Computer


  4. Posts : 13,576
    Windows 10 Pro x64
       #4

    plodr said:
    Have you run sfc /scannow ?
    If so, post the results - any error messages and numbers showing.
    How could he run a sfc without command prompt ?

    Try using windows power shell.
      My Computer


  5. Posts : 10,485
    W7 Pro SP1 64bit
       #5

    AddRAM said:
    plodr said:
    Have you run sfc /scannow ?
    If so, post the results - any error messages and numbers showing.
    How could he run a sfc without command prompt ?

    Try using windows power shell.
    And for some pretty pictures, see the link below:
    My Windows dont have CMD
    Last edited by UsernameIssues; 03 Oct 2015 at 19:34.
      My Computer


  6. Posts : 54
    Home Premium and Pro 32 bit and 64 bit (4 computers)
       #6

    How could he run a sfc without command prompt ?
    When I type it in the run box, I get an exe I can click on.
      My Computer


  7. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #7

    Your post #1 and post #6 seem to contradict each other.

    When typing in the Search off of the Start Orb (cmd), do you or do you not get (cmd.exe)?
      My Computer


  8. Posts : 10,485
    W7 Pro SP1 64bit
       #8

    Layback Bear said:
    Your post #1 and post #6 seem to contradict each other.

    When typing in the Search off of the Start Orb (cmd), do you or do you not get (cmd.exe)?
    Post #1 is by Vesnog
    Post #6 is by plodr
      My Computer


  9. Posts : 10,485
    W7 Pro SP1 64bit
       #9

    plodr said:
    How could he run a sfc without command prompt ?
    When I type it in the run box, I get an exe I can click on.
    The OP "cannot reach the command prompt via start menu, run dialogue, system32 folder and task manager."
      My Computer


  10. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #10

    What I'm trying to find out is, can the OP forget the run box and just type in (cmd) in the Search programs and files off of the Start Orb.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:49.
Find Us