Fixing “(null) Library not registered” errors in Windows ScriptPosted: May 21, 2005
I was debugging a WMI script on my XP machine and I couldn’t get it to run. 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:
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.