Try our new Certificate Revocation List Check Tool
CRLcheck.exe is a tool developed to verify digital signatures of executable files. It collects files from known paths on your client, checks their signature, and checks Certificate Revocation Lists (CRL) and OCSP download. This helps avoid delays in launching files.
Category published:  APPV/MSIX Deployment   Click on the Category button to get more articles regarding that product.

Clear identical APPV packages out of client cache (Worst case)

Posted by admin on 14.03.2013

To Make this easy if you don’t like it complicated run follwing command under Elevated permission (Guess Local Admin) on the client:

Clear all applications from the APPV Cache

sftmime.exe remove obj:app /global /complete

SFTMIME DELETE OBJ:APP /GLOBAL

https://technet.microsoft.com/en-us/library/cc817205.aspx

 

If you want to know more:

 

  1. If you do as you not should and make the same package under the same name and have to integrate UNDER the same path APPV does not like that. Here is way to delete the package.
  2. The does not include or use the Update feature. You get the “vlc.001” from external or Affiliate in a new version and it has the same directory name as your old version.

Good

Old: Vlc.001

New: Vlc.002

 

Bad

Old: vlc.001

New: vlc.001 (Different Binaries)

  1. Note/mark down the GUID from the old package you remove (DAD9A7A7-2BAF-4934-A704-A075286F3F66)

  1. Delete the package from “Apllications” or however you root is called
  2. Delete the package from “Packages”
  3. Backup the Directory from content to save place
  4. Delete the specific Directory
  5. Copy over the new vlc.001 to content
  6. Import in Console as normal
  7. On the client run following script with the correct GUID of the OLD! package

 This kills the APPV client on the cache and all APPV packages that the user uis currenly using close!

net stop sftlist

net stop “Application Virtualization Client”

net stop “Application Virtualization Service Agent”

del “C:\ProgramData\Microsoft\Application Virtualization Client\SoftGrid Client\OSD Cache\DAD9A7A7-2BAF-4934-A704-A075286F3F66.osd” /Q /F

net start sftlist

net start “Application Virtualization Client”

net start “Application Virtualization Service Agent”

************************************************************************************************

List all Aplications that the client has:

SFTMIME QUERY OBJ:PACKAGE

https://technet.microsoft.com/en-us/library/cc843749.aspx

 

Clear single Appliation from the cache (Needs Administrator rights)

1) SFTMIME UNLOAD APP:”VLC”

2) SFTMIME REMOVE APP:”VLC” /COMPLETE         

3) SFTMIME REFRESH SERVER:YOURAPPSERVERHERE

4) SFTMIME LOAD APP:”VLC”

if Exist “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.com” “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.EXE” UNLOAD APP:”VLC”
if Exist “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.com” “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.EXE” UNLOAD APP:”VLC”

if Exist “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.com” “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.EXE” REMOVE APP:”VLC” /COMPLETE
if Exist “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.com” “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.EXE” REMOVE APP:”VLC” /COMPLETE

if Exist “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.com” “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.exe” REFRESH SERVER:GVXAPP
if Exist “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.com” “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.exe” REFRESH SERVER:YOURAPPSERVERHERE

if Exist “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.com” “c:\Program Files\Microsoft Application Virtualization Client\SFTMIME.EXE” LOAD APP:”VLC”
if Exist “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.com” “C:\Program Files (x86)\Microsoft Application Virtualization Client\SFTMIME.EXE” LOAD APP:”VLC”

There may be a problem if the user still has the package OPEN or there are parts of it open (Child process). In that case the only solution we know is to kill the APPV client like mentioned on top above (Sample batch).

************************************************************************************************

Clear all applications from the APPV Cache

sftmime.exe remove obj:app /global /complete

SFTMIME DELETE OBJ:APP /GLOBAL

https://technet.microsoft.com/en-us/library/cc817205.aspx

************************************************************************************************

Further reading:

http://blogs.msdn.com/b/chinmay_palei/archive/2012/05/14/appv-troubleshooting-demysitfied.aspx
http://blogs.technet.com/b/appv/archive/2007/11/14/softgrid-operations-guide-part-2.aspx
http://esense.be/33/tag/sftmime/


 Category published:  APPV/MSIX Deployment   Click on the Category button to get more articles regarding that product.