Duke5A Posted October 24, 2013 Posted October 24, 2013 (edited) Anyone ever have WMI go legs up on them? In my 15 years of working IT I never have and of course the very first time I have to deal with it it hits my Windows 7 x64 base image. I first noticed it when trying to activate Office 2010 using the OSPP.vbs script; it was giving me an error code of -2147217406.. It was failing hard and so was another script I use for post-image related tasks. I then found this in the Event Log: Windows Management Instrumentation ADAP failed to connect to namespace \\.\root\cimv2 with the following error 0x80041002 Running the WMI Diagnostic utility was also filled with similar errors. 0x80041002 (WBEM_E_NOT_FOUND) After messing around with a couple potential fixes the only thing that cured it was stopping the WMI service and resetting the WMI repository using this command: c:\windows\system32\wbem\winmgmt.exe /resetrepository You can test it by either running a script that calls to WMI, or using a built-in utility in Windows to connect. c:\windows\system32\wbem\wbemtest.exe What bugs me is that I don't know what caused it. The only changes I made to image since the last update was these: Image Revision: 2013/10/23 -Windows Updates -Installed Java 7u40 -Added registry keys to disable sponsor in Java Update -Removed Start Menu group -Installed Windows Live Movie Maker 2012 -Installed Flash 11.9.900.117 -Installed Reader 11.0.04 -Installed Google Chrome 30.0.1599.101 -Updated OEM information I suspect it was one of the updates; the last time it was ran was 8/22. Fun times... I got to waste an entire morning ironing this out. Now to sysprep and resend this pig of an image back up to WDS. Edited October 24, 2013 by Duke5A
mac_shinobi Posted October 24, 2013 Posted October 24, 2013 You able to put the above into a word or pdf document - tried using a pdf writer ( PDF Creator ) etc but it is truncating the content that is inside code type boxes, arrggghhh
sted Posted October 24, 2013 Posted October 24, 2013 check your path variable. ive seen quicktime break it by missing a ; out of path so wbem folder wasnt pathed and wmi died 1
Duke5A Posted October 24, 2013 Author Posted October 24, 2013 You able to put the above into a word or pdf document - tried using a pdf writer ( PDF Creator ) etc but it is truncating the content that is inside code type boxes, arrggghhh @mac_shinobi WMI Corruption.docx 1
mac_shinobi Posted October 24, 2013 Posted October 24, 2013 @mac_shinobi [ATTACH]21138[/ATTACH] Perfect thanks !! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now