Regsvr32

Applies To: Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP

Registers .dll files as command components in the registry.

For examples of how to use this command, see Examples.

Syntax

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

Parameters

Parameter Description

/u

Unregisters server.

/s

Runs Regsvr32 without displaying messages.

/n

Runs Regsvr32 without calling DllRegisterServer. (Requires the /i parameter.)

/i:<cmdline>

Passes an optional command-line string (cmdline) to DllInstall. If you use this parameter in conjunction with the /u parameter, it calls DllUninstall.

<DllName>

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

Additional references

Command-Line Syntax Key