You are currently offline, waiting for your internet to reconnect

Elevation and Run-As Considerations in Microsoft App-V Environments


Applications whose manifests specify automatic elevation (for example mmc.exe) may require additional steps to work correctly using run-as in App-V environments.  This is a common scenario for environments that require using separate credentials from the account used to log on to the desktop.  For instance, a normal user account may be used to log on to a Windows 7 Professional desktop, and then a second account with administrative rights may be used to launch the System Center Configuration Manager (ConfigMgr) Administration Console by shift-right-clicking on the shortcut and choosing Run as different user.

Errors will vary depending on the application.  For the Configuration Manager console, the MMC may fail to load with the error: Error initializing console.

This behavior is by design.  When an shortcut to a an App-V virtualized application is launched that invokes sftlp.exe (for example, MMCs and other non-executable images), ShellExecute() does not request elevation.  If you log on to the desktop using the same administrative account that is used to launch the shortcut, the process will elevate successfully.

Workaround #1 - use the Elevation Powertoy

  1. Download and install the Vista Elevation PowerToy
  2. Modify the shortcut to use elevate.cmd.  For example, this command line:

"C:\Program Files (x86)\Microsoft Application Virtualization Client\sfttray.exe" /launch "ConfigMgr 1.0"


C:\Elevation\elevate.cmd "C:\Program Files (x86)\Microsoft Application Virtualization Client\sfttray.exe" /launch "ConfigMgr 1.0"


Workaround #2 - configure sfttray to always launch with elevation

Right-click on C:\Program Files (x86)\Microsoft Application Virtualization Client\sfttray.exe and choose properties.  Click on the Compatibility tab.  Click Run this program as an administrator and then click Apply and OK to exit.  This will cause all App-V packages to run with administrative privileges, and should only be used for testing.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2559075 - Last Review: 06/27/2011 15:53:00 - Revision: 3.0

Microsoft Application Virtualization 4.5 for Windows Desktops, Microsoft Application Virtualization 4.5 for Terminal Services

  • KB2559075