Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cmd.exe is missing on Windows 7 64-bit

02 Oct 2015   #1
Vesnog

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 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 System SpecsSystem Spec
.
02 Oct 2015   #2
plodr

Home Premium and Pro 32 bit and 64 bit (4 computers)
 
 

Have you run sfc /scannow ?
If so, post the results - any error messages and numbers showing.
My System SpecsSystem Spec
02 Oct 2015   #3
Ztruker

Windows 10 Pro X64
 
 

C:\Windows\system32 is a hard link.

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

Quote:
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:

Quote:
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 System SpecsSystem Spec
.

03 Oct 2015   #4
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

Quote   Quote: Originally Posted by plodr View Post
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 System SpecsSystem Spec
03 Oct 2015   #5
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by AddRAM View Post
Quote   Quote: Originally Posted by plodr View Post
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
My System SpecsSystem Spec
03 Oct 2015   #6
plodr

Home Premium and Pro 32 bit and 64 bit (4 computers)
 
 

Quote:
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 System SpecsSystem Spec
03 Oct 2015   #7
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

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 System SpecsSystem Spec
03 Oct 2015   #8
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by Layback Bear View Post
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 System SpecsSystem Spec
03 Oct 2015   #9
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by plodr View Post
Quote:
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 System SpecsSystem Spec
03 Oct 2015   #10
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

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 System SpecsSystem Spec
Reply

 Cmd.exe is missing on Windows 7 64-bit




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Bootmgr.exe missing... mpio.sys missing or corrupted. Unable to boot
I just got a computer for free, a Dell Studio 1555. When I got it, it would try to boot, then come to a screen that said that bootmgr.exe was missing. Sometimes I got a message that said something like mpio.sys was corrupted or missing. I have a Win 7 disk, so I put it in and tried to repair the...
General Discussion
\$windows.~bt\windows\system32\winload.exe corrupted or missing
I have begun getting an error message on boot that that the file \$windows.~bt\windows\system32\winload.exe corrupted or missing. I've done the following: 1) Booted from Win7/64 Install (upgrade) disc and ran Repair System. No system errors found. 2) Booted from Win7/64 Install (upgrade)...
Installation & Setup
WIN7 virus.. Need help windows firewall is missing and my windows secu
So i have been all over the net to find a solution, and found many.. But i am not sure i have my doors complete lock.. I know my windows firewall is missing and my windows security center service cant be turn on (both are missing from the service logs) :-( so i have run malwarebytes + some...
System Security
Pictures missing suddenly and backgroung picture missing
i got on the pc this morning and noticed that where i have the picture saved on the desktop it was just black so i went into where my pictures are saved and there missing ?? but when i double click on one it will show any ideas please im lost on this ??
General Discussion
Win Explorer arrows missing, cursor spinning, libraries missing
New laptop (Lenovo W510), but I swapped boot disk for an SSD and reinstalled Win 7 64bit from recovery disks. I moved My Documents to D: and when I open Windows Explorer all looks fine. When I click on an arrow beside My Documents (or Music or anything), the arrow selected disappears, folder...
General Discussion
Missing boot menu and missing data partition
Hi there, I'm still very happy with my XP Pro, but I thought I'd set up a dual boot with Win7 ultima 64 and check it out. So I popped in another hdd that was sitting idly in a drawer and installed 7 on it. I fully expected that Win7 would be able to see there's an XP installation and create a...
Installation & Setup


Our Sites

Site Links

About Us

Find 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 13:20.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App