Regsvr32
   HOME

TheInfoList



OR:

In
computing Computing is any goal-oriented activity requiring, benefiting from, or creating computing machinery. It includes the study and experimentation of algorithmic processes, and development of both hardware and software. Computing has scientific, ...
, regsvr32 (Register Server) is a
command-line A command-line interpreter or command-line processor uses a command-line interface (CLI) to receive commands from a user in the form of lines of text. This provides a means of setting parameters for the environment, invoking executables and pro ...
utility in Microsoft Windows and ReactOS for registering and unregistering DLLs and
ActiveX ActiveX is a deprecated software framework created by Microsoft that adapts its earlier Component Object Model (COM) and Object Linking and Embedding (OLE) technologies for content downloaded from a network, particularly from the World Wide We ...
controls in the
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs. Time-sharing operating systems schedule tasks for efficient use of the system and may also i ...
Registry Registry may refer to: Computing * Container registry, an operating-system-level virtualization registry * Domain name registry, a database of top-level internet domain names * Local Internet registry * Metadata registry, information system for re ...
. Despite the suffix "32" in the name of the file, there are both 32-bit and
64-bit In computer architecture, 64-bit integers, memory addresses, or other data units are those that are 64 bits wide. Also, 64-bit CPUs and ALUs are those that are based on processor registers, address buses, or data buses of that size. A compu ...
versions of this utility (with identical names, but in different directories). regsvr32 requires elevated privileges. To be used with regsvr32, a DLL must export the functions DllRegisterServer and DllUnregisterServer. The regsvr32
command Command may refer to: Computing * Command (computing), a statement in a computer language * COMMAND.COM, the default operating system shell and command-line interpreter for DOS * Command key, a modifier key on Apple Macintosh computer keyboards * ...
is comparable to ldconfig in
Linux Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, w ...
.


Example usage

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


Further reading

* *


External links


Microsoft TechNet Regsvr32 articleExplanation of Regsvr32 Usage and Error MessagesC# Frequently Asked Questions: What is the equivalent to regsvr32 in .NET?A free graphical user interface for regsvr32.exe
Windows administration Windows commands {{windows-stub