You may want to uninstall some Built-In apps in Windows 10. Especially if you want to create a Windows 10 reference image. You can uninstall any universal app with PowerShell. First, you need to identify the name of the desired app:
PS > Get-AppxPackage | select Name Name ---- Microsoft.BioEnrollment Microsoft.AAD.BrokerPlugin Microsoft.Windows.CloudExperienceHost Microsoft.Windows.ShellExperienceHost windows.immersivecontrolpanel Microsoft.AccountsControl Microsoft.LockApp Microsoft.MicrosoftEdge Microsoft.PPIProjection Microsoft.Windows.Apprep.ChxApp Microsoft.Windows.AssignedAccessLockApp Microsoft.Windows.ContentDeliveryManager ...
Here I want to uninstall the Xbox app. Take a look at the properties:
PS > Get-AppxPackage | ? {$_.name -eq "Microsoft.XboxApp"} Name : Microsoft.XboxApp Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Architecture : X64 ResourceId : Version : 19.21.7006.0 PackageFullName : Microsoft.XboxApp_19.21.7006.0_x64__8wekyb3d8bbwe InstallLocation : C:\Program Files\WindowsApps\Microsoft.XboxApp_19.21.7006.0_x64__8wekyb3d8bbwe IsFramework : False PackageFamilyName : Microsoft.XboxApp_8wekyb3d8bbwe PublisherId : 8wekyb3d8bbwe IsResourcePackage : False IsBundle : False IsDevelopmentMode : False Dependencies : {Microsoft.VCLibs.140.00_14.0.24123.0_x64__8wekyb3d8bbwe, Microsoft.NET.Native.Framework.1.3_1.3.242
The only thing you need is the “PackageFullName” property. Run the following command to remove the application:
PS > Remove-AppxPackage Microsoft.XboxApp_19.21.7006.0_x64__8wekyb3d8bbwe
You can also run this command:
PS > Get-AppxPackage *Xbox* | Remove-AppxPackage
Thanks for reading! You can follow me on Twitter @PrigentNico