卸载win10内置应用教程,仅保留Cortana语音助手、应用商店、计算器、Microsoft Edge等常用程序(本人亲测)
1、启动PowerShell:在搜索框里输入“powershell”,在标记为“桌面应用”的“Windows PowerShell”上右键,选择“以管理员身份运行”命令;
2、在打开的PowerShell窗口中输入“Get-AppxPackage | Select Name,PackageFullName”(注意空格和英文标点),查看已安装应用的清单,如下图;
PS C:\WINDOWS\system32> Get-AppxPackage | Select Name,PackageFullName
Name PackageFullName
---- ---------------
Microsoft.NET.Native.Framework.1.0 Microsoft.NET.Native.Framework.1.0_1.0.22929.0_x86__8wekyb3d8bbwe
Microsoft.NET.Native.Framework.1.0 Microsoft.NET.Native.Framework.1.0_1.0.22929.0_x64__8wekyb3d8bbwe
Microsoft.NET.Native.Runtime.1.0 Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x86__8wekyb3d8bbwe
Microsoft.NET.Native.Runtime.1.0 Microsoft.NET.Native.Runtime.1.0_1.0.22929.0_x64__8wekyb3d8bbwe
Microsoft.VCLibs.140.00 Microsoft.VCLibs.140.00_14.0.22929.0_x86__8wekyb3d8bbwe
Microsoft.VCLibs.140.00 Microsoft.VCLibs.140.00_14.0.22929.0_x64__8wekyb3d8bbwe
Microsoft.NET.Native.Framework.1.1 Microsoft.NET.Native.Framework.1.1_1.0.23115.0_x64__8wekyb3d8bbwe
Microsoft.AAD.BrokerPlugin Microsoft.AAD.BrokerPlugin_1000.10240.16384.0_neutral_neutral_cw5n1h2txyewy
Microsoft.Windows.CloudExperienceHost Microsoft.Windows.CloudExperienceHost_10.0.10240.16384_neutral_
Microsoft.AccountsControl Microsoft.AccountsControl_10.0.10240.16384_neutral__cw5n1h2txyewy
Microsoft.BioEnrollment Microsoft.BioEnrollment_10.0.10240.16384_neutral__cw5n1h2txyewy
Microsoft.LockApp Microsoft.LockApp_10.0.10240.16384_neutral__cw5n1h2txyewy
Microsoft.MicrosoftEdge Microsoft.MicrosoftEdge_20.10240.16384.0_neutral__8wekyb3d8bbwe
Microsoft.Windows.AssignedAccessLockApp Microsoft.Windows.AssignedAccessLockApp_1000.10240.16384.0_neutral_neutral_...
Microsoft.Windows.ContentDeliveryManager Microsoft.Windows.ContentDeliveryManager_10.0.10240.16384_neutral_
Microsoft.Windows.ParentalControls Microsoft.Windows.ParentalControls_1000.10240.16384.0_neutral_
Microsoft.Windows.ShellExperienceHost Microsoft.Windows.ShellExperienceHost_10.0.10240.16384_neutral_
Microsoft.XboxGameCallableUI Microsoft.XboxGameCallableUI_1000.10240.16384.0_neutral_neutral_cw5n1h2txyewy
Microsoft.XboxIdentityProvider Microsoft.XboxIdentityProvider_1000.10240.16384.0_neutral_
Windows.ContactSupport Windows.ContactSupport_10.0.10240.16384_neutral_neutral_cw5n1h2txyewy
windows.immersivecontrolpanel windows.immersivecontrolpanel_6.2.0.0_neu
tral_neutral_cw5n1h2txyewy
Windows.MiracastView Windows.MiracastView_6.3.0.0_neutral_neutral_cw5n1h2txyewy
Windows.PrintDialog Windows.PrintDialog_6.2.0.0_neutral_neutral_cw5n1h2txyewy
Windows.PurchaseDialog Windows.PurchaseDialog_6.2.0.0_neutral_neutral_cw5n1h2txyewy
windows.devicesflow windows.devicesflow_6.2.0.0_neutral_neutral_cw5n1h2txyewy
Microsoft.SkypeApp Microsoft.SkypeApp_3.2.1.0_x86__kzf8qxf38zg5c
Microsoft.Appconnector Microsoft.Appconnector_1.3.3.0_neutral__8wekyb3d8bbwe
Microsoft.WindowsDVDPlayer Microsoft.WindowsDVDPlayer_3.6.11761.0_x64__8wekyb3d8bbwe
Microsoft.WindowsFeedback Microsoft.WindowsFeedback_10.0.10240.16393_neutral_neutral_cw5n1h2txyewy
Microsoft.Windows.Cortana Microsoft.Windows.Cortana_1.4.8.176_neutral_neutral_cw5n1h2txyewy
Microsoft.3DBuilder Microsoft.3DBuilder_10.9.6.0_x64__8wekyb3d8bbwe
Microsoft.NET.Native.Framework.1.1 Microsoft.NET.Native.Framework.1.1_1.0.23115.0_x86__8wekyb3d8bbwe
Microsoft.WindowsPhone Microsoft.WindowsPhone_10.1509.17010.0_x64__8wekyb3d8bbwe
E046963F.LenovoCompanion E046963F.LenovoCompanion_3.0.31.0_x86__k1h2ywk1493x8
Microsoft.XboxApp Microsoft.XboxApp_9.9.28033.0_x64__8wekyb3d8bbwe
Microsoft.WindowsStore Microsoft.WindowsStore_2015.10.5.0_x64__8wekyb3d8bbwe
Microsoft.NET.Native.Runtime.1.1 Microsoft.NET.Native.Runtime.1.1_1.1.23406.0_x64__8wekyb3d8bbwe
Microsoft.BingWeather Microsoft.BingWeather_4.6.169.0_x86__8wekyb3d8bbwe
Microsoft.NET.Native.Runtime.1.1 Microsoft.NET.Native.Runtime.1.1_1.1.23406.0_x86__8wekyb3d8bbwe
Microsoft.ZuneMusic Microsoft.ZuneMusic_3.6.13281.0_x64__8wekyb3d8bbwe
Microsoft.Getstarted Microsoft.Getstarted_2.4.13.0_x64__8wekyb3d8bbwe
Microsoft.WindowsAlarms Microsoft.WindowsAlarms_10.1510.14020.0_x64__8wekyb3d8bbwe
microsoft.windowscommunicationsapps microsoft.windowscommunicationsapps_17.6310.42251.0_x64__8wekyb3d8bbwe
Microsoft.WindowsSoundRecorder Microsoft.WindowsSoundRecorder_10.1510.13110.0_x64__8wekyb3d8bbwe
Microsoft.People Microsoft.People_10.0.2840.0_x64__8wekyb3d8bbwe
Microsoft.WindowsCalculator Microsoft.WindowsCalculator_10.1510.13020.0_x64__8wekyb3d8bbwe
Microsoft.ZuneVideo Microsoft.ZuneVideo_3.6.13821.0_x64__8wekyb3d8bbwe
Microsoft.WindowsCamera Microsoft.WindowsCamera_2015.1071.40.0_x64__8wekyb3d8bbwe
Microsoft.WindowsMaps Microsoft.WindowsMaps_4.1510.2941.0_x64__8wekyb3d8bbwe
Microsoft.Windows.Photos Microsoft.Windows.Photos_15.1026.13580.0_x64__8wekyb3d8bbwe
Microsoft.Office.OneNote Microsoft.Office.OneNote_17.6228.10071.0_x
64__8wekyb3d8bbwe
Microsoft.VCLibs.120.00 Microsoft.VCLibs.120.00_12.0.21005.1_x86__8wekyb3d8bbwe
Microsoft.VCLibs.110.00 Microsoft.VCLibs.110.00_11.0.51106.1_x86__8wekyb3d8bbwe
PS C:\WINDOWS\system32>
3、输入“Get-AppxPackage -allusers PackageFullName | Remove-AppxPackage”来卸载指定应用,其中PackageFullName为上图右侧列表中的字符串。这里我们无需输入完整的一长串名称,可以用部分字段加通配符的形式来简化命令。
比如,想要卸载Windows10内置的“语音录音机”,该应用所对应的详细名称为:Microsoft.WindowsSoundRecorder_10.1507.7010.0_x86__8wekyb3d8bbwe,我们可以用 *soundrecorder* 来代替这一长串名称,即:Get-AppxPackage -allusers *soundrecorder* | Remove-AppxPackage
注:我们可用 Get-AppxPackage -allusers | Remove-AppxPackage 来卸载所有内置应用,但不建议这么做,因为这样会连Windows商店一起卸载,容易影响后续使用。
Win10内置应用对应的卸载命令,未列出的应用可通过“开始菜单--所有应用”右键卸载
日历、邮件
get-appxpackage *communicationsapps* | remove-appxpackage
人脉
get-appxpackage *people* | remove-appxpackage
安装应用商店 Groove 音乐
get-appxpackage *zunemusic* | remove-appxpackage
电影和电视
get-appxpackage *zunevideo* | remove-appxpackage
财经
get-appxpackage *bingfinance* | remove-appxpackage
资讯
get-appxpackage *bingnews* | remove-appxpackage
体育
get-appxpackage *bingsports* | remove-appxpackage
天气
get-appxpackage *bingweather* | remove-appxpackage
OneNote
get-appxpackage *onenote* | remove-appxpackage
闹钟和时钟
get-appxpackage *alarms* | remove-appxpackage
计算器
get-appxpackage *calculator* | remove-appxpackage
相机
get-appxpackage *camera* | remove-appxpackage
照片
get-appxpackage *photos* | remove-appxpackage
地图
get-appxpackage *maps* | remove-appxpackage
语音录音机
get-appxpackage *soundrecorder* | remove-appxpackage
XBox
get-appxpackage *xbox* | remove-appxpackage
4、若需要恢复卸载的应用,可使用命令 Get-AppxPackage -allusers | foreach {Add-AppxPackage -register “$($_。InstallLocation)l” -DisableDevelopmentMode},它将重装所有内置的应用。
--------------------------------------------------------------------------
本人已经编辑好批量卸载Win10内置应用命令,复制后在Windows PowerShell窗口中点击鼠标右键,即可批量执行卸载。
仅保留:Cortana语音助手、应用商店、联系支持人员(无法被删除)、Windows反馈(无法被删除)、计算器、Microsoft Edge等可能用到的应用
。
get-appxpackage *communicationsapps* | remove-appxpackage
get-appxpackage *people* | remove-appxpackage
get-appxpackage *zunemusic* | remove-appxpackage
get-appxpackage *zunevideo* | remove-appxpackage
get-appxpackage *bingfinance* | remove-appxpackage
get-appxpackage *bingnews* | remove-appxpackage
get-appxpackage *bingsports* | remove-appxpackage
get-appxpackage *bingweather* | remove-appxpackage
get-appxpackage *onenote* | remove-appxpackage
get-appxpackage *camera* | remove-appxpackage
get-appxpackage *photos* | remove-appxpackage
get-appxpackage *maps* | remove-appxpackage
get-appxpackage *soundrecorder* | remove-appxpackage
get-appxpackage *xbox* | remove-appxpackage
get-appxpackage *alarms* | remove-appxpackage
get-appxpackage *3DBuilder* | remove-appxpackage
get-appxpackage *SkypeApp* | remove-appxpackage
get-appxpackage *WindowsDVDPlayer* | remove-appxpackage
get-appxpackage *LenovoCompanion* | remove-appxpackage
get-appxpackage *Getstarted* | remove-appxpackage
get-appxpackage *WindowsPhone* | remove-appxpackage
--------------------------------------------------------------------------
get-appxpackage *ContactSupport* | remove-appxpackage #“联系支持人员”无法被删除,提示:“此应用是 Windows 的一部分,无法针对每个用户卸载该应用。”
get-appxpackage *WindowsFeedback* | remove-appxpackage #“Windows反馈”无法被删除,提示:“此应用是 Windows 的一部分,无法针对每个用户卸载该应用。”
-------------------------------------------------------------------------
由于微软在win10 11月更新中更新了文件包名称(文件名大写了),所以,上面的脚本无法卸载,原因是文件包名称发生变化。如果你安装了该更新,请使用以下命令(经过本人亲测)
get-appxpackage *3DBuilder* | remove-appxpackage
get-appxpackage *SkypeApp* | remove-appxpackage
get-appxpackage *WindowsDVDPlayer* | remove-appxpackage
get-appxpackage *Office.OneNote* | remove-appxpackage
get-appxpackage *Sway* | remove-appxpackage
get-appxpackage *People* | remove-appxpackage
get-appxpackage *BingSports* | remove-appxpackage
get-appxpackage *Office.Sway* | remove-appxpackage
get-appxpackage *MicrosoftOfficeHub* | remove-appxpackage
get-appxpackage *BingNews* | remove-appxpackage
get-appxpackage *Messaging* | remove-appxpackage
get-appxpackage *ZuneVideo* | remove-appxpackage
get-appxpackage *WindowsAlarms* | remove-appxpackage
get-appxpackage *WindowsSoundRecorder* | remove-appxpackage
get-appxpackage *WindowsMaps* | remove-appxpackage
get-appxpackage *CommsPhone* | remove-appxpackage
get-appxpackage *MicrosoftSolitaireCollection* | remove-appxpackage
get-appxpackage *WindowsCalculator* | remove-appxpackage
-------------------------------------------------------------------------
如何验证是否已经卸载?
答:重新打开任务管理器,查看“应用历史记录”中的列表即可
。
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论