Resolving error "(null) Library not registered" in WMI scripts

D

David Moisan

Hello:

I recently could not run WMI scripts on my local XP box; I kept
getting the error message "(null) Library not registered".

I couldn't find a cause for this but I fixed it with the following
from a command prompt:

regsrv32 wbemdisp.dll

Scripts work now. I mention this only because Google Groups was no
help and I hit upon the fix almost by accident (I know about regsrv32
but *which* DLL...?)

The WMI Scripting Primer Part 1
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnclinic/html/scripting06112002.asp)
has a good description of where WMI fits in with the scripting engine.

Take care,

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top