Fixing “(null) Library not registered” errors in Windows Script

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:

regsvr32 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 (
has a good description of where WMI fits in with the scripting engine.

Take care,



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s