April 23rd, 2008

How to register and unregister a dll in windows

At Empower we often get questions about registering and unregistering dll’s. Therfore, we have posted below the syntax and usage of REGSVR32, the command that contols the resister and un register of dll’s.

REGSVR32

Register or unregister a DLL.

Syntax
      REGSVR32 [/U] [/S] [/C] [/I:[Command_Line]] DLL_Name

      REGSVR32 [/U] [/S] [/C] /N /I:[Command_Line] DLL_Name

Key
  
   /u          Unregister Server.
   /s          Silent - no dialogue boxes.
   /c          Console output.
   /n          Don’t call DllRegisterServer
   /i          Call DllInstall (or DllUninstall if /u is specified)

FireStats icon Powered by FireStats