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.