Export (0) Print
Expand All

Regsvr32

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Regsvr32

Registers .dll files as command components in the registry.

Syntax

regsvr32 [/u] [/s] [/n] [/i[:cmdline]] DllName

Parameters
/u
Unregisters server.

/s
Specifies regsvr32 to run silently and to not display any message boxes.

/n
Specifies not to call DllRegisterServer. You must use this option with /i.

/i:cmdline
Calls DllInstall passing it an optional [cmdline]. When used with /u, it calls .dll uninstall.

DllName
Specifies the name of the .dll file that will be registered.

/?
Displays help at the command prompt.

Examples

To register the .dll for the Active Directory Schema, type:

regsvr32 schmmgmt.dll

Formatting legend

 

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft