Any idea on encountered error in device type relevance? ex. initialization failure, Not Found, Invalid Class, Unknown error 0x80070422, The system Cannot find the file specified.
if (exists wmi AND exists string value whose (it as lowercase does not contain “ups”) of selects “name from win32_Battery” of wmi) then “Laptop” else “Desktop”
each error happen in multiple endpoint and it happens to both laptop and desktop. WinXp and Win7.
This appears to be a wmi error. Check other properties on a failing system to see if you have similar errors. I can check tomorrow, but I think I have a fixlet created to help fix some of these errors.
I cannot seem to find the fixlet I created. It was at a customer site that I am no longer at. I can look to recreate as much as I can, but what I based it off of was this link:
(interesting that if WMI is broken in SCCM, you are pretty much out of luck). I do not have any systems right now that have a WMI error, so it is kind of hard to replicate exactly.
One thing I do recall was that the WMI service on some systems had dependencies and the “net stop” would not stop the service so it required some manual intervention.
I will see if I can look at recreating this fixlet, but it might take me a bit as I need to find some time to work on it
Click the Edit Columns and add the column “Computer Model - Windows” (part of the hardware analysis)
Add the filter “Computer” “Computer - Model - Windows (Hardware Information (Windows))” “contains” “Windows Error”
This will show all systems with errors which should be ones with WMI issues. The thing to note is that there are different error codes and some are easier to fix than others.
I have only been able to test this in a very limited set of systems, so not sure if it will fix everything. There are 2 actions in the fixlet, Try the “simple” one first (does not require a reboot, but if it does not seem to fix the issue, try a reboot before trying Advanced). If the “simple” action does not work, try out the Advanced action. This should address anything, but it does a bunch of tasks that might be a bit dangerous, so only use it if simple does not work.
If you have any feedback on it, please let me know. If you see something that needs to be fixed or added, I can get it in the fixlet.