REGSVR32 – Windows CMD Command

Register or unregister OLE controls, such as DLLs and ActiveX controls in the Windows Registry.

Regsvr32 requires Elevation.

ActiveX controls are now deprecated and will only run in Internet Explorer.

DllInstall is used only for application installation and setup. It should not be called by an application.
DllRegisterServer Instructs an in-process server to create its registry entries for all classes supported in the module.
DllUnregisterServer Instructs an in-process server to remove only those entries created through DllRegisterServer.

If you run REGSVR32 dllname.dll when the file is already registered, this will display a Pop Up message: “The module ModuleName was loaded but the Entry-point DllRegisterServer was not found.”

On a 64-bit version of Windows operating system, there are two versions of the Regsvr32.exe file:

The 64-bit version is %systemroot%\System32\regsvr32.exe
The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe

To use the 32-bit version of Regsvr32 to register a 32-bit DLL on a 64-bit version of Windows, Open an elevated prompt and run a command like:

%systemroot%\SysWoW64\regsvr32 full_path_of_the_DLL

You may also like...

1 Response

  1. zortilonrel says:

    Great wordpress blog here.. It’s hard to find quality writing like yours these days. I really appreciate people like you! take care

Leave a Reply

Your email address will not be published. Required fields are marked *