question

BrandonPeters-6835 avatar image
0 Votes"
BrandonPeters-6835 asked MJScott-8074 answered

FSLogix preventing Microsoft Store Apps from loading

We are using FSlogix profile container in our VDI environment, which is non-persistent, and we have an issue where we cannot add/provision Microsoft store applications for users.

We we received the guidance below, but I am wondering if this sounds right, since FSlogix isn't really a roaming profile. Has anyone else had to make these changes in order to get MS store apps to work while using FSlogix?

  1. Exclude %localappdata%\packages from FSlogix profile container.

  2.  The following policies must to be applied:
           a.    SpecialRoamingOverrideAllowed - https://docs.microsoft.com/en-us/windows-server/storage/folder-redirection/deploy-roaming-user-profiles 
           b.    AllowDeploymentInSpecialProfiles - https://getadmx.com/?Category=Windows_10_2016&Policy=Microsoft.Policies.Appx::AllowDeploymentInSpecialProfiles
    
windows-server-fslogix
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

FredrikEndresen-9130 avatar image
0 Votes"
FredrikEndresen-9130 answered

Hi @BrandonPeters-6835



Don`t you think it would better to use the built in FSLogix exclude/include feature (redirections.xml) and exclude the "%localappdata%\packages" folder

The "%localappdata%\packages" will then be redirected to the "local_<username>" folder, and not copied to the profile disk when logging off.

Regards
Fredrik

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MJScott-8074 avatar image
0 Votes"
MJScott-8074 answered

The issue with FSLogix is that it persists the entire user hive by default. This breaks store app (UWP Apps) persistence because there are various registry keys in the user hive that cannot persist between non-persistent desktop sessions. Also, OneDrive does not work properly (SSO) between logins due to the same issue. Certain keys need to be excluded from the user hive in order for FSLogix to work properly. I'm shocked that Microsoft will only support FSLogix as a profile solution when it doesn't even work properly on their own OS out of box.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MarkusWehr-3104 avatar image
0 Votes"
MarkusWehr-3104 answered

As a workaround this command in the loginscript works
e.g.
Add-AppxPackage -DisableDevelopmentMode -Register "c:\program files\windowsapps\Microsoft.VP9VideoExtensions_1.0.22681.0_x64__8wekyb3d8bbwe\AppxManifest.xml"

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EddyHorsting-0789 avatar image
0 Votes"
EddyHorsting-0789 answered

In short. There is no solution. Look at this thread:

https://techcommunity.microsoft.com/t5/windows-virtual-desktop/how-do-we-install-store-apps-the-proper-way/m-p/1270907

It also does not work on WVD.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EddyHorsting-0789 avatar image
0 Votes"
EddyHorsting-0789 answered EddyHorsting-0789 commented

I am in a support call with MS on this but not yet a real solution...

I deployed the apps through powershell/dism (download offline app from business store) with add-appxprovisionedpackage.
It appears in the startmenu for the user, but is not starting.

I tried one without any dependencies so that should not be an issue...

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I excluded the packages folder in the xml and I am testing that now. So far it fixed my issue but haven't rolled this out company wide yet.

0 Votes 0 ·

Did this work for you? I would be interested in the steps you took if so.

0 Votes 0 ·

Yes and no. It's a long story.

Short version:

Through DISM provisioning on the golden image I managed to get (some) apps working. A few do not work. I have to make a new ticket for that.
However. With users where the profile is 'corrupted' (meaning: apps do not work at the moment) I do not yet have a solution to make it work on the new image.

New users (or profile resetted) get the apps and as far as I can test they keep working. Sometimes however they seem to disappear from the Start Menu.

MS really has to fix this properly. With Windows 7 I could do Windows Updates, update some applications and roll out a new VDI. From Windows 10 this has become a fulltime job with a lot of hurdles. I don't know if they do it deliberately to push us to WVD (they were very helpful with my support ticket) but it's really frustrating...

0 Votes 0 ·
Dlo-2139 avatar image
0 Votes"
Dlo-2139 answered

We have the same issue so we are going to try excluding the packages folder in the XML
I tried deleting the folder before I logged out manually but a few files were in use but when I logged in things seemed better so going to just exclude them for the time being to see if it helps out situation.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

asmithgt avatar image
0 Votes"
asmithgt answered

I'm experiencing odd issues with getting UWP apps to persist as well, so tracking this thread :-)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EddyHorsting-0789 avatar image
0 Votes"
EddyHorsting-0789 answered

I've opened a support ticket with MS on this issue.

Calculator, Photos, OneNote for Windows 10. All disappearing over time. This is not acceptable.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EddyHorsting-0789 avatar image
0 Votes"
EddyHorsting-0789 answered

I have implemented the changes (along with the latest FSLogix release) in a test environment. Resetted my FSLogix profile.. Logged on. Apps working.
Next day, log on again. OneNote gone...

Tried re-installing from Windows Store: Something unexpected happened: Code 0x80072EFE

This has got to be fixed... I am glad I can use a persistent VDI myself where I have uninstalled FSLogix and not have the problems with the Apps.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EddyHorsting-0789 avatar image
0 Votes"
EddyHorsting-0789 answered

Same issue.

Apps disappearing over time. I have now created a test policy with mentioned keys and excluded the packages from FSlogix, however. I do not seem to get back for example the Calculator.

I tried every powershell command I could find but without success. Any thoughts?
When I reset a users profile (delete the fslogix vhd's) and the user logs in all apps are there (this I have not yet tried with the new settings).

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.