Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

When System Center Configuration Manager 2007/Application Virtualization (App-V) integration is enabled, System Center Configuration Manager (ConfigMgr) takes over for the App-V client and runs an SFTMIME “delete” operation for all applications that are not managed by System Center Configuration Manager. It is not uncommon for System Center Configuration Manager administrators to enable this feature not knowing the consequences and causing downtime in their environments.

The immediate symptom in the end user’s view is that applications are not available although this removal behavior is by design if the integration is enabled. To verify that System Center Configuration Manager took over management of the clients you can choose one of the following methods:

1. Verify the DDELaunchCommand and LaunchCommand for the path used, these are located in HKLM\SOFTWARE\Microsoft\SoftGrid\4.5\Client\UserInterface for x86 or KLM\SOFTWARE\Wow6432Node\Microsoft\SoftGrid\4.5\Client\UserInterface for x64. If the client is taken over by ConfigMgr it should list c:\windows\system32\CCM\VappLauncher.exe for x86 or c:\Windows\CCM\Vapplauncher.exe for x64

2. Verify the System Center Configuration Manager client logs specifically virtualapp.log and vapplauncher.log. These are located in c:\windows\system32\ccm\logs for x86 or c:\windows\ccm\logs for x64. The virtualapp.log will show the sftmime commands performed to remove packages.

3. Verify the shortcut properties of virtual applications, instead of sfttray.exe you will see vapplauncher.exe as the executable launching the virtual application.

Symptoms

 

Cause

If you didn’t intend to use the System Center Configuration Manager/App-V integration and you want to quickly recover from this you can leverage one of the following methods.

Method 1: Reinstall App-V client and Configure App-V client:

1. Disable the integration by going into the System Center Configuration Manager console and drill down to the following:

Site Database\Site Management\Site\Site Settings\Client Agents\Advertised Programs Client Agent Properties

Uncheck "Allow virtual application package advertisement"

2. Reinstall the APPV client and configure it to refresh against an APPV server. This can be done using advertisements and changing the commands in the package. You can use the following link to guide you through the install options: http://technet.microsoft.com/en-us/library/ee956917.aspx

Method 2: Replacing the Userinteface keys and restoring the APPV Server configuration in the client (No App-V client reinstall required):

1. Disable the integration by going into the System Center Configuration Manager console and drill down to the following

Site Database\Site Management\Site\Site Settings\Client Agents\Advertised Programs Client Agent Properties

Uncheck "Allow virtual application package advertisement"

2. Replace the DDELaunchCommand and LaunchCommand in HKLM\SOFTWARE\Microsoft\SoftGrid\4.5\Client\UserInterface with the default values that are set when you install the APPV client for the first time. You can also export these keys from a working or newly installed client.

DDELaunchCommand default value:

  • For x86: "C:\Program Files\Microsoft Application Virtualization Client\sftdde.exe" "<APP>" <DDE>

  • For x64: "C:\Program Files (x86)\Microsoft Application Virtualization Client\sftdde.exe" "<APP>" <DDE>

LaunchCommand default value:

  • For x86: "C:\Program Files\Microsoft Application Virtualization Client\sfttray.exe" /launch "<APP>"

  • For x64: "C:\Program Files (x86)\Microsoft Application Virtualization Client\sfttray.exe" /launch "<APP>"

3. Create a script to run the following commands. For this illustration we are using a batch file:

sftmime add server:server-name /host server-name /type RTSP /port 554 /refresh on

If you want more information about this command use the following link: http://technet.microsoft.com/en-us/library/cc817090.aspx

sfttray /refreshall

For more information about this command use the following link: http://technet.microsoft.com/en-us/library/dd835527.aspx

The batch file for x86 system should contain the below lines, remember to replace SERVER-NAME with the name of your App-V server:

==========================

reg add HKLM\Software\Microsoft\Softgrid\4.5\Client\UserInterface /v DDELaunchCommand /t REG_SZ /d """"C:\Program Files\Microsoft Application Virtualization Client\sftdde.exe""" """^<APP^>""" <DDE>" /f

reg add HKLM\Software\Microsoft\Softgrid\4.5\Client\UserInterface /v LaunchCommand /t REG_SZ /d """"C:\Program Files\Microsoft Application Virtualization Client\sfttray.exe""" /launch """^<APP^>"""" /f

sftmime add server:SERVER-NAME /host SERVER-NAME /type RTSP /port 554 /refresh on

sfttray /refreshall

===========================

The batch file for x64 system should contain the below lines, remember to replace SERVER-NAME with the name of your App-V server:

===========================

reg add HKLM\Software\Wow6432Node\Microsoft\Softgrid\4.5\Client\UserInterface /v DDELaunchCommand /t REG_SZ /d """"C:\Program Files (x86)\Microsoft Application Virtualization Client\sftdde.exe""" """^<APP^>""" <DDE>" /f

reg add HKLM\Software\Wow6432Node\Microsoft\Softgrid\4.5\Client\UserInterface /v LaunchCommand /t REG_SZ /d """"C:\Program Files (x86)\Microsoft Application Virtualization Client\sfttray.exe""" /launch """^<APP^>"""" /f

sftmime add server:SERVER-NAME /host SERVER-NAME /type RTSP /port 554 /refresh on

sfttray /refreshall

==========================

This script can be executed through System Center Configuration Manager by means of creating a package and advertisement. You can also use a logon script but the user must be and administrator in the box for changes to take effect or launch in an elevated command prompt.

Resolution

 This information is also available on our website here:

http://blogs.technet.com/b/appv/archive/2011/09/01/how-to-recover-from-accidently-enabling-system-center-configuration-manager-app-v-integration.aspx

More Information

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×