I've been given a windows service which references a COM component that only runs on 32-bit. My machine is x64, so the service tries to start, fails to create the COM component, and dies.
I don't have the source, just the .exe file. Is there any way to force a service to start in 32-bit mode on a win64 machine?
Drop the application "corflags.exe" into the \windows\system32 folder. Open a command line as administrator and type... This will force the application to run as a 32-bit process instead of 64-bit. This edits the executable file though.
WOW64 is the x86 emulator that allows 32-bit Windows-based applications to run seamlessly on 64-bit Windows. This allows for 32-bit (x86) Windows applications to run seamlessly in 64-bit (x64) Windows, as well as for 32-bit (x86) and 32-bit (ARM) Windows applications to run seamlessly in 64-bit (ARM64) Windows.
Use the Media Creation Tool http://www.microsoft.com/en-us/software-download/windows10 boot from the media you have created and select to install 32bit of the edition you have. When asked for a key select Skip or Do this later or whatever allows you to move to the next step.
Summary. The 64-bit versions of Windows use the Microsoft Windows-32-on-Windows-64 (WOW64) subsystem to run 32-bit programs without modifications. The 64-bit versions of Windows don't provide support for 16-bit binaries or 32-bit drivers.
Maybe the .NET tool corflags will help:
corflags /32bit+ myservice.exe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With