Windows 10 预装了很多通用应用程序,例如日历、邮件、相机(Calendar, Mail, Camera,)或照片(Photos)。虽然有些人喜欢它们并认为它们很有用,但有些人却不喜欢。如果您不想在 Windows 10 设备上使用这些捆绑的应用程序,您可能想知道是否可以将它们从您的系统中删除。虽然可以通过右键单击它们并选择卸载(Uninstall)选项来卸载一些内置应用程序,但其中一些不提供此选项。这是因为Microsoft认为它们是核心应用程序,Windows 10要求它们为您提供Microsoft的预期用户体验(user experience)。以下是如何使用PowerShell删除(Windows 10)您不想要的Windows 10应用:
步骤 1(Step 1)。以管理员身份打开PowerShell
首先(First),您必须以管理员身份启动PowerShell 。但是,如果您赶时间并且不想阅读另一篇文章,以管理员身份启动PowerShell的快速方法是在Cortana的搜索框中键入(search box)“powershell”,右键单击或点击并按住(tap and hold)“Windows PowerShell”然后单击或点击“以管理员身份运行”。("Run as administrator.")
如果弹出用户帐户控制通知(User Account Control notification),请通过单击或点击是批准执行(Yes)PowerShell。
启动 PowerShell(PowerShell)后,您应该会看到一个类似于下图(image below)中的窗口。
步骤 2(Step 2)。查找要卸载的Windows 10应用的完整(Windows 10)程序包名称(package name)
要卸载Windows 10 内置应用程序(built-in apps),您必须为这些应用程序中的每一个运行特定命令。
问题是,要正确运行此命令,您必须知道要卸载的应用程序的完整软件包名称。(package name)要找出它的名称,您首先必须列出 Windows 10 计算机上安装的所有应用程序。要让PowerShell向您显示此列表,请运行以下命令并按(command and press) Enter:Get_-AppxPackage_。”
PowerShell开始显示安装在 Windows 10 计算机上的应用程序。
滚动PowerShell以找到要卸载的应用程序。您可以通过查看列表中每个应用程序的名称(Name)字段来快速识别它。例如,相机(Camera)应用程序的名称为“Microsoft.WindowsCamera”。
或者,您可以使用PowerShell中的(PowerShell)查找(Find)工具搜索应用程序的名称:右键单击Powershell窗口的(Powershell)标题栏(title bar),然后转到"Edit -> Find."
输入作为应用程序名称一部分的文本(在我们的例子中为“相机(camera)”),然后单击或点击“查找下一个”(Find Next),直到您获得正在搜索的应用程序的名称。
但是,为了能够运行卸载命令,您不需要应用程序的名称(Name),而是PackageFullName。将其复制到剪贴板或将其写下来并移至本教程的下一部分。
步骤 3(Step 3)。使用PowerShell(PowerShell)卸载Windows 10应用
删除Windows 10(Windows 10)应用程序必须运行的PowerShell命令如下:“ Remove-AppxPackage [App Name]。”
在上述命令模型(command model)中,您应该将“[App Name]”替换为您要删除的应用程序的完整包名,即您在本教程上一节中记下的那个。(package name)例如,如果您想删除相机(Camera)应用程序,您应该运行类似于以下命令的命令:“ Remove-AppxPackage Microsoft.WindowsCamera_5.54.3002.0_x64__8wekyb3d8bbwe ”
幸运的是,为了让事情更简单,Powershell允许我们使用关键字作为应用程序名称,这就是我们将在下一节中向您展示的内容。我们列出了卸载与Windows 10捆绑的应用程序所需运行的PowerShell命令。
Windows 10 核心应用(core apps)的卸载命令
这是卸载预装在Windows 10中的通用应用程序所需运行的(Windows 10)PowerShell命令列表:
- 卸载3D Builder:Get_-AppxPackage *3dbuilder* | 删除-AppxPackage_
- 卸载ACG 播放器:(ACG Player:) Get-AppxPackage *acg * | Remove-AppxPackage
- 卸载闹钟和时钟(Alarms and Clock):Get-AppxPackage * alarms* | 删除-AppxPackage
- 卸载计算器(Calculator):Get-AppxPackage *calculator * | Remove-AppxPackage
- 卸载日历和邮件(Calendar and Mail):Get-AppxPackage *通讯* | 删除-AppxPackage
- 卸载相机(Camera):Get-AppxPackage *camera * | Remove-AppxPackage
- 卸载杜比访问:(Dolby Access:) Get-AppxPackage *dolbyaccess * | Remove-AppxPackage
- 卸载Fitbit Coach: Get-AppxPackage *fitbitcoach * | Remove-AppxPackage
- 卸载Get Office : Get-AppxPackage *officehub * | Remove-AppxPackage
- 卸载获取 Skype(Get Skype):Get-AppxPackage *skypeapp * | Remove-AppxPackage
- 卸载开始(Get Started):Get-AppxPackage * getstarted* | Remove-AppxPackage
- 卸载Groove 音乐(Groove Music):Get-AppxPackage * zunemusic* | Remove-AppxPackage
- 卸载地图(Maps):Get-AppxPackage * maps* | 删除-AppxPackage
- 卸载Microsoft Solitaire Collection : Get-AppxPackage *solitairecollection * | Remove-AppxPackage
- 卸载金钱(Money):Get-AppxPackage *bingfinance * | Remove-AppxPackage
- 卸载电影和电视(Movies & TV):Get-AppxPackage *zunevideo * | Remove-AppxPackage
- 卸载新闻(News):Get-AppxPackage * bingnews* | 删除-AppxPackage
- 卸载OneNote : Get-AppxPackage *onenote * | Remove-AppxPackage
- 卸载人员(People):Get-AppxPackage * people* | 删除-AppxPackage
- 卸载手机伴侣(Phone Companion):Get-AppxPackage *windowsphone * | Remove-AppxPackage
- 卸载Phototastic Collage: Get-AppxPackage *phototastic * | Remove-AppxPackage
- 卸载照片(Photos):Get-AppxPackage *照片* | 删除-AppxPackage
- 卸载PicsArt: Get-AppxPackage *picsart * | Remove-AppxPackage
- 卸载Plex: Get-AppxPackage *plex * | Remove-AppxPackage
- 卸载商店(Store):Get-AppxPackage * windowsstore* | 删除-AppxPackage
- 卸载运动(Sports):Get-AppxPackage * bingsports* | 删除-AppxPackage
- 卸载录音机(Voice Recorder):Get-AppxPackage *soundrecorder * | Remove-AppxPackage
- 卸载天气(Weather):Get-AppxPackage *bingweather * | Remove-AppxPackage
- 卸载Xbox:Get-AppxPackage * xbox* | 删除-AppxPackage
每次运行卸载命令时,PowerShell都会显示一个类似于下图的进度条。(progress bar)
该过程完成后,PowerShell窗口会从屏幕上删除卸载进度信息(progress information),并将控制权返回到命令行(command line)。
您消除了哪些 Windows 10默认应用程序?(default apps)
如您所见,卸载所有Windows 10内置通用应用程序是可以完成的,即使它需要一些高级PowerShell命令。如果您不想要或不需要这些应用程序,您可以在几分钟内删除它们。如果您改变主意并希望它们回来,请阅读本教程:如何使用PowerShell重新安装所有(PowerShell)Windows 10 默认应用程序(default apps)。您要删除哪些(Which)Windows 10默认应用程序?(default apps)通过在下面发表评论让我们知道。
How to uninstall Windows 10 apps using PowerShell, in 3 steps
Windows 10 comes with quite a few pre-installed univеrsal аpps, such as Calendar, Mail, Camera, or Photos. While some people like them and find them useful, others do not. If you do not want some of these bundled apps on your Windows 10 device, you might be wondering if they can be removed from your system. While a few of the built-in apps can be uninstalled by right clicking on them and selecting the Uninstall option, some of them do not offer this option. That is because Microsoft considers them to be core apps, required by Windows 10 to offer you Microsoft's intended user experience. Here is how to use PowerShell to remove Windows 10 apps that you do not want:
Step 1. Open PowerShell as an administrator
First of all, you have to launch PowerShell as an administrator. However, if you are in a hurry and you do not want to read another article, a fast way to launch PowerShell as administrator is to type "powershell" in Cortana's search box, right-click or tap and hold "Windows PowerShell" and then click or tap "Run as administrator."
If a User Account Control notification pops up, approve the execution of PowerShell by clicking or tapping Yes.
Once PowerShell is launched, you should see a window similar to the one in the image below.
Step 2. Find the full package name of the Windows 10 app that you want to uninstall
To uninstall Windows 10 built-in apps, you have to run a specific command for each of these apps.
The problem is that, for you to properly run this command, you have to know the full package name of the app that you want to uninstall. To find out its name, you first have to list all the apps installed on your Windows 10 computer. For PowerShell to show you this list, run the following command and press Enter: Get_-AppxPackage_."
PowerShell starts displaying the apps installed on your Windows 10 computer.
Scroll through PowerShell to find the app that you want to be uninstalled. You can quickly identify it by looking at the Name field of each of the apps from the list. For instance, the Camera app bears the name of "Microsoft.WindowsCamera."
Alternatively, you can search for the name of the app using the Find tool from PowerShell: right-click on the title bar of the Powershell window, and go to "Edit -> Find."
Type in the text that it is part of the app's name (in our case "camera") and click or tap Find Next until you get the name of the app that you are searching for.
However, to be able to run the uninstall command, you need not the Name of the app, but the PackageFullName. Copy it to the clipboard or write it down and move to the next section of this tutorial.
Step 3. Uninstall the Windows 10 app using PowerShell
The PowerShell command you must run to remove a Windows 10 app is this: "Remove-AppxPackage [App Name]."
In the above command model, you should replace "[App Name]" with the full package name of the app you want to remove, the one you noted in the previous section of this tutorial. For instance, if you want to remove the Camera app, you should run a command similar to this one: "Remove-AppxPackage Microsoft.WindowsCamera_5.54.3002.0_x64__8wekyb3d8bbwe"
Fortunately though, to make things simpler, Powershell allows us to use keywords for the app names and this is what we will show you in the next section. We list the PowerShell commands that you need to run to uninstall the apps that are bundled with Windows 10.
The uninstall commands for Windows 10 core apps
This is the list of PowerShell commands you need to run in order to uninstall the universal apps that are preinstalled in Windows 10:
- Uninstall 3D Builder: Get_-AppxPackage *3dbuilder* | Remove-AppxPackage_
- Uninstall ACG Player: Get-AppxPackage *acg* | Remove-AppxPackage
- Uninstall Alarms and Clock: Get-AppxPackage *alarms* | Remove-AppxPackage
- Uninstall Calculator: Get-AppxPackage *calculator* | Remove-AppxPackage
- Uninstall Calendar and Mail: Get-AppxPackage *communications* | Remove-AppxPackage
- Uninstall Camera: Get-AppxPackage *camera* | Remove-AppxPackage
- Uninstall Dolby Access: Get-AppxPackage *dolbyaccess* | Remove-AppxPackage
- Uninstall Fitbit Coach: Get-AppxPackage *fitbitcoach* | Remove-AppxPackage
- Uninstall Get Office: Get-AppxPackage *officehub* | Remove-AppxPackage
- Uninstall Get Skype: Get-AppxPackage *skypeapp* | Remove-AppxPackage
- Uninstall Get Started: Get-AppxPackage *getstarted* | Remove-AppxPackage
- Uninstall Groove Music: Get-AppxPackage *zunemusic* | Remove-AppxPackage
- Uninstall Maps: Get-AppxPackage *maps* | Remove-AppxPackage
- Uninstall Microsoft Solitaire Collection: Get-AppxPackage *solitairecollection* | Remove-AppxPackage
- Uninstall Money: Get-AppxPackage *bingfinance* | Remove-AppxPackage
- Uninstall Movies & TV: Get-AppxPackage *zunevideo* | Remove-AppxPackage
- Uninstall News: Get-AppxPackage *bingnews* | Remove-AppxPackage
- Uninstall OneNote: Get-AppxPackage *onenote* | Remove-AppxPackage
- Uninstall People: Get-AppxPackage *people* | Remove-AppxPackage
- Uninstall Phone Companion: Get-AppxPackage *windowsphone* | Remove-AppxPackage
- Uninstall Phototastic Collage: Get-AppxPackage *phototastic* | Remove-AppxPackage
- Uninstall Photos: Get-AppxPackage *photos* | Remove-AppxPackage
- Uninstall PicsArt: Get-AppxPackage *picsart* | Remove-AppxPackage
- Uninstall Plex: Get-AppxPackage *plex* | Remove-AppxPackage
- Uninstall Store: Get-AppxPackage *windowsstore* | Remove-AppxPackage
- Uninstall Sports: Get-AppxPackage *bingsports* | Remove-AppxPackage
- Uninstall Voice Recorder: Get-AppxPackage *soundrecorder* | Remove-AppxPackage
- Uninstall Weather: Get-AppxPackage *bingweather* | Remove-AppxPackage
- Uninstall Xbox: Get-AppxPackage *xbox* | Remove-AppxPackage
Each time you run an uninstall command, PowerShell shows you a progress bar similar to the one below.
When the process is done, the PowerShell window removes the uninstall progress information from the screen, and return the control to the command line.
Which Windows 10 default apps did you eliminate?
As you've seen, uninstalling all the Windows 10 built-in universal apps can be done, even if it requires a few advanced PowerShell commands. If you do not want or need these apps, you can remove them in just a couple of minutes. If you changed your mind and want them back, read this tutorial: How to reinstall all the Windows 10 default apps with PowerShell. Which Windows 10 default apps do you want to eliminate? Let us know by leaving a comment below.