I've got a very specific requirement.....I have a client who wants persistent Win10/11 virtual desktops for developers and power users, but they need to be rebuilt every three months as part of security standards.
Covering the profile side of it is easy enough - just use Citrix UPM to sync off a copy of the profile every now and then. It's the apps that will give me trouble, as these users have access to Nexus repositories to install whatever they want. So I somehow need to come up with a way of provisioning them new desktops every three months and "restoring" all of their applications (data isn't an issue as OneDrive covers that, profile is covered too as I said).
I thought of a few things:-
1. Take a backup of their machine somehow and restore it (but security aren't very keen on this because the whole idea of the 3-month rebuild is to "kill off" any APTs that may be hiding in the filesystem)
2. Use Citrix User Personalization Layer to capture their apps into a layer (not sure how this would perform, but certainly an option - although I'm not sure if UPL can run on persistent machines)
3. Load all the applications into InTune and see if they can be "re-delivered" smartly to the user after the rebuild (not sure how slick this would be, pretty sure InTune apps need to be installed from the company portal, so a lot of time and faff potentially in this which isn't what they want)
4. Use something like Chocolatey or WinGet to handle their interaction with Nexus and put something together to write a file somewhere in their profile that details what apps have been installed, and then use this as a source to redeploy them at rebuild time (not entirely sure if this is doable - Chocolatey certainly doesn't support a "do after install" action so would have to do some custom stuff)
Anyone got any more suggestions that might be worth looking at to handle this? I appreciate being able to "snap" applications into the session based around the user context is pretty much a Holy Grail for VDI environments - hopefully there is something obvious I've missed during my hiatus which will make everything nice and easy 🙂