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&qt;&qt;t call DllRegisterServer
/i Call DllInstall (or DllUninstall if /u is specified)
Command_Line An optional command line for DllInstall
Examples

Unregister / Disable image viewer (wmf file vulnerability)

REGSVR32 /u shimgvw.dll

Enable image viewer:

REGSVR32 shimgvw.dll

Unregister / Disable XP Zip folders and CAB View:

REGSVR32 /u C:WindowsSystem32zipfldr.dll
REGSVR32 /u C:WindowsSystem32cabview.dll

Register/Enable XP Zip folders and CAB View:

REGSVR32 C:WindowsSystem32zipfldr.dll
REGSVR32 C:WindowsSystem32cabview.dll

Register DAO 3.6 (DLL library):

REGSVR32 "C:Program FilesCommon FilesMicrosoft SharedDAODAO360.DLL"

Tags: