Problem installing Microsoft Photos as K2000 post-deployment task (or at all)

On Windows 10 21H2, I have been unable to install Microsoft Photos via Powershell. I want to add it as a K2000 Post-Installation task, but the Powershell command I've found everywhere for installing it just doesn't work. The command I've found is:

Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Powershell doesn't reject it, but it also doesn't install the software.

Can anyone offer any guidance on this, or another way to install it as a K2000 Post-Installation task?

Thanks in advance!

0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ