Forum Discussion
(Azure) Virtual Desktop Optimization Tool now available
Hello FreekBloemhof ,
To prevent changes to existing user profiles on virtual desktop, either do not apply to session hosts that host local profiles, or modify the input file 'Appxpackages.json' and change the value 'VDIState' to "enabled" for each app you wish to keep. For example to keep the Sticky Notes app, change this:
{
"AppxPackage": "Microsoft.MicrosoftStickyNotes",
"VDIState": "Disabled",
"URL": "https://www.microsoft.com/en-us/p/microsoft-sticky-notes/9nblggh4qghw",
"Description": "Notetaking app"
},
to this (for Stick Notes as an example):
{
"AppxPackage": "Microsoft.MicrosoftStickyNotes",
"VDIState": "Enabled",
"URL": "https://www.microsoft.com/en-us/p/microsoft-sticky-notes/9nblggh4qghw",
"Description": "Notetaking app"
},
To fix the existing profiles, you should be able to reinstall the app(s) from the Store app, which is not removed because it is real difficult to get back. You can go through the Appx input file and you can find the URL to each app in the input file.
I hope this is helpful.
Thanks,
Robert M. Smith
Robert_Smith thanks for the information here about the Appx packages but I don't think you answer the question about how we can clean up these leftover artifacts in the case where we DO want to remove these apps but local user profiles already exist on the session host. Is there no way to do this?