Is there a proper, 100% supported method of persisting Windows Store installed apps across sessions in a non-persistent Windows 10 VDI pool? Do I just need to provision them for all users in the gold image?
I'm primarily testing with the "Microsoft Sticky Notes" app because I know a lot of our staff use it. I can install it but after I log off, no matter what method I've tried, the app becomes uninstalled. It takes me to the Windows Store and shows that I "own" it, but I have to install it again to open it. Calculator is fine, but I left that one in the gold image as a provisioned app for all users.
I've attempted VMware Knowledge Base - this doesn't seem to do anything, even with a brand new UEM profile.
Following https://vjonathan.com/2019/01/01/uem-non-persistent-vdi-deployment-and-windows-10-uwp-apps-missing/ - this method preserves data. The notes I made show up on next login, and I have the icon for the app, but it still needs to be reinstalled from the store.
Windows 10 1803
Any help is appreciated.
No consistent solution, unfortunately. I've gotten some working by making sure they are provisioned for all users in the gold image, but I still have issues with the icons disappearing and things breaking. I pretty much consider them "unsupported" at this point.
I am running this config file to capture them, but it doesn't work most of them time anyway:
#Edge Config File already captures theses settings.
I left Sticky Notes and Calculator installed when I set up a new 1903 gold image, and that way the icons show in start menu for all users. The Microsoft Store app must be enabled, and I found that Windows Update must be enabled, because the Store app uses Windows Update to update/install the apps. (I learned this the hard way when printers refused to install; turns out Windows checks Windows Update for printer apps whenever adding new printers.)
If you need to restrict the Store, you can set that up here: https://businessstore.microsoft.com/en-us/store. Log in as a global admin, and click "Shop for my group". Basically the business store allows you to chose some apps, and restrict the rest of the store using GPO. A new tab will appear in the store with your organizations name on it.The other advantage is users can download without a Microsoft account, and they can use their domain account to sync settings and data.
As for the app re-downloading itself after recomposing a VDI, I haven't found a solution for that, using UEM or any other method. It's incredibly annoying and I feel that Microsoft does it on purpose
Have same issue with Win 10 store apps like calc and sticky notes. I ended up pushing a powershell script at logon to reinstall those store apps that are essentially gone. Crazy...
Hey guys, I am the author of the vJonathan.
Can you guys provided me windows 10 builds, UEM/DEM versions, App volume version? using writable volumes?, used the desktop OS optimization tool on the master image?, instant clones or linked clones? horizon view version?
We have solution in the article deployed across different VDI environments within the company.
My home lab is running 1909 instant clones with DEM 9.10, app volumes 4, and horizon view 7.11.
Thank you for the feedback.
Here is export of my home lab settings.
We are not using any powershell scripts. The end users log off and log back on everyday. The Apps are provisioned during login.
The way we got around the apps not reprovisioning
was adding the following to the “Default Apps and FTA” to fix the Issue.
We ended up reseting/deleting “Default Apps and FTAs” and “Windows Explorer” settings in the affected UEM Profiles because it contained the conflicting RegistryTree Settings.
This is the full config we use for ”Default Apps and FTA”
#Capture UWP settings
#If this entry is removed provisioning UWP Apps at logon will break in non-Persistent deployments.
#Edge Config File already captures theses settings.
edit here is the full configurations
Default Apps and FTA
#Capturing FTA and Default settings
UWP Apps 1809 (Whichever build)
#Capture UWP settings. If this entry is removed provisioning UWP at logon might break.
#Edge settings configured for this
#From VMware KB60282 https://kb.vmware.com/s/article/60282
windows 10 builds0= 2004
UEM/DEM versions : using FxLogix
App volume version: not using app volumes
using writable volumes : not using writable volumes
, used the desktop OS optimization tool on the master image : Yes
instant clones or linked clones? Instant Clones
horizon view version : 7.12
You need to install the Apps offline as a provisioned appx.
To downlaod follow this:
You then can Download the App and its offline License File. With those two Files you are able to install the App as a privisioned App so as every user has the App installed at logon, without the need for reinstalling.
Use this powershell command to install, ignore the dependency if non exists:
Add-AppxProvisionedPackage -Online -PackagePath c:\Appx\myPackage.appx -DependencyPackagePath c:\Appx\dependency1\dependencyPackage.appx -LicensePath c:\Appx\myLicense.xml
I tried this with DEM and even was able to also roam the users apps settings this way.
Can you provide some more info? When I download the package from the business store I get the right package size but the name is not what I expected.
For example: I downloaded the calculator app and I get the following file (it has the right filesize):
That's it. No .appx or .appxbundle.. I know this is not really a VMware question but I could not find anything on it.
I tried renaming it with appx or appxbundle but the I get an error when running the Powershell command.
@ehorsting I get this issue sometimes too... oddly, I have to redownload it again. Sometimes it takes a few minutes for the package to be created on their side, so if you try downloading the same file a few times eventually you'll get the entire package.