imageHello everyone, John Behneman here, and in today’s post I wanted to pass along a tip that might come in handy as you prepare for App-V v5. I recently worked with a customer who had multiple corrupt App-V 4.6 SP1 RDS Client installs that were failing to upgrade. When we tried to uninstall the clients that also failed. Fortunately for us, the following procedure allowed us to completely remove the App-V 4.6 SP1 client and then successfully install the current version.

1. After exiting any running App-V packages, remove the App-V related services by running the following commands from an elevated CMD prompt (Run As Administrator):

sc delete sftvsa 
sc delete sftlist 
sc delete sftplay 
sc delete sftfs 
sc delete sftvol

Note that sc delete does not remove running services so you may have to issue the sc stop <serviceName> command before running sc delete <serviceName>.

When complete, reboot the client.

2. Remove the App-V files by running rmdir /s on the install directory (usually c:\program files\microsoft application virtualization client).

Note: If you get an "Access is denied" error when trying to delete .dll and/or .exe files, run Task Manager in an Administrator context, select the Services tab, click Name to sort by task name, then for every "sft*" (App-V) service listed, right-click and click "Stop Service". Then try deleting the install directory again. This problem usually only shows up if you didn’t reboot after step #1.

3. Delete the following directories on the client:

  • %public%\documents\softgrid client
  • %appdata%\softgrid client
  • %localappdata%\softgrid client

4. Reboot the client.

This will normally take care of the problem and you should be able to reinstall at this point. However, if you still can’t get your new client installed, check in the Registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet for any SFT* services (e.g. via 'reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services | findstr /i "\sft"'). These should have been removed by step 1 above followed by a reboot, but if they are still there you can remove them manually.

John Behneman | Senior Support Escalation Engineer | Microsoft CTS Management and Security Division

Get the latest System Center news on Facebook and Twitter:

clip_image001 clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms- identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/