- to uninstall all built-in apps for all user accounts:
Get-AppxPackage -AllUsers | Remove-AppxPackage
- to prevent apps from installing for new users we need to remove Provisioned Packages:
Import-Module Appx
Import-Module Dism
Get-AppXProvisionedPackage -online | Remove-AppxProvisionedPackage -online
*Note 1
Run the following command to allow scripts to run.Set-ExecutionPolicy Unrestricted
After you have finished set it back using the below command.Set-ExecutionPolicy Restricted
**Note 2
Unistalling built-in apps for all users seems to make sysprep fail. To fox the syspep problem use the above code to remove Appx Provisioned Packages.For more details see:
- Sysprep fails after you remove or update Microsoft Store apps that include built-in Windows images
- [SOLVED] Unable to sysprep a Windows 10 machine due to a provisioned app that is gone - Spiceworks
- Keeping apps from coming back when deploying the feature update | Microsoft Docs
- [Guide] How to Remove All Built-in Apps in Windows 10 - AskVG
- Uninstall Apps in Windows 10 | Tutorials
- Exam Ref 70-697 Configuring Windows Devices - Andrew Bettany, Andrew Warren - Βιβλία Google
- How to keep apps removed from Windows 10 from returning during an update - Windows Application Management | Microsoft Docs
Extra---Reinstall any App you remove
- [Guide] How to Reinstall All Default Built-in Apps in Windows 10 - AskVG
- Remove Cortana, Microsoft Edge, Contact Support and Feedback Apps - AskVG
- How To Reinstall Store And Other Apps In Windows 10
- Restore or Reinstall Windows Store in Windows 10 after uninstalling it with PowerShell
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Get-AppxPackage -allusers *calc* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Script Center Scripts:
- Script Offline Provisioned Application Package Removal.
- Script Remove Windows Store apps in Windows 8, Windows 8.1 and Windows 10