Windows App deployment in AVD

I've got an annoying issue I'm trying to resolve for a client. I manage AVD for this client and I've got testers on a Win11 24H2 host. This client is subscribed to another AVD subscription setup by a vendor. In the Win10 AVD setup we installed the Remote Desktop Client desktop app without issue. 

I cannot get Windows App to provision and stick for users. I've tried…

  • Installing on the golden image, but sysprep removes it. 
  • Provisioning with a scripted action at host deployment. It installs OK until the first user signs in, then is removed from the system.
  • Provisioning with a scheduled task when the first user logs into the host. No errors but app didn't show up
  • Manually install as a user. This works on the 1 host they ran the install from the MS Store on, but disappears on another host that doesn't have the Windows App provisioned. 
  • UAM deployment ends in failure (I suspect because I'm targeting a host pool and it's a per-user app)

Anyone here have tips for successful store app provisioning?

Thanks!

2

Comments (11 comments)

0
Avatar
John Tokash

G'day sir - I'm curious the use-case?   I asked a similar question in here more for curiosity, and briefly tested this unsuccessfully.   I'm curious the use case, why do they need to use the Windows App inside AVD to access another workspace/host pool?

The first thing that comes to mind is that there could very well be something built into the app to detect whether it is running on a session host and balk intentionally.   My recommendation would be a support case with Microsoft through your indirect provider.   If you do get an official solution or answer on why it won't work, I'd love to see it here.

That said, as for the use case.   In my example I needed the user to interact with another pool and published remote apps, from within their desktop.   We found other ways to meet the customers desired solution, so this never went far.    But in yours, I'll ask - I'm assuming the credentials are different, but why not load the alternative set of credentials into the local device Windows App?  That said, I do genuinely miss the now legacy client interface where all of my credentials and connections were in one view without having to ‘switch’.

0
Avatar
Randy Lehman

We try to keep usability simple and get everything users do working in the remote session. The Windows App stays installed for users if the provision command is run after a user has had a session started on the host. Some login process uninstalls the app from the system and I can't figure out why.

0
Avatar
John Tokash

Randy Lehman  - I would totally agree.   In my use case, we wanted to offload an app currently in their full desktop host pool, to a remoteapp pool (an Intuit product that is persnickety, not QB, but more challenging to update).   So in our case we wanted to have the users launch that app the same way you describe, from within the remote workspace.    Fortunately for us (not for you) - I hit a similar roadblock, and other efforts allowed us to avoid the approach anyway.  We were exploring to see if it would work before trying to promote the solution.

That said though, I still recommend a formal Microsoft case through your upstream partner (unless you have premier/unified support on your own) - and get MS to explain it.   I couldn't find any documentation saying you -couldn't- do it, so much like you are seeing, I would have expected it to work and simply have some nuances to be careful of. 

0
Avatar
Chris Leon

With the move to Windows 11, currently facing the same issue with Snipping Tool, Calculator, Teams. I tried all the steps Randy did and looking for a solution as soon as possible. I saw another post about App Attach but would rather not go down that route until I am out of options. 

On Windows 10 I was able to get New Teams baked into the image just fine, and it would survive sysprep and replicated onto 50+ hosts everyday as we reimage/wipe hosts daily. 

0
Avatar
Randy Lehman

Thanks for the input John Tokash. Sorry I didn't see your update until now. I found the EOL for Remote Desktop Client has been extended into sometime next year, so that is the current band aid so I can move forward with the Win11 image.

Chris Leon New Teams sysprep was an issue for a while but has been fixed by MS for some time. I regularly run the Nerdio GitHub Teams (New) install script on a new Win11 golden image and it survives sysprep and host deployment. I have not had similar issues with Snipping Tool or the Calculator either. Are you running an optimization script that may be stripping these apps off the host during deployment?

0
Avatar
Chris Leon

Yea I had used that same script in the past for Win10, but what ever reason it's not surviving with Win11. Looks like the same situation in this thread https://nmmhelp.getnerdio.com/hc/en-us/community/posts/38390907220749-Snipping-Tool-Disappearing-Win11-23H2

No optimization script, and the image is new and rather simple with only Chrome, Webex, Adobe added to it. As most of the applications the users are using are Remote Apps or Browser based. 

0
Avatar
Randy Lehman

Are you also on 23H2? I've been using 24H2 since summer started. MS May have fixed the app issue in 24H2 but not 23H2. I know they've made that decision between Windows 10 and 11 in the past.

0
Avatar
Chris Leon

Windows 11 Enterprise Multi-Session, 24H2, OS build 26100.4946. 

What's weird when I run the scripts while my test users are online, its like 50/50 chance they will get the app to appear. I just re-read your post, and realized you were initially talking about Windows App disappearing, while I was thinking about all the msstore apps, similar but different. 

Definitely stumped on this. 



 

0
Avatar
Sean Baetz

We're having the same issue, were you ever able to get the Windows App to stay installed?

0
Avatar
Randy Lehman

We stopped trying when we saw EOL for the Remote Desktop Client was extended into this year.

1
Avatar
Martijn Van Braeckel

I was facing the same issue and by adding the parameter -Regions ‘all’ to the Add-AppxProvisionedPackage cmdlet the app did not disappeared anymore.

Please sign in to leave a comment.