Teldata.Wordpress.com | ParagonHost.com

December 5, 2006

How to Register a DLL with Windows

Filed under: Microsoft — paragonhost @ 5:43 pm

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)   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:\Windows\System32\zipfldr.dll
REGSVR32 /u C:\Windows\System32\cabview.dll

Register/Enable XP Zip folders and CAB View:

REGSVR32 C:\Windows\System32\zipfldr.dll
REGSVR32 C:\Windows\System32\cabview.dll

Register DAO 3.6 (DLL library):

REGSVR32 “C:\Program Files\Common Files\Microsoft Shared\DAO\DAO360.DLL”

It costs nothing to register and will only take a moment…

Related Commands:

Delsrv – unregister a service with the Services Control Manager. (Win 2K ResKit)
MSIEXEC – Microsoft Windows Installer
RUNDLL32 – Run a DLL command
Microsoft DLL Database – which software installed a specific version of a DLL
Q249873 – Regsvr32 usage and error messages

2 Comments »

  1. Here is a link to a fast tool that will find invaild registry keys.

    It will scan for free but to fix it will cost you at least 29.95 for a 3 month unlock key.

    http://www.pcmightymax.net/cgi-bin/view.cgi/pcweb201/download.html?dllfix.net

    Cheers,

    Dave

    Comment by Dave Norris — December 5, 2006 @ 6:36 pm

  2. totally agree

    Comment by paul_knightly — February 22, 2007 @ 5:39 am


RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.

Blog at WordPress.com.