Jump to content
  • 0

Virtual desktops disable load of appx packages at logon


Björn Schläfli

Question

We use FSLogix as profile solution. Control Ups logon duration analyzer shows 15 - 25 seconds at logon at the phase 'load appx packages'. It happens at every logon, not just the first one.

 

DelayedDesktopSwitchTimeout  is set to 0 (also tested 1)

We use Citrix Optimizer 

We removed all possible appx packages while staging windows 10 22h2

 

The cause is probably that the appx packages are stored in the regkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\UserSID for each user. Of course, this SID key is missing on non-persistent virtual desktops. Therefore, the AppReadiness service thinks it's the first login by that user and installs the AppX packages each time. But how should it be possible to create this UserSID entry beforehand, since you don't know with which desktop gets assigned to which user with pooled desktops. HKLM for user keys...bad idea.

 

Does anybody have any helpful tips how I'm able to reduce this time? Is it possible to bypass this appx load package phase?

 

Disabling the service appreadiness kills the load of appx but that's no solution as you can't open start menu afterwards and a lot more issues.

 

Link to comment

4 answers to this question

Recommended Posts

  • 0

Yeah this process is horrible and has been for a long time… amazingly it’s been somewhat optimised in multi session windows 10 but not enterprise… ridiculous really 

 

There is a new feature in the latest release that I have haven’t tested which appears to be the start of trying to address this issue https://learn.microsoft.com/en-us/fslogix/whats-new

 

That’s about all you can play with in a safe fashion 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...