For faster navigation, this Iframe is preloading the Wikiwand page for regsvr32.

regsvr32

regsvr32
Developer(s)Microsoft, ReactOS Contributors
Initial releaseFebruary 17, 2000; 24 years ago (2000-02-17)
Operating systemWindows, ReactOS
Platform32-bit and 64-bit
TypeCommand
LicenseWindows: Proprietary commercial software
ReactOS: GNU General Public License
Websitedocs.microsoft.com/en-us/windows-server/administration/windows-commands/regsvr32

In computing, regsvr32 (Register Server) is a command-line utility in Microsoft Windows and ReactOS[1] for registering and unregistering DLLs and ActiveX controls in the operating system Registry.[2] Despite the suffix "32" in the name of the file, there are both 32-bit and 64-bit versions of this utility (with identical names, but in different directories).[3] regsvr32 requires elevated privileges.[4]

To be used with regsvr32, a DLL must export the functions DllRegisterServer and DllUnregisterServer.[5]

The regsvr32 command is comparable to ldconfig in Linux.

Example usage

[edit]

regsvr32 shmedia.dll for registering a file

regsvr32 shmedia.dll /s for registering a file without the dialog box ( silent )

regsvr32 /u shmedia.dll for unregistering a file

regsvr32 shmedia.dll /u /s for unregistering a file without the dialog box ( silent )

If another copy of shmedia.dll exists in the system search path, regsvr32 may choose that copy instead of the one in the current directory. This problem can usually be solved by specifying a full path (e.g., c:\windows\system32\shmedia.dll) or using the following syntax:

regsvr32 .\shmedia.dll

References

[edit]
  1. ^ "Reactos/Reactos". GitHub. 3 November 2021.
  2. ^ "Regsvr32". TechNet. Microsoft.
  3. ^ How to use the Regsvr32 tool and troubleshoot Regsvr32 error messages:, Microsoft, 14 August 2015. Accessed 2019-02-10.
  4. ^ Regsvr32 - Register a DLL - Windows CMD - SS64.com
  5. ^ "INFO: How Regsvr32.exe Registers and Unregisters COM DLLs". Support. Microsoft. March 24, 2009. Archived from the original on 2015-03-13.

Further reading

[edit]
[edit]
{{bottomLinkPreText}} {{bottomLinkText}}
regsvr32
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?