WiredWX Hobby Weather ToolsLog in

 


descriptionSolvedProblem with WMI

more_horiz
I have started to get an error message on the Advanced Tab in the Network Properties dialogue box for my network connection, stating the Windows Management Instrumentation (WMI) information might be corrupt. To correct this, I am asked to use System Restore, but is there any other solution?

descriptionSolvedRe: Problem with WMI

more_horiz
If the WMI system is corrupt there’s not much you can do other than use System Restore to get it back, or re-install Windows XP. However, if that was the case you’d probably be having other problems too, so it’s likely that just the files in your Windows\ System32\Wbem\Repository folder have become corrupted, and if you delete them the WMI tools will be available again.

Firstly, check if the WMI service is actually running, as that could also be the problem, especially if you’ve turned off services for better performance. Choose Start > Run and type CMD, then in the Command Prompt type NET Start; you’ll get a list of running services, with WMI towards the bottom. Right- click on My Computer and choose Manage > Services and Applications > Services; scroll down to ‘Windows Management Instrumentation’. If it wasn’t running start it from here and then try the network connection properties again; if it was, click Stop then open the Repository folder in Explorer and delete all the files in it. Restart and the necessary files are recreated; WMI will then start up and you can open the Advanced tab.

If it still doesn’t work, check the Event Log and ‘Remote Procedure Call’ services; they need to be set to Automatic start and to be running, or WMI can’t start. You can also try to restore the WMI files by typing this at the command prompt: MOFCOMP %WINDIR%\ SYSTEM32\WBEM\HNETCFG. MOF. You should see a message saying the MOF file has been successfully parsed and the data stored in the repository. Make sure you check your firewall settings afterwards as this might change them.

descriptionSolvedRe: Problem with WMI

more_horiz
Thanks for addressing this "(WMI) information might be corrupted" issue.
I was hoping for clarification on the repository files and on the command line syntax used to regenerate them.

Following the advice of the above post, here's my current situation:
NET Start indicates the WMI service is running.
And I can't delete the contents of "...\wbem\Repository" because the files are "open" either in "Application Experience" or "Computer Browser".
And attempting to run MOFCOMP to regenerate the Repository files failed.
Details below.

I had just installed Visual Studio Express 2010 edition, under Windows 7 SP1, when the "(WMI) information..." error appeared in my network connection properties dialogs.

There are 6 files in my ...\wbem\Repository directory. Three of these are of type "VCExpress.map.10.0", with file extension .MAP . And there is an INDEX.BTR and an OBJECTS.DATA. All files have "modified" timestamps that coincide with my recent installation of VS2010 Express.

There is also a file present called Corrupted.rec . That's...probably trying to tell me something. But I have no idea what to do with it.

I tried the command line you suggested above:
MOFCOMP %WINDIR%\SYSTEM32\WBEM\HNETCFG.MOF

And it failed. I got:
Parsing MOF file: C:\windows\SYSTEM32\WBEM\HNETCFG.MOF
MOF file has been successfully parsed
Storing data in the repository...
An error occurred while opening the namespace for object 1 defined on lines 16 - 19:
0X80041002 Class, instance, or property '' was not found.
Compiler returned error 0x80041002

So. What now? Any thoughts? Can I find a clean HNETCFG.MOF file somewhere?
Should I actually follow the advice in the properties dialog and do a system restore?
Wait..."MOF file has been successfully parsed". Successfully.
I'll try deleting the contents of ...\Repository from command line safe mode or something...

Update: No go. "Access denied" when I try to delete those files from "safe mode with command prompt".
Since I own an Asus brand laptop (probably a mistake in the first place, but I'll leave that for another thread...), I don't have an OS CD and I don't have the Recovery Console as a boot option. I guess I could burn a Bart PE disc and see what it has to offer...
But I don't really know my way around the recovery console or the PE tools.
I'd be more comfortable booting a Knoppix disc to do the deletions, but it'll leave me feeling a little bit dirty.

Update, solved: Well, I've lost a little more respect for Windows (and for myself).
My old Knoppix 6.0.1 CD wouldn't boot in this here newfangled laptop.
So, I used the "Universal USB Installer" to make a bootable USB drive with the CD ISO of Knoppix 7. I fought with my Asus BIOS until it permitted me to boot my bootable USB drive.
I deleted the contents of ...\Repository, under X, with the Knoppix file browser.
And I rebooted to Win7.
I was a little surprised because all the files were BACK under ...\Repository.
But, apparently, they were regenerated at startup, like they're supposed to be.
And now I have my network connection "sharing" properties back, and all is right with the world.
Thanks again for the original post. I had NO IDEA where to start looking until I read that.

Last edited by Win7Victim on 9th September 2012, 9:00 pm; edited 1 time in total (Reason for editing : Solved.)

descriptionSolvedRe: Problem with WMI

more_horiz
i have something called system progessive protection which has taken over my computer how cam i get rid of it

descriptionSolvedRe: Problem with WMI

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum