Running 32-bit MMC snap-ins in App-V on 64-bit Windows

I came across an issue today whilst sequencing an application on Windows 7 x64 that contained a start menu shortcut to a .MSC file. During sequencing the application launched fine but it would not do so on the client.

The solution is to modify the OSD to point to MMC.exe with the -32 switch and the path to your .MSC file wrapped in quotes:

<CODEBASE HREF="*" GUID="*" PARAMETERS="-32 &quot;%SFT_MNT%\ROOTFOLDER\PathToFile.msc&quot;" FILENAME="%CSIDL_SYSTEM%\mmc.exe" SYSGUARDFILE="*" SIZE="*"/>

You will also need to set the __COMPAT_LAYER environment variable if MMC.exe requests elevation:

<ENVLIST>
    <ENVIRONMENT VARIABLE="__COMPAT_LAYER">RunAsInvoker</ENVIRONMENT>
</ENVLIST>

This should allow it to work on both x86 and x64 clients.

One response on “Running 32-bit MMC snap-ins in App-V on 64-bit Windows

  1. Thanks for this one!!! was able to get by Quest Active Roles by creating a shortcut based upon your post.

    In order to publish into citrix I needed to do this command line

    C:\Windows\SysWOW64\mmc.exe -32 “%ALLUSERSPROFILE%\Microsoft\AppV\Client\Integration\81D2BAA5-29A2-4C0E-B416-F5C74FF0D4F6\Root\MMC\ActiveRoles Server.msc” /appvve:81D2BAA5-29A2-4C0E-B416-F5C74FF0D4F6_ADB7B412-4A23-4056-8609-1DA022B210EA

Leave a Reply