Corrupted WMI

Solved
Racky -  
 Poub -
Hello everyone,

My problem is not unique. I know it keeps coming back on this forum as well as on others. But I've searched high and low and can't seem to solve it. Here it is:

I am using WinXP SP1 and I can no longer access the advanced properties of my local area connection (notably to enable/disable the WinXP firewall). I get the following message:

"Windows cannot display the properties of this connection. The Windows Management Instrumentation (WMI) information might be corrupted. To fix this problem, use System Restore to restore Windows to a previous version (restore point). System Restore is located in the System Tools folder in Accessories."

So I've searched and searched. Here are the 2 most relevant topics:

1) Microsoft Support:


http://support.microsoft.com/default.aspx?scid=kb;fr;319101&Product=winxpPFRA&FR=1


I followed the method exactly (several times) but, to my surprise, after restarting Windows, my "Repository" folder remains empty and my problem persists

2) On a neighboring forum where they have already tried to solve the problem (which is exactly the same as mine...) but to no avail

So I'm launching a general SOS!!!, in a way a challenge!!. Who will be able to solve this problem??

More seriously, I’m struggling quite a bit here and if anyone has an idea it would be really nice to share it with me

Thank you very much

25 réponses

  • 1
  • 2
fabianlef Posted messages 9 Status Membre 32
 
Hello, there was also

1. Click on Start, then Run, type CMD, and then click OK.

Type the following commands one by one in the command prompt window, and press ENTER at the end of each command. To copy and paste these commands into the command prompt window, do the following:
a. Select the command to copy, right-click on it, and then click Copy.
b. Click to select the command prompt window, right-click inside that window, click Paste, and then press ENTER.
Repeat these steps for the three commands.
• cd /d %windir%\system32\wbem
• for %i in (*.dll) do RegSvr32 -s %i
• for %i in (*.exe) do %i /RegServer
Note A WMI Tester window may appear. You can safely close this window.
2. Close the command prompt window, then restart the computer.
26
lexorciste
 
Hello Fabian!!!
I can never thank you enough for the solution you posted to fix the WMI. I struggled like crazy online for days and days without results, then I stumbled upon your famous solution; it's a miracle, it worked! My firewall is back on, as well as my security center, everything is working well, before I upgraded my XP SP2!!! Thank you a thousand times, you saved me, well done, hats off, you're a pro!!! We will always need people like you!!! I'm on cloud nine, and I've found my smile again thanks to you, sir! Thanks again, keep it up, with lots of success!!!
0
lenoir.1 Posted messages 1 Registration date   Status Membre
 
Hello Fabian, I have the WMI problem like many people. I did what you recommended. In the end, a window tells me that DLLRegister....\wmiutils.dll was successful. I restart the PC. But when I go to C:\Program Files\Common Files\Microsoft Shared\MSInfo, I can't access the system information, "the WMI software is moved or missing" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Do you have any idea how to get me out of this?
Thank you very much.
0
fouls57 Posted messages 1 Status Membre
 
I have a problem, it's not working on my PC.
It says at the end of the process that the regserver file was not found.
I deleted the file from the repository,
wmi is still missing.
Can you help me, thank you in advance.
0
CPCCPC01 Posted messages 2 Status Membre
 
to fabianlef

brilliant trick, 3 little lines and then it works... well done, congratulations
0
kamel
 
I really wanted to thank you for your method. I had tried everything, with no result. Now, not only does it work, but I was also able to resolve the issue with my firewall, which was blocked.
Thanks again to you and Happy New Year 2009.
Kamel
0
EmJi Posted messages 1 Status Membre 5
 
Hi

I also had this issue on XP SP1 with the inability to use the WMI interface due to "Interface: class not registered".

The web is full of questions on this topic but few or no valid answers.

I found the solution here:

http://perso.wanadoo.fr/jose.manicon/FAQFRA.html

The first recommended solution (the one provided by Microsoft, which involves destroying the contents of the directory c:\windows\system32\wbem\repository) didn't work at all.

The second one was super effective and I was finally able to use this WMI interface which had always been absent on my system.

To summarize:

- click on Start/Run
- type cmd and then click OK
- type the following command lines:

net stop winmgmt /? winmgmt /clearadap winmgmt /kill winmgmt /unregserver winmgmt /regserver winmgmt /resyncperf regsvr32 c:\windows\system32\wbem\wmiutils.dll 
5
dionice Posted messages 17 Status Membre
 
Thank you, EmJi, for your help. I didn't understand much of the manipulation you had me do, but in any case, it's working! And I hadn't messed anything up elsewhere! I was starting to lose hope. The winmgmt /? option doesn't provide all the possible extensions. I would like to know more about it.

See you later... Dionice
0
Racky
 
Yes, it has started. But here’s what Microsoft Support suggested to me:

1. Stop the "Windows Management Infrastructure" service.
2. Delete all files located in the folder c:\Windows\System32\Wbem\Repository.
3. Restart your computer.

I followed the steps and when I restarted the PC, the service had indeed started again but the "Repository" folder was empty. Fortunately, I had kept the files I had deleted safe to put them back.

Currently the service is "running" and the files (that I had deleted) have been restored in the folder.

However, if I type wmimgmt.msc in Start/Run, then right-click on Local WMI Control to go to properties, there’s a problem: I have no access to any of the tabs and I get the following message in the dialog box:

Unable to connect to <local computer>
Error: "<Null>: This interface is not supported"


I still see Connected in the title of the dialog box.

That’s where I am.... I’m absolutely not getting anywhere and it’s quite frustrating!!
Thank you for your help.
1
zeldalan
 
Hi
I had the same problem as you
I ran ( sfc /scannow ) thanks badboy59 ;)))
and then it asked me for the Windows Service Pack 2 CD
I thought damn, well I'm going to burn the Service Pack 2 update
don't try that, it doesn't work ( the CD is not good, he says, or my burning process is faulty... mystery.)
but what does work, however, is to reinstall Service Pack 2 or 1 if you hadn't already installed 2...

eeee

see you ++++
1
Rick
 
Hello,
Hello and congratulations and many thanks!!! After a lot of research and total misunderstanding of the problem, I applied this solution... and... IT WORKED..!!!!

cd /d %windir%\system32\wbem
• for %i in (*.dll) do RegSvr32 -s %i
• for %i in (*.exe) do %i /RegServer

Bravo! I'm not a novice, far from it, but honestly, I'm amazed! I still can't get over the fact that I don't understand what could have happened to lose the MWI file!!!
I did 2 restorations, but nothing worked..! But thanks to this magic formula in DOS, everything is back in order, which goes to show that good old DOS is still very useful!!!!! ..!! But damn it, what happened for the MWI to get corrupted overnight!! Yes, well, it's fixed, but I would like to understand where I made a mistake that led me to lose this file!
Again, my congratulations, because if there are many solutions, this one is the right one. Of course, there's always the "brutal" one... formatting.. but that's a confession of helplessness in the face of a machine..! And it's man who dominates the machine... we are not in The Matrix!!!
Richard
1
Racky
 
Oop's, here is the address of the neighboring forum for more explanations:

http://forum.clubic.com/forum2.php3?post=30980&cat=19
0
badboy59 Posted messages 4292 Status Contributeur 569
 
Do you have the Windows CD?

Happy New Year 2005
0
Racky
 
Hello and happy new year to you too Badboy59,

Yes, I have the Windows CDs. But it's not the classic Windows CD "Windows XP Home SP1". These are the 3 CDs "HP QuickRestore System Recovery CD Microsoft Windows XP Home SP1" that came with my HP laptop when I bought it.

Thank you for helping me
0
badboy59 Posted messages 4292 Status Contributeur 569
 
ha la la la ...
What a big pile of crap these restoration CDs are.
You can only fully restore, meaning you lose all your data.

However, in a DOS window try this
type:
sfc /scannow

If it works, you will restore all the vital XP files.

Happy New Year 2005
0
Racky
 
Okay, I started the scan (which actually took quite a while)
When the progress bar reached the end, the window closed and I wasn't notified. Did it restore on its own without telling me or is there a way to retrieve the results somewhere? Otherwise, it didn't resolve the issue at all.
0
badboy59 Posted messages 4292 Status Contributeur 569
 
not good...
the problem is elsewhere..
Do you have an antivirus?

Happy New Year 2005
0
Racky
 
Yes, I have Avast!. It actually did a terrible cleanup when I installed it (little trojans and such)

Is it possible for an antivirus to delete vital elements of Windows when it's infected with a trojan or a virus? (it might have warned me and I may have agreed to delete or quarantine something I shouldn’t have)

I also think that my problem probably appeared before I installed this antivirus (before I had AVG 7.0).

This also reminds me that I already had a problem with these connections: a virus made them disappear (in control panel/connections/ *****). But Microsoft Support fixed the problem for me. The current issue might be related...???

It's weird because I’ve otherwise never messed with all these things...
0
badboy59 Posted messages 4292 Status Contributeur 569
 
Yes, an antivirus eliminates the virus but sometimes the file that goes with it (because there are no other solutions).
That said, it’s surprising that the previous scan (sfc) did not reinstall these files.

Otherwise, is the service "Windows Management Infrastructure" running?

Happy New Year 2005
0
badboy59 Posted messages 4292 Status Contributeur 569
 
Sorry, but I believe my meager skills stop here.

Happy New Year 2005
0
Racky
 
Sniff.....

Thank you very much anyway.
0
Racky
 
Hello zeldalan,

Thank you, but I have since reformatted my drive... and I still didn't solve the problem.

Thanks anyway.
0
herman
 
tssssss....
I have a problem that seems similar:
out of the blue, I got a popup that appeared after 1.5-2 hours of my computer being on: WMI has encountered a problem and needs to close… etc…………..
I even formatted my computer, but the problem persists, which raises my question:
could it have a hardware origin rather than a software one?
is there a link between WMI and the motherboard or graphics card?
0
Racky
 
Hi,

I'm sorry, I can't help you... I have no idea...
Post again...

Good luck
@+
0
hakcha
 
I've been looking for help for a long time, your offer has been very helpful to me.

Thank you.
0
Racky
 
Here I had launched this challenge 1042 days ago!!
Well done fabianlef!
0
Rickk Posted messages 1 Status Membre
 
1042 days... but time doesn't matter... what matters is to succeed! the beauty of a victory lies in the difficulty of overcoming...!!! without risk, we win without glory! <;0)
but the cheers are of course in order
0
fabianlef
 
Hello,
thank you
0
mira
 
A thousand thank yous
You saved me from formatting:
Suddenly my shared printers were no longer available on the home network.
0
  • 1
  • 2