REGSVR32

Posted On 2007-04-24 by FortyPoundHead
Keywords: Command Reference
Tags: Windows Commandline Windows
Views: 1552


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"


About the Author

FortyPoundHead has posted a total of 1974 articles.


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.234.65.78

Before you can post, you need to prove you are human. If you log in, this test goes away.




Code Links