共用方式為


How to manually uninstall the App-V 4.6 SP1 client

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: https://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: https://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: https://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: https://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: https://blogs.technet.com/momteam/
System Center – Service Manager Team blog: https://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: https://blogs.technet.com/scvmm

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

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

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

Comments

  • Anonymous
    August 29, 2014
    app v lead to an error when install the ie 12 preview.
    beacause i install ie12 once,but i uninstalled,
    now,i want to try ie 12 again,howerver,this issue happens.
  • Anonymous
    July 12, 2016
    Steps that fixed a recent difficult issue where App-V Admin could not upgrade 4.6.1 to 4.6.3:• Repaired the .net framework 4 extended and client profile using the .net repair tool .• Uninstalled the .net framework 4 extended and client profile• Followed blog for removing App-V client manually How to manually uninstall the App-V 4.6 SP1 client https://blogs.technet.microsoft.com/appv/2013/02/28/how-to-manually-uninstall-the-app-v-4-6-sp1-client/• Ran the Microsoft installer and uninstaller trouble shooter to remove App-V stale files and Reg entries. How to fix MSI software update registration corruption issues https://support.microsoft.com/en-us/kb/971187• After the above steps used the full installer for App-V installation and updated to latest hotfix, must use the Setup.exe installer and not the setup.msi, the setup.exe checks for required prerequisites where the setup.msi doesn't.