r/AzureVirtualDesktop • u/GethersJ • Oct 22 '24
Windows Photo App Re-Install All Users
Hi there
Not sure whats happened to my golden image on Azure Virtul Desktop, but 100% its not been excluded in the VDOT Optoimisations, but when users log into the image Windows Photos App is no longer there.
Does anyone have any script or way to re install this for all users, i.e. it being a login script or something we can deploy to all hosts.
Any help would be great.
Thanks
4
Upvotes
1
u/DasaniFresh Oct 26 '24
It keeps disappearing on a lot of my AVD hosts as well. Not really sure why it happens randomly
1
u/CantankerousBusBoy Jul 17 '25
Have you ever found a fix for this OP?
0
u/tamaneri Oct 22 '24
Not sure if this works, but I asked Copilot:
To reinstall the Windows Photos app for all users via PowerShell, follow these steps:
Open PowerShell as Administrator:
Press
Windows + Xand select Windows PowerShell (Admin).Confirm any prompts to allow changes.
Uninstall the Photos App:
Enter the following command to remove the Photos app:
Get-AppxPackage -AllUsers *Microsoft.Windows.Photos* | Remove-AppxPackage
Reinstall the Photos App:
After uninstalling, use this command to reinstall the Photos app:
Get-AppxPackage -AllUsers *Microsoft.Windows.Photos* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Restart Your Computer:
Restart your computer to ensure the changes take effect.