Microsoft KB Archive/282747

= Error Message When You Run Regsvr32.exe on 64-Bit Windows =

Article ID: 282747

Article Last Modified on 12/1/2007

-

APPLIES TO


 * Microsoft Windows XP Professional x64 Edition
 * Microsoft Windows Advanced Server, Limited Edition

-



This article was previously published under Q282747





SYMPTOMS
When you attempt to run Regsvr32.exe to register a 32-bit dynamic-link library (DLL) on a 64-bit version of Windows, you receive the following error message:

.dll is not an executable file and no registration helper is registered for this file type.



CAUSE
This behavior occurs because the Regsvr32.exe file in the System32 folder is a 64-bit version. When you run Regsvr32 to register a DLL, you are using the 64-bit version by default.



RESOLUTION
To resolve this issue, run Regsvr32.exe from the %SystemRoot%\Syswow64 folder. For example, type the following commands to register the DLL:

cd \windows\syswow64

regsvr32 c:\ .dll



STATUS
This behavior is by design.



MORE INFORMATION
The Syswow64 folder contains the 32-bit versions of Windows program files and DLLs.

Additional query words: IA64

Keywords: kberrmsg kbprb KB282747

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.