Cmd.exe in System32 is not working anymore.
SolvedDidi64_549 Posted messages 2764 Registration date Status Membre Last intervention -
Hello everyone, I recently encountered a problem: my cmd.exe in the system32 folder isn't working. For example, if I press Windows + R and type CMD, I get an error message stating that the application is not available on the computer. However, I can indeed launch cmd.exe from another folder, C:\Windows\SysWOW64, which is where I find it. I've tried to copy the cmd.exe from the SysWOW64 folder to system32, but it says access denied, even when I run CMD as an administrator. I don’t understand how to resolve this issue.
I think the cmd.exe in SysWOW64 is 64-bit and the one in system32 is 32-bit, and that this might be the issue, but how can I get the one in system32 to work again?
I hope I have provided enough detail. If you need more information, please don’t hesitate to ask. Thank you to those who take the time to help me.
3 réponses
Hello,
Error, SysWOW64 = 32-bit files
The 64-bit files are in System32
By right-clicking on the start button, use this command with Windows PowerShell (Admin)
CHKDSK /F C:
Respond Y for Yes to then restart Windows.
Next
Dism /Online /Cleanup-Image /RestoreHealth
Next
sfc /scannow
To perform a more advanced update or repair without data loss, use the MediaCreationTool to download a Windows ISO file. For Windows 11 you can do it directly.
Windows 11 if compatible, you can check with WhyNotWin11
https://github.com/rcmaehl/WhyNotWin11/releases
Windows 10 https://www.microsoft.com/fr-fr/software-download/windows10/
Windows 11 https://www.microsoft.com/fr-fr/software-download/windows11
Once the file is downloaded, open it with 7-Zip and extract everything into a folder anywhere except directly on C:\
https://www.7-zip.org/download.html
Click on the setup.exe that is in the extracted folder.
Hello,
Please try the following procedure:
Click on Start, then type cmd in the search box:
-
In the results area, right-click on cmd.exe and then click on Run as administrator.
-
You may need to type the password for an administrator account.
-
Click on Continue if you are an administrator or type the administrator password, then click on Continue.
-
At the command prompt, type Sfc /scannow and then press Enter.
The scan may take some time.
Please be patient as Windows repairs the damaged or missing files it detects.
If information from the installation CD-ROM is needed to fix the issue, you may be prompted to insert your personal Windows CD-ROM that you created.
For more information on the System File Checker (SFC) tool, please refer to the following Knowledge Base article on the Microsoft website:
Use the System File Checker tool to repair missing or corrupted system files in Windows Vista or Windows 7