Question

services.msc is not a valid Win32 application

Running Windows 7 Home Premium 64bit. Computer is running well and installing new programs, but get the above message when I try to access any Administrative services and some other control panel programs. Have run following: in repair mode:
sfc scannow
bootrec /fixMBR
bootrec /fixBoot
bootrec /rebuildBCD
chkdsk c: /fix
regsvr32 /i shell32.dll
bootsec /nt60 c: /mbr
number of anti-virus and anti-malware programs.

Any suggestions welcome!
Bart

Discussion is locked
Follow
Reply to: services.msc is not a valid Win32 application
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: services.msc is not a valid Win32 application
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments
- Collapse -
Answer
Sounds as if this machine has malware damage.
- Collapse -
services.msc is not a valid Win32 application

I tried the suggestion in article you referred me to, but it did not work. It is possible I took a hit from malware or a registry cleaner. The question is how do I resolve the issue without completely reinstalling Windows from scratch. I even tried Windows 7 update (on my installation disk as well as the full version I used originally), but Windows refused to run update saying I had a later version.

- Collapse -
Try this.
- Collapse -
services.msc is not a valid Win32 application

No I did not try any MSC association fix. I checked File Associations and .msc is associated with Microsoft Management Console. I went to the URL you provided above and see fixes for WinXP msc associations. Is it safe to use this in Windows 7? Assuming that there is a problem with the association shown, how, specifically do you recommend that I fix it?

- Collapse -
This gets a little more interesting.

I wonder if something other than Explorer is being used or an addon is installed. I can't tell.

And yes, folk have discovered the associations at that site do work on Vista/7. But in your case the MMC association looks proper so the damage is likely to be the default action was changed.

How are you are diving in with regedit?
Bob

- Collapse -
: services.msc is not a valid Win32 application

As explained in another answer all msc files receive the same not a valid Win 32 app. I received the same message: Microsoft Management Console is not a vlid Win32 application - so that is why no msc files are running.

What do you think I should do in regedit?

- Collapse -
And you have discovered why no msc files can running.

Remember that we have an incomplete story here and must plod forward item by item. I do not expect owners to know about file associations today. But we will try to avoid reloading the OS.

As to regedit, it would be good to export the file association folder or key to share it here.

For example mmc.exe is listed at
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\MMC.exe]
"NoOpenWith"=""
"UseExecutableForTaskbarGroupIcon"=""


And the MSC handler is at:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\mscfile]
@="Microsoft Common Console Document"
"EditFlags"=dword:00100000
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,6d,00,6d,00,63,00,62,00,61,00,73,00,65,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,31,00,33,00,30,00,00,00

[HKEY_CLASSES_ROOT\mscfile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\mscfile\shell]

[HKEY_CLASSES_ROOT\mscfile\shell\Author]
"MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,6d,00,6d,00,63,00,62,00,61,00,73,00,65,00,2e,00,64,00,6c,00,6c,00,2c,00,\
2d,00,31,00,33,00,33,00,35,00,31,00,00,00
@="&Author"

[HKEY_CLASSES_ROOT\mscfile\shell\Author\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,\
63,00,2e,00,65,00,78,00,65,00,20,00,2f,00,61,00,20,00,22,00,25,00,31,00,22,\
00,20,00,25,00,2a,00,00,00

[HKEY_CLASSES_ROOT\mscfile\shell\open]

[HKEY_CLASSES_ROOT\mscfile\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,\
63,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,\
00,00,00

[HKEY_CLASSES_ROOT\mscfile\shell\RunAs]
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\mscfile\shell\RunAs\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,6d,00,\
63,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,00,22,00,20,00,25,00,2a,\
00,00,00

[HKEY_CLASSES_ROOT\mscfile\shell\runasuser]
@="@shell32.dll,-50944"
"Extended"=""
"SuppressionPolicyEx"="{F211AA05-D4DF-4370-A2A0-9F19C09756A7}"

[HKEY_CLASSES_ROOT\mscfile\shell\runasuser\command]
"DelegateExecute"="{ea72d00e-4960-42fa-ba92-7792a7944c1d}"

[HKEY_CLASSES_ROOT\mscfile\shellex]

[HKEY_CLASSES_ROOT\mscfile\shellex\IconHandler]
@="{7A80E4A8-8005-11D2-BCF8-00C04F72C717}"

---> Here's the deal. Without a clear idea of how this became damaged we have to plod along and see what we can dig up.
Bob

- Collapse -
: services.msc is not a valid Win32 application

I did a little more exploring and found the following:
All .msc files have the same problem. I checked on Microsoft Management Console .mmc and received the same message that Microsoft Management Console is not a valid Win32 application. I understand that the .msc files depend on Microsoft Management Console running, so my problem is with the Microsoft Management Console.

- Collapse -
Yup.

If MMC.EXE is broke, so will the .MSC items.

What virus, registry cleaner or pest hit this machine?
Bob

- Collapse -
mmc.exe is not a valid Win32 application

I have resolved the problem to mmc.exe. Apparently this file is corrupted and has to be replaced. How do I replace mmc.exe in Windows 7? I believe this will solve my problem.

- Collapse -
For years the answer is
- Collapse -
mmc.exe is not a valid Win32 application

I did this. sfc /scannow did not fix the problem.

- Collapse -
Then it's too likely the file is fine.

Try renaming it and then see if SFC fetches a new one.

Again, without the name of the pest or registry cleaner we get to plod along trying this or that. While reinstalling the OS can fix it, we try to avoid this.
Bob

- Collapse -
mmc.exe is not a valid Win32 aplication

I already tried to rename mmc.exe and rerun SFC /scannow, but access was denied when I tried to rename the file. I did this from the command prompt after starting Windows. Tomorrow I will try this again by using the Windows 7 Repair disk instead to see if I can gain access. If that does not work I will try to start in Safe Mode and see if that works. Will let you know results tomorrow.

- Collapse -
Remember the other trick.

Boot up your Linux bootable CD (no install method) and change it there.
Bob

- Collapse -
mmc.exe is not a valid Win32 application

I booted from my Win7 repair disc and then was able to rename mmc.exe to mmc.ex- and then ran SFC /scannow. I received a message at the end that SFC was not able to fix some corrupted files a that the windows source was corrupted as well, and that I should go to \windows\log\cbs\cbs.log which I did. First of all, mmc.exe was not replaced. cbs.log was a huge file, but at the end I saw that I had a number of corrupted files other than mmc.exe. Too many to proceed on this track.
I do have about 25 restore points going all the way back to 2/13/11, I also have image backups using Acronis with the earliest at 4/24/11. Previously I went back few weeks, but this did not solve the problem with the msc files. After setting up all my data on one of my other computers, I will start going back and see if I can get to a point where the problems disappear. I am hopeful. If not I will try another Windows 7 update which Windows may accept from an earlier point than now. If that does not work will goi back as far as 2/13/11. If that does not work, I will do a clean new install -ugh! I learned somethng from all this-the hard way.
Anyway, thanks for your suggestions and help. This will end this thread.
Bart

- Collapse -
Try SFC in safe mode next.

I wonder what security software is running at the time of the failed SFC run. I've lost count how many times I have to eject (some call it uninstall) security blankets (some call it software.)
Bob

- Collapse -
Answer
just do a repair install..

..from 7 CD and it will be fixed.

- Collapse -
Answer
mmc.exe is not a valid Win32 application

This file must be corrupt. How do I find a replacement?

- Collapse -
Answer
mmc.exe is not a valid Win32 application

The mmc.exe file must be corrupt. How do I find a replacement?

- Collapse -
Answer
mmc.exe is not a valid Win32 application

Cannot do a repair install. Using Win 7 Cd upgrade. Windows refuses to run it, as it says I have a more recent Windows 7 than the upgrade and quits on me . I tried this a few times. No go.

- Collapse -
more recent Win7...

..due to SP1?

then slipstream an SP1 install disc and boot/repair from that one

- Collapse -
Answer
mmc.exe is not a valid Win32 application

See my above long answer to Bob. Can try reinstalling SP1 also, but probably will not fix all my corrupted files.

CNET Forums