Share via


Reinstall Default windows 10 apps

Question

Thursday, May 25, 2017 8:16 PM

I'm in the process of building a wind 10 image for or win 10 transition. I removed the default programs using this command: Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online 

The problem is, it removed the calculator app and in the future there may be other apps we would like to add back in. How do you add this app back in as it originally was?

I have tried it the following way:  Add-AppxPackage -Register 'C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1705.1301.0_x64__8wekyb3d8bbwe\AppxManifest.xml' -DisableDevelopmentMode

but, this does not add it back for new users that sign into the machine. How do I add these apps back in so are installed on new users instead of only to the users that have already signed into the machine?

Thanks,

All replies (4)

Friday, May 26, 2017 2:02 AM

Hi,

Type or copy-paste the following command inside your PowerShell window:

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

Now, give it some time. It will most likely do nothing at all for up to 30 seconds. Even if it shows an error, try to restart the computer if the command is completed. Upon restarting, the default apps should show up again in your Windows 10 start menu, such as Xbox, Mail and all the others.

Regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Wednesday, May 31, 2017 8:42 PM

Thanks for the Help. This does appear to reinstall the apps for users that have already signed in but it does not work for any new users that sign into the machine. Can it be done so when new users sign in they get the apps?

Thanks,


Tuesday, June 6, 2017 2:45 AM

One thing we need to know, Store app is aimed at user not machine, when we change the account, installed Store apps will become its original state. 

Since you have customized your system image, when a new account sign in, he will not see those apps that removed by you before, it's a normal phenomenon. New user needs to run above-mentioned PS command again to reinstall apps.

Regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Wednesday, October 25, 2017 10:27 PM | 1 vote

When you create a  new user account it will make a copy the built in administrator account. So what I suggest is to run the command Teemo Tang mentioned in the built in admin account. 

1) In an elevated command prompt run the following to enable administrator account.

net user administrator /active:yes

2) Reboot and log in to the admin account 

3) Run the following command in an elevated Powershell 

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

let it finish

4) to disable admin account run the following

net user administrator /active:no

5) Reboot