Are you one of the IT pros that uninstall all or some of the built-in apps in Windows 10 and now changed your mind? This is how you remove them and get them back with PowerShell!

 

Remove an app

Get-AppxPackage *windowsmaps* | Remove-AppxPackage

 

Remove the provisioned app

Get-AppxProvisionedPackage -Online | ? {$_.DisplayName -like “*maps*” } | foreach { Remove-AppxProvisionedPackage -PackageName $_.PackageName -Online }

 

List all Provisioned apps, and locations, these are possible to reinstall

Get-AppxPackage -AllUsers | Select Name, PackageFullName, InstallLocation

 

Reinstall/Register all apps

Get-AppXPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”

 

Reinstall/Register one app

Get-AppxPackage *windowsmaps* -AllUsers | foreach { Add-AppxPackage -Register “$($_.InstallLocation)\AppXManifest.xml” -DisableDevelopmentMode }

image

 

Store or apps crashing or do not start?

Try the built-in troubleshooting wizards

image

 

Also keep WSReset.exe in mind if you have problem opening Microsoft Store or an app. Just run WSReset in an elevated command prompt.

Advertisements