Unregister DLL using regsvr32

Kugel picture Kugel · Nov 28, 2009 · Viewed 26.6k times · Source

This is driving me nuts.

I registered a DLL (COM) using

regsvr32 blabla.dll

In the meantime, I deleted this DLL manualy from disk.

How can I unregister this dll? I know the CLSID.

Edit:

Apparently I need to delete this from the registry.

What should I delete in the registry?

Answer

Emerick Rogul picture Emerick Rogul · Nov 28, 2009

The unregistration code lives in the DLL, unfortunately, so regsvr32 /u blabla.dll won't work; you'll need to manually delete the DLL's information from the Windows registry using regedit. I believe that the registration information is typically located in HKEY_CLASSES_ROOT\CLSID\{YOUR-CLSID}.