Why is a WMI operation returning an error?
To begin with, make sure that the error in question is really a WMI error. WMI error numbers start with 8004xxxx (e.g., 80041001). You can look up WMI error numbers and return codes by going to http://msdn.microsoft.com/library/default.aspand searching for “WMI Return Codes.” If you can’t find the information you need, try searching for the specific error number on MSDN. If you do not receive an error number when running the script, you can look for errors in the WMI log files found in the %windir%\system32\wbem\logs folder. If it is difficult to determine which errors resulted from the script you just ran, delete all the logs and run the script again. This should make it easier to find errors related to your script. If you can’t find any errors in the log files, you might need to reset the logging level for the logs. To get maximum information, set the logging level to verbose. On Windows 2000, Windows NT, and Windows Me/98/95 you need to restart WMI after changing the logging levels;
Related Questions
- I received an ILLEGAL OPERATION isset_se error when I installed my camera software and/or the software installation failed. What should I do?
- What do I do if the SQL safe backup or restore operation fails and returns this error: "0x80070008 (not enough storage)"?
- Why is a WMI operation returning an error?