Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to register/Unregister a DLL File  (Read 3645 times)

0 Members and 1 Guest are viewing this topic.

lathu_official

  • Guest
How to register/Unregister a DLL File
« on: December 20, 2014, 03:09:57 pm »
You may register or un-register any DLL file in Windows server with the command REGSVR32

Syntax
      REGSVR32 [/U] [/S] [/N] /I:[CommandLine] DLL_Name
Key
   /u          Unregister Server.

   /s          Silent, do not display dialogue boxes.

   /i          Call DllInstall to register the DLL.
               (when used with /u, it calls dll uninstall.)

   /n          Do not call DllRegisterServer, you must use this option with /i.

 CommandLine An optional command line for DllInstall
   /c          Console output (old versions only).
Examples

Unregister (disable) XP Zip folders
REGSVR32 /u C:\Windows\System32\zipfldr.dll

Unregister (Disable) CAB file viewer:
REGSVR32 /u C:\Windows\System32\cabview.dll

Register (enable) XP Zip folders
REGSVR32 zipfldr.dll

Register (enable) CAB file viewer:
REGSVR32 cabview.dll

Before installing the DLL, remember that the DLL file should be placed within C:\Windows\System32.

Please make sure that the DLL you are installing is not affected with any virus or bad script else it may compromise your server. Installing a custom build DLL should be double checked for any bad script.