PowerShell命令卸载 Windows系统预装内置软件
一、【核心命令】
Get-AppxPackage -All | Select-Object Name, PackageFullName /*(推荐)获取Win10以上系统所有预装软件 */
Get-AppxPackage *BingWeather* | Remove-AppxPackage /*卸载单个软件
Get-AppXPackage | Remove-AppxPackage /*卸载所有软件命令
Remove-AppxPackage Microsoft.BingWeather_4.53.51461.0_x64__8wekyb3d8bbwe /*针对当前用户卸载该天气组件
Get-AppxPackage Microsoft.BingWeather_4.53.51461.0_x64__8wekyb3d8bbwe | Remove-AppxPackage /*针对当前用户卸载该天气组件
2命令.系统所有用户生效:
Remove-AppxPackage -All Microsoft.BingWeather_4.53.51461.0_x64__8wekyb3d8bbwe /*针对计算机所有用户卸载该天气组件
或
Get-AppxPackage -All Microsoft.BingWeather_4.53.51461.0_x64__8wekyb3d8bbwe | Remove-AppxPackage /*针对计算机所有用户卸载该天气组件
实操2.通过命令 Get-AppxPackage -All 获取系统中所有系统预装软件信息(其中 便笺 组件的全名为 Microsoft.MicrosoftStickyNotes_4.0.4600.0_x64__8wekyb3d8bbwe)
Remove-AppxPackage -Package "Microsoft.MicrosoftStickyNotes_4.0.4600.0_x64__8wekyb3d8bbwe"
windows.immersivecontrolpanel windows.immersivecontrolpanel_10.0.2.1000_neutral_neutral_cw5n1h2txyewy
Microsoft.UI.Xaml.2.0 Microsoft.UI.Xaml.2.0_2.1810.18004.0_x64__8wekyb3d8bbwe
Microsoft.Windows.Photos Microsoft.Windows.Photos_2019.19071.12548.0_x64__8wekyb3d8bbwe
Microsoft.WindowsCamera Microsoft.WindowsCamera_2018.826.98.0_x64__8wekyb3d8bbwe
Microsoft.XboxIdentityProvider Microsoft.XboxIdentityProvider_12.50.6001.0_x64__8wekyb3d8bbwe
Windows.PrintDialog Windows.PrintDialog_6.2.1.0_neutral_neutral_cw5n1h2txyewy
Microsoft.ZuneMusic Microsoft.ZuneMusic_10.19071.19011.0_x64__8wekyb3d8bbwe
Microsoft.YourPhone Microsoft.YourPhone_0.19051.7.0_x64__8wekyb3d8bbwe
Microsoft.XboxGamingOverlay Microsoft.XboxGamingOverlay_2.34.28001.0_x64__8wekyb3d8bbwe
Microsoft.WindowsMaps Microsoft.WindowsMaps_5.1906.1972.0_x64__8wekyb3d8bbwe
Microsoft.WindowsCalculator Microsoft.WindowsCalculator_10.1906.55.0_x64__8wekyb3d8bbwe
Microsoft.WebMediaExtensions Microsoft.WebMediaExtensions_1.0.20875.0_x64__8wekyb3d8bbwe
Microsoft.Wallet Microsoft.Wallet_2.4.18324.0_x64__8wekyb3d8bbwe
Microsoft.StorePurchaseApp Microsoft.StorePurchaseApp_11811.1001.18.0_x64__8wekyb3d8bbwe
Microsoft.MSPaint Microsoft.MSPaint_6.1907.29027.0_x64__8wekyb3d8bbwe
Microsoft.Getstarted Microsoft.Getstarted_8.2.22942.0_x64__8wekyb3d8bbwe
Microsoft.LanguageExperiencePackzh-CN Microsoft.LanguageExperiencePackzh-CN_19041.65.207.0_neutral__8wekyb3d8bbwe
Microsoft.BioEnrollment Microsoft.BioEnrollment_10.0.19041.1023_neutral__cw5n1h2txyewy
Microsoft.Windows.CloudExperienceHost Microsoft.Windows.CloudExperienceHost_10.0.19041.1266_neutral_neutral_cw...
Microsoft.AAD.BrokerPlugin Microsoft.AAD.BrokerPlugin_1000.19041.1023.0_neutral_neutral_cw5n1h2txyewy
Microsoft.Windows.OOBENetworkConnectionFlow Microsoft.Windows.OOBENetworkConnectionFlow_10.0.19041.1023_neutral__cw5...
MicrosoftWindows.UndockedDevKit MicrosoftWindows.UndockedDevKit_10.0.19041.1023_neutral_neutral_cw5n1h2t...
Microsoft.Windows.OOBENetworkCaptivePortal Microsoft.Windows.OOBENetworkCaptivePortal_10.0.19041.1023_neutral__cw5n...
Microsoft.Windows.StartMenuExperienceHost Microsoft.Windows.StartMenuExperienceHost_10.0.19041.1023_neutral_neutra...
Microsoft.Windows.ShellExperienceHost Microsoft.Windows.ShellExperienceHost_10.0.19041.1949_neutral_neutral_cw...
Microsoft.Windows.Search Microsoft.Windows.Search_1.14.10.19041_neutral_neutral_cw5n1h2txyewy
Microsoft.MicrosoftEdge Microsoft.MicrosoftEdge_44.19041.1266.0_neutral__8wekyb3d8bbwe
MicrosoftWindows.Client.CBS MicrosoftWindows.Client.CBS_1000.19041.1000.0_x64__cw5n1h2txyewy
Microsoft.Windows.ContentDeliveryManager Microsoft.Windows.ContentDeliveryManager_10.0.19041.1023_neutral_neutral...
Windows.CBSPreview Windows.CBSPreview_10.0.19041.1023_neutral_neutral_cw5n1h2txyewy
NcsiUwpApp NcsiUwpApp_1000.19041.1023.0_neutral_neutral_8wekyb3d8bbwe
Microsoft.XboxGameCallableUI Microsoft.XboxGameCallableUI_1000.19041.1023.0_neutral_neutral_cw5n1h2tx...
Microsoft.Windows.XGpuEjectDialog Microsoft.Windows.XGpuEjectDialog_10.0.19041.1023_neutral_neutral_cw5n1h...
Microsoft.Windows.SecureAssessmentBrowser Microsoft.Windows.SecureAssessmentBrowser_10.0.19041.2311_neutral_neutra...
Microsoft.Windows.SecHealthUI Microsoft.Windows.SecHealthUI_10.0.19041.1865_neutral__cw5n1h2txyewy
Microsoft.Windows.PinningConfirmationDialog Microsoft.Windows.PinningConfirmationDialog_1000.19041.1023.0_neutral__c...
Microsoft.Windows.PeopleExperienceHost Microsoft.Windows.PeopleExperienceHost_10.0.19041.1023_neutral_neutral_c...
Microsoft.Windows.ParentalControls Microsoft.Windows.ParentalControls_1000.19041.1023.0_neutral_neutral_cw5...
Microsoft.Windows.NarratorQuickStart Microsoft.Windows.NarratorQuickStart_10.0.19041.1023_neutral_neutral_8we...
Microsoft.Windows.CapturePicker Microsoft.Windows.CapturePicker_10.0.19041.1023_neutral__cw5n1h2txyewy
Microsoft.Windows.CallingShellApp Microsoft.Windows.CallingShellApp_1000.19041.1023.0_neutral_neutral_cw5n...
Microsoft.Windows.AssignedAccessLockApp Microsoft.Windows.AssignedAccessLockApp_1000.19041.1023.0_neutral_neutra...
Microsoft.Windows.Apprep.ChxApp Microsoft.Windows.Apprep.ChxApp_1000.19041.1023.0_neutral_neutral_cw5n1h...
Microsoft.Win32WebViewHost Microsoft.Win32WebViewHost_10.0.19041.1023_neutral_neutral_cw5n1h2txyewy
Microsoft.MicrosoftEdgeDevToolsClient Microsoft.MicrosoftEdgeDevToolsClient_1000.19041.1023.0_neutral_neutral_...
Microsoft.LockApp Microsoft.LockApp_10.0.19041.1023_neutral__cw5n1h2txyewy
Microsoft.ECApp Microsoft.ECApp_10.0.19041.1023_neutral__8wekyb3d8bbwe
Microsoft.CredDialogHost Microsoft.CredDialogHost_10.0.19041.1023_neutral__cw5n1h2txyewy
Microsoft.AsyncTextService Microsoft.AsyncTextService_10.0.19041.1023_neutral__8wekyb3d8bbwe
Microsoft.AccountsControl Microsoft.AccountsControl_10.0.19041.1023_neutral__cw5n1h2txyewy
F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.19041.1023_neutral_neutral_cw5...
E2A4F912-2574-4A75-9BB0-0D023378592B E2A4F912-2574-4A75-9BB0-0D023378592B_10.0.19041.1023_neutral_neutral_cw5...
c5e2524a-ea46-4f67-841f-6a9465d9d515 c5e2524a-ea46-4f67-841f-6a9465d9d515_10.0.19041.1949_neutral_neutral_cw5...
1527c705-839a-4832-9118-54d4Bd6a0c89 1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.19041.1023_neutral_neutral_cw5...
Microsoft.VCLibs.140.00 Microsoft.VCLibs.140.00_14.0.32530.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00 Microsoft.VCLibs.140.00_14.0.32530.0_x86__8wekyb3d8bbwe
Microsoft.XboxGameOverlay Microsoft.XboxGameOverlay_1.54.4001.0_x64__8wekyb3d8bbwe
Microsoft.UI.Xaml.2.3 Microsoft.UI.Xaml.2.3_2.32002.13001.0_x86__8wekyb3d8bbwe
Microsoft.UI.Xaml.2.3 Microsoft.UI.Xaml.2.3_2.32002.13001.0_x64__8wekyb3d8bbwe
Microsoft.WindowsSoundRecorder Microsoft.WindowsSoundRecorder_10.2103.28.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00.UWPDesktop Microsoft.VCLibs.140.00.UWPDesktop_14.0.32530.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00.UWPDesktop Microsoft.VCLibs.140.00.UWPDesktop_14.0.32530.0_x86__8wekyb3d8bbwe
Microsoft.MicrosoftOfficeHub Microsoft.MicrosoftOfficeHub_18.2305.1222.0_x64__8wekyb3d8bbwe
Microsoft.MixedReality.Portal Microsoft.MixedReality.Portal_2000.21051.1282.0_x64__8wekyb3d8bbwe
Microsoft.NET.Native.Framework.1.7 Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x86__8wekyb3d8bbwe
Microsoft.NET.Native.Framework.1.7 Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x64__8wekyb3d8bbwe
Microsoft.NET.Native.Runtime.1.7 Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x86__8wekyb3d8bbwe
Microsoft.NET.Native.Runtime.1.7 Microsoft.NET.Native.Runtime.1.7_1.7.27422.0_x64__8wekyb3d8bbwe
Microsoft.XboxApp Microsoft.XboxApp_48.89.25001.0_x64__8wekyb3d8bbwe
Microsoft.NET.Native.Runtime.2.2 Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x86__8wekyb3d8bbwe
Microsoft.NET.Native.Runtime.2.2 Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe
Microsoft.NET.Native.Framework.2.2 Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x86__8wekyb3d8bbwe
Microsoft.NET.Native.Framework.2.2 Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe
Microsoft.People Microsoft.People_10.2202.31.0_x64__8wekyb3d8bbwe
Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7_7.2208.15002.0_x86__8wekyb3d8bbwe
Microsoft.UI.Xaml.2.7 Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe
Microsoft.WindowsStore Microsoft.WindowsStore_22306.1401.1.0_x64__8wekyb3d8bbwe
Microsoft.WebpImageExtension Microsoft.WebpImageExtension_1.0.52351.0_x64__8wekyb3d8bbwe
Microsoft.UI.Xaml.2.4 Microsoft.UI.Xaml.2.4_2.42007.9001.0_x86__8wekyb3d8bbwe
Microsoft.UI.Xaml.2.4 Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe
Microsoft.ScreenSketch Microsoft.ScreenSketch_10.2008.3001.0_x64__8wekyb3d8bbwe
Microsoft.DesktopAppInstaller Microsoft.DesktopAppInstaller_1.20.1881.0_x64__8wekyb3d8bbwe
Microsoft.HEIFImageExtension Microsoft.HEIFImageExtension_1.0.61171.0_x64__8wekyb3d8bbwe
Microsoft.VP9VideoExtensions Microsoft.VP9VideoExtensions_1.0.61591.0_x64__8wekyb3d8bbwe
Microsoft.SkypeApp Microsoft.SkypeApp_15.99.3403.0_x64__kzf8qxf38zg5c
Microsoft.UI.Xaml.2.8 Microsoft.UI.Xaml.2.8_8.2306.22001.0_x86__8wekyb3d8bbwe
Microsoft.UI.Xaml.2.8 Microsoft.UI.Xaml.2.8_8.2306.22001.0_x64__8wekyb3d8bbwe
Microsoft.GetHelp Microsoft.GetHelp_10.2303.10961.0_x64__8wekyb3d8bbwe
Microsoft.MicrosoftSolitaireCollection Microsoft.MicrosoftSolitaireCollection_4.16.3140.0_x64__8wekyb3d8bbwe
Microsoft.Office.OneNote Microsoft.Office.OneNote_16001.14326.21452.0_x64__8wekyb3d8bbwe
Microsoft.Xbox.TCUI Microsoft.Xbox.TCUI_1.24.10001.0_x64__8wekyb3d8bbwe
Microsoft.WindowsFeedbackHub Microsoft.WindowsFeedbackHub_1.2304.1243.0_x64__8wekyb3d8bbwe
Microsoft.549981C3F5F10 Microsoft.549981C3F5F10_4.2204.13303.0_x64__8wekyb3d8bbwe
Microsoft.MicrosoftStickyNotes Microsoft.MicrosoftStickyNotes_4.6.0.0_x64__8wekyb3d8bbwe
Microsoft.WindowsAlarms Microsoft.WindowsAlarms_11.2304.0.0_x64__8wekyb3d8bbwe
Microsoft.ZuneVideo Microsoft.ZuneVideo_10.22091.10041.0_x64__8wekyb3d8bbwe
microsoft.windowscommunicationsapps microsoft.windowscommunicationsapps_16005.14326.21508.0_x64__8wekyb3d8bbwe
Microsoft.UI.Xaml.2.1 Microsoft.UI.Xaml.2.1_2.11906.6001.0_x64__8wekyb3d8bbwe
Microsoft.UI.Xaml.2.1 Microsoft.UI.Xaml.2.1_2.11906.6001.0_x86__8wekyb3d8bbwe
Microsoft.Microsoft3DViewer Microsoft.Microsoft3DViewer_7.2211.24012.0_x64__8wekyb3d8bbwe
Microsoft.XboxSpeechToTextOverlay Microsoft.XboxSpeechToTextOverlay_1.21.13002.0_x64__8wekyb3d8bbwe
Microsoft.MicrosoftEdge.Stable Microsoft.MicrosoftEdge.Stable_114.0.1823.82_neutral__8wekyb3d8bbwe