Script Snippets: Run 64-Bit PowerShell as Intune Win32 App Install Script

Because the "Microsoft Intune Management Extension" runs as a 32-bit executable, by default on a 64-bit machine it launches the 32-bit PowerShell executable. This can cause some undesired effects when your packaged Win32 app relies on a PowerShell script for installation.

Nathan Ziehnert

4 minute read

Let me set the stage here. Let's say you have a Win32 app you want to deploy, but you need to do some configuration as part of the install that the installer cannot natively handle - such as registry changes or file copies. In ConfigMgr, you might write a wrapper script in your favorite language to run the installer and then do that post configuration. You install it and everything is right in the world.