How to use the Regsvr32 tool and troubleshoot Regsvr32 error messages

Article ID: 249873 - View products that this article applies to.
This article was previously published under Q249873
If you are a Small Business customer, find additional troubleshooting and learning resources at the Support for Small Business site.
If this article does not describe the error message that you are receiving, you can obtain detailed error message explanations, recommended actions, and additional support resources from the Events and Errors Message Center website.
Expand all | Collapse all

On This Page

Summary

OLE controls, such as DLL or ActiveX Controls (OCX) files, must be registered. Registering an OLE control updates the Windows registry with the location and the capabilities of the file so that a program runs correctly.

To help troubleshoot some issues with Windows, Microsoft Internet Explorer, or other programs, you can use the Regsvr32 tool (Regsvr32.exe) to register and unregister OLE controls.

For example, the following Microsoft Knowledge Base article requires you to use Regsvr32.exe to unregister the Wuv3is.dll control before you reinstall it from the Windows Update site:
241122 Application error when you click Product Updates
If the registration of a control is unsuccessful or you want developer information about how to troubleshoot unsuccessful OLE control registration, see Microsoft Knowledge Base article  
140346 Possible reasons for OLE control registration failure

More information

Regsvr32.exe is included with Microsoft Internet Explorer 3.0 or later versions, Windows 95 OEM Service Release 2 (OSR2) or later versions, and Windows NT 4.0 Service Pack 5 (SP5) or later versions. Regsvr32.exe is installed in the System folder (Windows Millennium Edition/Windows 98/Windows 95) or System32 folder (Windows NT/Windows XP/Windows Vista/Windows 7). 

Collapse this imageExpand this image
Note On a 64-bit version of a Windows operating system, there are two versions of the Regsv32.exe file:
  • The 64-bit version is %systemroot%\System32\regsvr32.exe.
  • The 32-bit version is %systemroot%\SysWoW64\regsvr32.exe.

Regsvr32.exe usage

RegSvr32.exe has the following command-line options: Click here to show/hide solution

Regsvr32.exe error messages in Windows Vista and later versions

The following list contains RegSvr32 error messages and possible causes: Click here to show/hide solution

Regsvr32.exe error messages in versions of Windows earlier than Windows Vista

The following list contains RegSvr32 error messages and possible causes: Click here to show/hide solution

Properties

Article ID: 249873 - Last Review: September 10, 2012 - Revision: 11.0
Applies to
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Vista Business N 64-bit Edition
  • Windows Vista Home Basic
  • Windows Vista Home Basic N
  • Windows Vista Home Basic N 64-bit Edition
  • Windows Vista Home Premium
  • Windows Vista Starter
  • Windows Vista Ultimate
  • Windows Vista Business N
  • Windows Vista Business 64-bit Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Media Center Edition 2005 Update Rollup 2
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional N
  • Microsoft Windows XP Home Edition N
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 95
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Starter
  • Windows 7 Ultimate
  • Windows 7 Enterprise N
  • Windows 7 Home Premium N
  • Windows 7 Professional N
  • Windows 7 Starter N
  • Windows 7 Ultimate N
Keywords: 
kbresolve kbenv kberrmsg kbinfo kbkern32dll KB249873

Give Feedback