Tuesday, June 5, 2012

App-V - Running apps in compatibility mode

Fun fact - you can add App-V virtual drive paths to the compatibility mode registry key and have your virtualized apps run in compatibility mode.  Normally, the shortcuts for App-V apps all point to sfttray.exe, so if you try to set compatibility on the generated App-V shortcut, you'll actually be setting it on sfttray.exe for all App-V apps.

Just head over to HKLM/Software/Microsoft/Windows NT/CurrentVersion/AppCompatFlags/Layers.  Create a new REG_SZ where the name of the item is the virtualized path (for example, Q:\MyApp.000\MyApp.exe and the value is the compatibility mode (WINXPSP3 for example).

The downside of this (at least so far) is that when I set this to WinXP something trips in the App-V stack to now require admin privs.  If I could make that magically go away, this would be a good day.

1 comment: