Reinstall with powerhell

I removed these two apps via powershell with the following commands
Get-AppxPackage *photos* | Remove-AppxPackage
Get-AppxPackage *windowsstore* | Remove-AppxPackage

How can I get them back?
WellingtonISAsked:
Who is Participating?
 
WellingtonISConnect With a Mentor Author Commented:
Nothing worked.  Reinstalled Windows.
0
 
JohnBusiness Consultant (Owner)Commented:
Try this for Windows Store

http://www.winhelponline.com/blog/restore-windows-store-windows-10-uninstall-with-powershell/

It would be similar for photos.

I do not uninstall these things.
0
 
WellingtonISAuthor Commented:
I tried this:
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Waiting for user to reboot
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
JohnBusiness Consultant (Owner)Commented:
Please let us know after the restart.
0
 
WellingtonISAuthor Commented:
Didn't work  Is there any place to download the app - save it and then install it?
0
 
JohnBusiness Consultant (Owner)Commented:
Remove Windows Apps is always dangerous.

Try doing an in-place (Keep Everything) Repair Install.

Go to the Media Creation Link

https://www.microsoft.com/en-us/software-download/windows10

Windows 10 is running, so click on the Download button (not Upgrade Button, select Open (Run) but NOT Save. Allow the program to run. Allow drivers to update. Then select Keep Everything
0
 
WellingtonISAuthor Commented:
we can try but is there a way to download the photo app on its' own?
0
 
JohnBusiness Consultant (Owner)Commented:
I will look but I do no know another way other than powershell
0
 
WellingtonISAuthor Commented:
Do you think a system restore will bring it back?
0
 
JohnBusiness Consultant (Owner)Commented:
It might, if the restore goes back to a point where the apps were removed.  It is worth a try.
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
Remove Windows Apps is always dangerous.
Totally disagree with this statement

Run this to restore all buitin apps
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Open in new window

0
 
WellingtonISAuthor Commented:
Reinstalled windows.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.