Share via



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

Registers .dll files as command components in the registry.

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


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





Unregisters server.


Runs Regsvr32 without displaying messages.


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


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


The name of the .dll file that will be registered.


Displays help at the command prompt.


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

regsvr32 schmmgmt.dll

Additional references

Command-Line Syntax Key