The program or feature cannot start or run due to incompatibility with 64-bit versions of windows

I am unable to run this application on Windows 10 19042.685 64 bit.
###########################################################
From PowerShell windows:
Program 'IntuneWinAppUtil.exe' failed to run: The specified executable is not a valid application for this OS platform. At line:1
char:1

  • .\IntuneWinAppUtil.exe

At line:1 char:1

  • .\IntuneWinAppUtil.exe
  • + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException + FullyQualifiedErrorId : NativeCommandFailed

###########################################################
From CMD:
Unsupported 16-Bit Application
The program or feature "??\C:\temp\Packager\IntuneWinAppUtil.exe" cannot stat or run due to incompatibility with 64-bit versions of Windows. Please contact the software vendor to ask it a 64-bit Windows compatible version is available.
###########################################################
I have change the Compatibility Mode that is runs in as part of troubleshooting but still have not ran successfully.
###########################################################
Windows Event Log:
Log Name: Application
Source: Wow64 Emulation Layer
Date: 1/8/2021 2:24:43 PM
Event ID: 1109
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: XXXXXXXXXXX
Description:
The program or feature "??\C:\temp\Packager\IntuneWinAppUtil.exe" cannot start or run due to incompatibity with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available.
Event Xml:

1109
0
4
0
0
0x80000000000000

55828

Application
XXXXXXXX

??\C:\temp\Packager\IntuneWinAppUtil.exe

###########################################################

Interesting:
I have downloaded IntuneWinAppUtil.exe to three different PCs and thy are all coming up as 108 KB.
I had one of my coworkers in India test this and they downloaded it and it was only 52.3 KB and ran without an issue.
I had him email the file he downloaded and it is working for me as well.
Perhaps the blob storage for the US region has a corrupt file on it?
Otherwise I do not have a reason why this would start working.

I had the same issue - cloning seemed to solve it rather than downloading the exe

I'm seeing the same issue with 1.8.2.

Thankfully 1.8.1 still works.

I have exactly the same issue on 1.8.2 even from outside the US. This is what I noticed though: the problematic "exe" (more than 100kb in size) is not really an exe file even if it is downloaded as an exe file. The file can be opened directly from notepad, and you would see that it is actually an html file. You can actually rename it back to .html and open it with your browser where you will see a download link to the actual exe file (which also does not work).

The correct file, which is a real exe file, is roughly around 53KB in size. Version 1.8.2 has an MD5 hash of E8C14D09B6FAA76B3850FC0CBA41D78B.

Best is to simply clone the repo and extract the exe in the zip file.

As I wrote here:

#61 (comment)

Just downlaod the sources ZIP from releases. SHA256 from working 1.8.3 on Windows 11 22000.348:

  • 83dab0354422525eb0e73fe3b9395efb34426a6cc68ef8670722939593cb7120

Recently, I upgraded my OS Win 10 64-bit from version v1903 to v2004. Then I failed to run the latex.exe through TexStudio (it worked well before the Win 10 upgrade). The error is shown as

"The program or feature "??\C:....\MiKTex 2.9\miktex\bin\x64\pdflatex.exe" cannot start or run due to incompatibility with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available. "

I tried to install the latex MiKTex (basic-miktex-20.6.29-x64) but an error "Windows API error 216." paused the installation. I also tried to uninstall the current MiKTex, but an error prompted "This app can't run on your PC. To find a version for your PC, check with the software publisher.".

Is there anyone know the solution for this issue? Thanks a lot.

asked Sep 26, 2020 at 18:57

Z-LunZ-Lun

211 silver badge4 bronze badges

After diving into this problem for a few hours, I found a solution by myself. Here are the steps:

  1. Install the latest MiKTex. Even I encountered the "Windows API error 216" error, the latest MiKTex is actually successfully installed.

  2. Open TexStudio, Go to "Options -> Configure TexStudio -> Commands", manually choose the the path of the latest MiKTex for Latex, PdfLatex (based on what kind of latex you use). Then TexStudio won't reach the incompatible pdfLatex.exe in the previous MiKTex 2.9 folder.

I guess my issue is 99% probability due to the OS upgrade but I am not sure. It is not usual to hit this issue because you need to install MiKTex 2.9 in previous Win 10 version and then have a system upgrade to a new version.

I saw some people viewed my question and I really appreciate your attention on my question. Thank you very much. Hopefully, this solution will help others who have the same issue as mine.

answered Sep 26, 2020 at 21:20

Z-LunZ-Lun

211 silver badge4 bronze badges

Not the answer you're looking for? Browse other questions tagged miktex windows or ask your own question.

How do I run a program that is not compatible with 64 bit?

Use the following steps:.
1) Right click on the Program..
2) Click on Properties..
3) Click on Compatibility tab..
4) Select Run this program in compatibility mode and select Windows Vista or whatever operating system the program was running successfully..

How can I run a 32

Right-click on the app and choose Properties. In the Properties window, select the Compatibility tab. Then, under the Compatibility mode, check Run this program in compatibility mode for and select the target Windows system.

How do I run a program in 64 bit mode?

If no *32 is shown next to the image name, then the worker process is running in 64-bit mode. To run the 64-bit version of Microsoft IIS: Step 1: Click Start, click Run, type cmd, and then click OK. Step 4: Make sure that the status of ASP.NET version 2.0.

How do I run a program in 32

To run an application in Compatibility Mode, navigate to it in the file explorer and right-click it. Same as above, click on Properties from the menu. Under Properties, click on the Compatibility tab. Click the box that says “Run this program in compatibility mode for:” and select the Windows version you want to use.