Join Brien Posey for an in-depth discussion in this video Manage the application cache, part of Windows 10: Deploy and Manage Virtual Applications.
- [Instructor] Occasionally you may find that in App-V you need to manually remove a package that's been published to a workstation. Right now, I'm on a Windows 10 workstation and if I click the start button, you can see that ExpertGPS has been published to this workstation by App-V. With that said, I'm going to switch over to my App-V server and here I am on App-V and you can see that the ExpertGPS package has been published. What I'm going to do is I'm going to unpublish this package. Now the package is unpublished, and we can see right here that it's unpublished, but the thing about it is that it may take a while for this package to be removed from all of the workstations, so with that said, let me switch back over to my Windows 10 workstation.
Here I am, back on my Windows 10 workstation and if I click the start button, we can see that ExpertGPS is still there, even though it's been unpublished. This should eventually go away, but every once in a while these get stuck and even if there's no problem, it can take quite some time for an unpublished application to be removed. Let's take a look at how we might remove this package manually. What I'm going to do is open up an administrative power shell session. Next, I'm going to type get-AppVClientPackage and this command will show us all of the packages that are published to this PC.
We can see that the name of this package is Expert GPS. If I wanted to manually remove this package, I could type remove-AppVClientPackage and then -Name and then we would have to use the same name that's listed up here, Expert GPS, and I press enter and the package is removed. If we want to confirm that the package has been removed, then what we need to do is repeat the get AppVClientPackage command and when I run that command, we can see that the package is gone, so the package has been removed from this machine.
Even though we've removed the package, sometimes there are remnants that are left over in the cache, so let me show you where to look for the cache in case there are remnants that need to be removed. I'm going to open up file explorer and we're going to go to %programdata% and then from there we're going to go to App-V and then right here, we can see the folder that corresponds to that package that we just removed. If I go into that folder, it's empty, but sometimes especially with older App-V clients, you may find that there are remnants within this cache that need to be removed and when that happens, we can just blow away the folder and then that will get rid of any cache remnants of the App-V package.
That's how you go about managing the App-V cache on a client computer.
- Installing and deploying App-V
- Sequencing an application
- Editing or upgrading an application
- Configuring applications for deployment in App-V
- Deploying apps with Intune