Yesterday I got a report from my customer that her computer is being infected by virus. Her description of the problem in her computer was computer is slow, can’t save any documents because her hard drive is nearly full although she doesn’t have much files, and 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 one which is able to give me a rough idea if the computer is infected by virus or not.
When I go to Start, Run, type MSCONFIG and click OK, I got the 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.”

Usually virus is the culprit for removing msconfig, regedit and etc from Run command. Anyway, here’s how I manage to bring back MSCONFIG to the Run command.
First of all, we need to make sure that the MSCONFIG file is still in your drive. Surprisingly MSConfig.exe is not located in Windows or System32 directory. Two ways to find where MSConfig.exe is. You can either use Windows search to look for *msconfig* or go to another computer, use Process Explorer to find the path to MSConfig.

As you can see, Process Explorer clearly shows that MSConfig.exe is located in C:\Windows\PCHealth\HelpCtr\Binaries\MSConfig.exe.
Go to C:\Windows\PCHealth\HelpCtr\Binaries\ and check if 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 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. IF MSConfig.exe is already there and you still can’t launch MSCONFIG from 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

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, here’s a very good tool that is able to create usable copies of REGEDIT, MSCONFIG and Task Manager which I found from Doug’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.

These programs are extremely helpful, and usually necessary in helping to rid your computer of a viral infection. Many virus programs will intercept these programs, based on their original file name, and prevent them from running. The alternate copies will not encounter this problem. Simply navigate to the C:\EmergencyUtils folder and double click the file you need to run.
[ Download XP Emergency Utility Copier ]
Related posts:
Today a laptop reached my desk only to find msconfig would not launch from run. I was able to find it in pchealthhelpcntrbinaries. AND it is also listed correctly in the registry, as HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionApp PathsMSCONFIG.EXE
It just will not launch from the Run command. Any suggestions?
Thank You this is very good idea
This has helped me… Rohit Choudha
It also helped me friend. Thanks a lot!!!
it helped me a lot thanks, it was nice and very helpful to me as it solved my msconfig problem otherwise i was thinking for doing a format to my pc, thanks again.
Thank you very much my friend
Raymond, thanks a lot! My msconfig is back thanks to you!
Have a nice day.
Please help me..
my desktop have a pop up window script host said that
can not find script file ” C : \WINDOWS\system32\winjpg.jpg”
i go to msconfig to solve it but i can’t enter the system configuration utility but the same pop up window script host still appear.
so how can i solve this problem?
can not find G \windows\system32\winjpg.jpg
worked! thanks!
it’s really worked. thanks a lot!!
thanks, Msconfig.exe was completely missing from the registry…
Just a quick ‘thanks’ for your article. I was fixing someone else’s virus-ridden XP machine and couldn’t get msconfig up.
Thanks for taking the time to write this up.
Worked, thanks!
windows cannot find c\windows32\msconfig.exe, make sure you typed the name correctly and then try again, nothing happened when i tried the above steps, even the atsk manager cannot be started, not been able to install or unistall any software or files, cannot find msconfig, regedit nothing, please help
Wow! Thanks, man!
thanks… my issue is solved
10x
thaaaaaaaanks
I have to add something here. I have this recent experience that the virus somehow removed the .exe and you have to rename msconfig in the above location given by Raymond and add .exe
Hope this helps.
when i start any program this error will come
“the operation has been cancelled due to restriction in effect on this computer. Please cantact your system adminstrator”
please help me i am get frustrated with this problem
when i start any program this error will come
“the operation has been cancelled due to restriction in effect on this computer. Please cantact your system adminstrator”
please help me i am get frustrated with this problem
Raymond, I get a message on startup that says ” cannot find c:/documents”. How do I fix this?
I’m having the exact same problem as Naomi #41. Any help would be greatly appreciated! Thanks!
Thank you
thanks very much . it resolves my problem.
thanks a lot , fixed my problem very fast
usefull info, tx for sharing
Thank You very much Raymond.
Problem solved.
I couldn’t find a better and detailed solution than this.
Thanx Again.
I, like #33 Christine, navigated to the registry and found no msconfig.exe . I may not understand how to use this site, but I found no reply to Christin’e post.
When I did a search for msconfig, I found four different paths to it, one of which was the one you mentioned above. But you didn’t mention what to do if one does not have that path in the registry. Help please?
hi !
i’ve a problem, i can’t run my task manager, when i try there’s a message saying : can not find script c:\windows\system32\winjpg.jpg !
someone can help me !? thank you !
This was a ton of help.
Thank you very very much.
thank you very very much for providing me the full path , “C:\WINDOWS\PCHealth\helpctr\binaries\msconfig.exe”
my msconfig error has been solved by that :*
thanks alot again and again
Please help me..
my desktop have a pop up window script host said that
can not find script file ” C : \WINDOWS\system32\winjpg.jpg”
i go to msconfig to solve it but i can’t enter the system configuration utility but the same pop up window script host still appear.
so how can i solve this problem?
i configured my system to start in safe mode from msconfig, but the virus has affected my safe mode. so i couldn’t access the system at all.
i then tried to reinstall the OS by using an Xp cd to repair, now it keeps telling me that Xp cant be installed in safe mode.
What can i do????
thank’s for the tips..
it’s work for me :)
Thanks
It work in my users
Hi, I was wondering if someone could help me?
I couldn’t open msconfig from Run, but the .exe file is on my computer.
So I open up regedit and navigate to the path (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths) but there is no MSConfig.exe folder under that path. Any ideas?
Thank uuuuuuuuuuuuuu very Much
Thanks for this post, I really appreciate getting my MSConfig operating again!
worked fine, thanks for the article
very thank for this post
How can I disable the xcopy.exe during startup at windows2000?
La verdad q me arreglo el probl de 10
Muchas gracias
mi problema es igual pero en vez de mostrarme un error cuando inicio msconfig desde ejecutar se abre por 1 o 2 segundos y se cierra solo y tampoco me aparece propiedades de carpeta ni en panel de control ni a traves de la barra de menu y tampoco se puede ver ni regedit ni gpedit.msc
podrian ayudarme?
Hello, could someone please help solve the following problem. Just like the previous users, I keep getting the same message \\\”windows cannot find msconfig\\\”. I tried to do it as indicated above but I cannot find msconfig.exe and I do not have the XP CD anymore. Please let me know if you can help… I will greatly appreciate it
very detailed help, thanks alot!
Thanks, this really helped me out
Cara tu é fera!!!!
j\’ai un probleme avec mon ordinateur. je ne peux instaler aucun programe sur mon ordirnateur, ne peux pas connecter aucun surpport USB sauf un , mon lecteur de CD.ROM ne marche pas; mais ca fonctionne, et le commande gpedit ne marches pas non plus
This is a great article. It helped me a lot. Thank you.
hi i really want to your toolkit its help me more
عندما اشغل الجهاز وقبل فتح سطح المكتب تضهر هذي الرساله ((هناك مشكله تمنع ويندوز اكس بي من التحقق بشكل دقيق من ترخيص هذا الجهاز رمز الخطا X.80004005
رجااً ارسال الحل بلعربي ودمتم لنا مشكورين
Muchisimas gracias por esta VALIOSA información, me he partido toda la noche tratando de saber por que salia ese error, pero gracias a este artículo lo logre. NUEVAMENTE GRACIAS!!!!! saludos desde Panamá!
Hi! I have a question, I can’t run my command prompt in my computer. Whenever I open the command prompt, my computer automatically shuts down? Does anyone knows what’s going wrong on my computer and how can I fix this problem. Because of this problem I can’t use my Maya 7.0 properly.
Please Help!
Thanks!
명령 프롬프트를 이용하여 작업을 할려고 하는데
make, nmake, config 등.. 의 명령어가 하나도 듣지를 않습니다
“내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치파일이 아닙니다” 라는 메시지가 뜨고
config 같은 경우 찾을수가 없다고 하네요…
이런 경우는 어떻게 해야하죠… 답변 부탁드립니다.
how can i remove virus from my computer in case if my computer is affected by virus
i want to hack gmail account password pls tell me how could i do for this procuder
i want to hack gmail account password
tell me how should i do?
my 360safe n avg n avast not come out when i start on the computer but when i want to open it still can open when close it will not load as icon in the right bottom corner(beside the clock). what have happen???
i have been facing a serious problem with all of my *.exe files in windows XP sp3. whenever i double click any *.exe file to exicute, it show me the “OPEN WITH” window. Now how can i fix the problem. Please help me immediately by mail, otherwise i will die.
please, please, please
advanced thanks
Jusdy J, did you get the error message “task manager has been disabled by the administrator” ? If that’s the one, you can go to policy editor and enable it. Type gpedit.msc at RUN and hit OK. Navigate to > User Configuration > Administrative Templates > System > Ctrl+Alt+Del Options. You’ll see Remove Task Manager. If it is enabled, you should set it to disabled.
[...] Raymond.CC Blog – Daily updated news of useful advanced computer tips and tricks wrote an interesting post today on How To Fix Windows Cannot Find MSCONFIG Error at RUN CommandHere’s a quick excerpt Yesterday I got a report from my customer that her computer is being infected by virus. Her description of the problem in her computer was computer is slow, can’t save any documents because her hard drive is nearly full although she doesn’t have much files, and 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 [...]
[...] Raymond.CC Blog – Daily updated news of useful advanced computer tips and tricks wrote an interesting post today on How To Fix Windows Cannot Find MSCONFIG Error at RUN CommandHere’s a quick excerpt Yesterday I got a report from my customer that her computer is being infected by virus. Her description of the problem in her computer was computer is slow, can’t save any documents because her hard drive is nearly full although she doesn’t have much files, and 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 [...]
[...] Raymond.CC Blog – Daily updated news of useful advanced computer tips and tricks wrote an interesting post today on How To Fix Windows Cannot Find MSCONFIG Error at RUN CommandHere’s a quick excerpt Yesterday I got a report from my customer that her computer is being infected by virus. Her description of the problem in her computer was computer is slow, can’t save any documents because her hard drive is nearly full although she doesn’t have much files, and 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 [...]
@kuya – it is easy to fix missing ntldr..the easiest way is, take out your hardisk, make it as slave on other pc/laptop…then you just copy it from the master hardisk on the pc/laptop..dont forget to show hidden files and show and un’tick’ the “Hide protected operating system files”..after you copy the ntldr and ntdetect.com then its done….put your hardisk back to your pc/laptop.
to raymond…..i wanna ask…i’ve check my registry, and it is same as you mention above…but my msconfig still didnt come out after i enter msconfig on the run box……so how to solve it?maybe you got something else?i’ll check this post later to hear your comment….advance thanks :)
How To fix a missing ntldr..
What a virus….
It’s usually a good idea to make sure the malware has been removed first. Some tend to replace msconfig.exe, taskman.exe etc. with trojaned copies and such. One such culprit would be the Sohanad virus aka coolpics. Restoring from the Windows CD as you’ve said is a better idea. Or you could check the Digital Signature on the files, make sure it’s Microsoft and not something like “IT University” :-).
You may also need to restore the registry changes to allow TaskMan & friends to run for example:
reg delete “HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\” /v “DisableTaskMgr”
Sometimes it even disables the Start – Run prompt, but you can just use a .bat file, .Vb script or something to enable it again :-).
Anyway, if there is any suspicion of such a virus, it’s good to submit it for analysis to virustotal.com (or try some simple steps with ProcMon and VirtualBox). Example: unixsadm.blogspot.com/2007/11/advanced-malware-analysis-and-forensics.html
One more thing: you could technically “replace” all (and more) of the functionality of MsConfig with Sysinternals Autoruns. It can also check digital signatures too. You can use it to disable malware at startup for example (Sohanad may even pose as msconfig as an autorun).
technet.microsoft.com/en-us/sysinternals/bb963902.aspx
[...] Tech today wrote an interesting post today on How To Fix Windows Cannot Find MSCONFIG Error at RUN CommandHere’s a quick excerpt…is nearly full although she doesn’t have much files, and Internet Explorer font is weird. … for every programs that starts up with Windows,… [...]
[...] the prius owners group wrote an interesting post today on How To Fix Windows Cannot Find MSCONFIG Error at RUN CommandHere’s a quick excerpt…can’t save any documents because her hard drive is nearly full although she doesn’t have much files, and Internet Explorer font is weird. [...]