Script designed for AVD (Azure Virtual Desktop) App Attach This utility transforms standard MSIX/APPX packages into .cim (CIMFS) images
- GUI Integration: Browse and select MSIX/APPX packages using a native Windows File Explorer dialog.
- CIMFS Optimisation: Configured to use parameters (
-filetype CIMand-rootDirectory apps) to ensure quick mounting - Dependency Monitoring: Automatically scans and highlights package dependencies in green within the console
- Permission Integrity: Utilises the
-applyACLsflag to preserve original NTFS file permissions within the final image. - Workspace Management: Intelligent logic verifies and creates the
C:\cimoutput environment if it does not already exist.
- Permissions: Must be executed with Administrator privileges.
- Dependencies: Requires
msixmgr.exeto be located inC:\msixmgr\. - Signing: The source MSIX package must be digitally signed (e.g., using a *.pfx) before conversion.
- Launch PowerShell as Administrator.
- Navigate to the folder and execute the script:
.\MSIX-to-CIM.ps1
- Select your target .msix package via the file picker.
- Input a name for your output image (extension handled automatically).
- Retrieve your *.cim from
C:\cim.
Developed by Aftab Khan | February 2026