[SOLVED] Windows 10 App installation via Powershell

Morugs

BANNED
Mar 20, 2021
38
0
45
Hey, to clear the situation right away, i messed up my OS a little.
However im trying to avoid a resintalltion and wish to fix this with the powershell or cmd.

Why does this command not work?
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Windows.Photos*\AppxManifest.xml" -DisableDevelopmentMode

For example this one does work:
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.ZuneVideo*\AppxManifest.xml" -DisableDevelopmentMode

Is this parth the problem " Microsoft.Windows.Photos* " ? did i write anything wrong?
I am trying to reinstall windows photos with the powershell.
 

gardenman

Splendid
Moderator
Hi, welcome to T.H. Forums.

I think it's not working because it's actually still half installed.

Open powershell (run as Admin).

Do the first 5 steps here:
https://www.intowindows.com/how-to-reinstall-the-photos-app-in-windows-10/
Be sure to do steps 3-5 also.

Then run the command:
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.Windows.Photos*\AppxManifest.xml" -DisableDevelopmentMode
 
Solution

TRENDING THREADS