|
1 | 1 | --- |
2 | 2 | title: Win32 App Management in Microsoft Intune |
3 | 3 | description: Learn how to manage Win32 apps with Microsoft Intune. This article provides an overview of the Intune Win32 app delivery and management capabilities. |
4 | | -ms.date: 10/02/2025 |
| 4 | +ms.date: 01/14/2026 |
5 | 5 | ms.topic: overview |
6 | 6 | ms.reviewer: bryanke |
7 | 7 | ai-usage: ai-assisted |
@@ -48,6 +48,40 @@ To use Win32 app management, be sure the following criteria are met: |
48 | 48 | > |
49 | 49 | > The [Microsoft Intune management extension (IME)](../apps/intune-management-extension.md) provides Intune's Win32 app type capabilities on managed clients. It's installed automatically when a PowerShell script or Win32 app is assigned to the user or device. Additionally, the Intune management extension agent checks every hour (or on service or device restart) for any new Win32 app assignments. |
50 | 50 |
|
| 51 | +## PowerShell script installer |
| 52 | + |
| 53 | +When adding a Win32 app, you can upload a PowerShell script to serve as the installer instead of specifying a command line. Intune packages the script with the app content and runs it in the same context as the app installer. This capability enables richer setup workflows, including: |
| 54 | + |
| 55 | +- Prerequisite checks before installation |
| 56 | +- Configuration changes during installation |
| 57 | +- Post-install actions and validation |
| 58 | +- Complex conditional logic based on device state |
| 59 | + |
| 60 | +The PowerShell script runs in place of the standard install command, and installation results appear in the Intune admin center based on the script's return code. |
| 61 | + |
| 62 | +### Script requirements |
| 63 | + |
| 64 | +- Scripts are limited to 50 KB in size |
| 65 | +- Scripts run in the same context as the app installer (system or user context) |
| 66 | +- Return codes from the script determine installation success or failure status |
| 67 | +- Scripts should run silently without user interaction |
| 68 | + |
| 69 | +> [!NOTE] |
| 70 | +> If Multi-Admin Approval (MAA) is enabled for your tenant, you can't upload PowerShell scripts during app creation. You must first create the app, then add or modify scripts afterward. Currently, script properties like `enforceSignatureCheck` and `runAs32Bit` can be edited without MAA requests, but this behavior will change in a future update to require MAA approval. |
| 71 | +
|
| 72 | +### When to use script installers |
| 73 | + |
| 74 | +Consider using PowerShell script installers when: |
| 75 | + |
| 76 | +- Your app requires prerequisite validation before installation |
| 77 | +- You need to perform configuration changes alongside app installation |
| 78 | +- The installation process requires conditional logic |
| 79 | +- Post-installation actions are needed (like registry modifications or service configuration) |
| 80 | + |
| 81 | +For command line installations, you can continue using the traditional Install command field. |
| 82 | + |
| 83 | +For more information about adding Win32 apps with script installers, see [Add, assign, and monitor a Win32 app in Microsoft Intune](../apps/apps-win32-add.md). |
| 84 | + |
51 | 85 | ## Prepare the Win32 app content for upload |
52 | 86 |
|
53 | 87 | Before you can add a Win32 app to Microsoft Intune, you must prepare the app by using the Microsoft Win32 Content Prep Tool. You use the Microsoft Win32 Content Prep Tool to preprocess Windows classic (Win32) apps. The tool converts application installation files into the *.intunewin* format. For more information and steps, see [Prepare Win32 app content for upload](apps-win32-prepare.md). |
|
0 commit comments