How To Fix Windows Cannot Find MSCONFIG Error at RUN Command

Recently I got a report from a customer that their computer had been infected by a virus. The description of the problem was the computer was running slow, it can’t save any documents because the hard drive is nearly full although there aren’t that many files, and the Internet Explorer font is weird. The first thing that I always do before anything is run MSCONFIG (System Configuration Utility) and check the startup entries there. It’s not the best tool to check for every programs that starts up with Windows, but it’s a basic built in one which is able to give a rough idea if the computer is infected by virus or not and should be present on all versions of Windows.

When I went to Start -> Run, and typed MSCONFIG into the box, I got the unexpected error message:

Windows cannot find ‘msconfig’. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.

Windows cannot find msconfig

When you get this kind of error. it’s usually a virus that is the culprit for removing msconfig, regedit, task manager, the Command Prompt and and a few other system commands from being accessed via the Run box. If you have a similar problem and have already checked for and removed any malware, here are a couple of possible solutions to get the MsConfig program back working again. For Windows XP

First of all, you need to make sure that the MSCONFIG program is still present on your drive. Surprisingly, the odd thing about MSConfig.exe is it’s not located in either of the 2 most obvious directories of C:\Windows or C:\Windows\System32 on Windows XP, which is where the other system utilities are found.

In Windows XP MSConfig.exe is stored in the following location:

C:\Windows\PCHealth\HelpCtr\Binaries\MSConfig.exe

msconfig file location

Go to C:\Windows\PCHealth\HelpCtr\Binaries\ and check if the MSConfig.exe file is there or not. If it’s not there, you can copy it from another computer to the Binaries folder or if you only have a Windows XP CD, open a command prompt window, insert your XP CD into the drive and enter the following command: (assuming D is your CD drive and C is where your Windows is installed)

EXPAND -R D:\I386\MSCONFIG.EX_ C:\WINDOWS\PCHEALTH\HELPCTR\BINARIES

That should restore MSConfig.exe to your Windows install. If you do not have access to another computer or the XP installation CD, you can download MSConfig.exe from below.

Download MsConfig.exe for XP

If the executable is already there and you still can’t launch MSCONFIG from the Run command, then the reference to the path within the registry may be wrong. Check this location in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MSCONFIG.EXE

In the right pane, next to Default, it should show:

C:\WINDOWS\PCHealth\HelpCtr\Binaries\MSConfig.exe

MSconfig registry reference path

If the the path is not correct, simply change it to what is shown above. If you are not familiar in editing the Windows registry, you can just download and run this registry fix file.

Download MsConfig Registry Fix

Once you have both MSConfig.exe file in your computer and the registry path is set correctly, you shouldn’t have problems running msconfig command from Run.


In addition to the fix above, there’s a very simple little tool called Emergency Utilities Copier that is able to create usable copies of REGEDIT, MSCONFIG and Task Manager from Doug Knox’s website. This small VB 6 utility will create a usable backup copy of Taskmgr.exe, MSConfig.exe and Regedit.EXE in a new folder, called C:\EmergencyUtils. The new copies will be named Copy_of_Taskmgr.exe, Copy_of_MSConfig.exe and Copy_of_Regedit.com.

XP Emergency Utility Copier

Because of the critical nature of these files in repairing and diagnosing system problems, they are usually a priority target for malware which will try to disable access to them, or remove the files completely. Having the files backed up in an alternate location either by this program or doing it yourself can prove quite useful because they can easily be copied back to their respective folders within seconds.

Download XP Emergency Utility Copier


For Windows Vista and 7

In Windows Vista and 7 MSConfig.exe is located in the more common system location you might be expecting:

C:\Windows\System32\MSConfig.exe

If you can’t find it in the System32 folder, a search in the C:\Windows\WinSXS folder should provide a backup MSConfig.exe which you can copy back over to the System32 folder. If it’s not there either, you will either have to extract it from a Windows install DVD, or you can download the MSConfig.exe file for Windows Vista or 7 from the links below.

Download MsConfig for Windows Vista 32-bit | for Windows Vista 64-bit

Download MsConfig for Windows 7 32-bit | for Windows 7 64-bit

If you want to get the file from your Windows install DVD, using an archiver such as 7-Zip, go to the Sources folder on the disc and open the Install.wim file. Inside are some numbered folders, simply go into any one of them and navigate to Windows\System32 and extract the MSConfig.exe to your System32 folder. If you have a recovery image or partition, there should also be a wim file which likely holds a copy of the file.

As MSConfig.exe in Vista and 7 is already located in the default system path, there isn’t a possible bad entry for it in the registry like there is in XP.

You might also like:

54 Comments - Write a Comment

  1. VanguardLH 4 months ago
  2. prakash 10 months ago
  3. Gary Platon 1 year ago
  4. raymund 2 years ago
  5. Tom 2 years ago
  6. Ginnie 2 years ago
  7. RaviParsi 2 years ago
  8. femi 2 years ago
  9. haejosh 2 years ago
  10. Robert 2 years ago
  11. Rix Morales (@RikkiMoRi) 3 years ago
  12. Erpel Ernst 3 years ago
  13. Charlie 4 years ago
  14. Shams 4 years ago
    • Phil 4 years ago
  15. kenneth 4 years ago
  16. Ray 4 years ago
  17. jay dub 4 years ago
  18. ferdinand castro 4 years ago
  19. Prathap 4 years ago
  20. sunil 4 years ago
  21. Yep Text 4 years ago
  22. Rohitchoudha 4 years ago
  23. Uma Sankar 5 years ago
  24. ARIF 5 years ago
  25. Ramu Mandala 5 years ago
  26. German 5 years ago
  27. kzmclean 6 years ago
  28. ahmad aji 6 years ago
  29. spanca 6 years ago
  30. Todd H. 6 years ago
  31. endora 6 years ago
  32. James Patrick 6 years ago
  33. janice 6 years ago
  34. Andrei R. 6 years ago
  35. boss 6 years ago
  36. Helen Grace 6 years ago
  37. amir 6 years ago
  38. cc 7 years ago
  39. hejhog 7 years ago
  40. sids87 7 years ago
  41. PICS 7 years ago
  42. Ryan 7 years ago
  43. Hemant 7 years ago
  44. fadly 7 years ago
  45. Sukamto 7 years ago
  46. pravin 7 years ago
  47. George 7 years ago
  48. marcin 7 years ago
  49. pedifa 7 years ago
  50. User 8 years ago
  51. LW 8 years ago
  52. Salvador Jones 8 years ago
  53. Mihai Criveti 9 years ago

Leave a Reply

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

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please ask in our forum or contact us directly.