我可以从 Windows 8.1 中删除 Windows App Store 吗?

Can I remove Windows App Store from Windows 8.1?

我的任务是从全新的 Acer 笔记本电脑中删除英国媒体报道软件。我(和笔记本电脑所有者)对英国媒体报道软件的定义包括所有预装的应用程序和 Winstore 本身。你可能不同意这一点,但这不是重点。

我用 Winstore 的 ID 尝试了 remove-appxpackage Powershell 命令,但出现错误,其中重要的部分是

This app is part of Windows and cannot be uninstalled on a per-user basis. An administrator can attempt to remove the app from the computer using Turn Windows Features on or off. However, it may not be possible to uninstall the app.

我在Windows功能菜单中没有看到任何这样的选项。 Win8.1的Winstore可以去掉吗?


完整的错误信息(供参考)如下:

remove-appxpackage : Deployment failed with HRESULT: 0x80073CFA, Removal failed. Please contact your software vendor.
(Exception from HRESULT: 0x80073CFA)
error 0x80070032: AppX Deployment Remove operation on package winstore_1.0.0.0_neutral_neutral_cw5n1h2txyewy from:
C:\Windows\WinStore failed. This app is part of Windows and cannot be uninstalled on a per-user basis. An
administrator can attempt to remove the app from the computer using Turn Windows Features on or off. However, it may
not be possible to uninstall the app.
NOTE: For additional information, look for [ActivityId] 83cee5eb-80ef-0001-3bc1-cf83ef80d001 in the Event Log or use
the command line Get-AppxLog -ActivityID 83cee5eb-80ef-0001-3bc1-cf83ef80d001
At line:1 char:1
+ remove-appxpackage winstore_1.0.0.0_neutral_neutral_cw5n1h2txyewy -confirm
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (winstore_1.0.0....l_cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

您应该能够在机器的上下文中删除 Winstore,而不是用户(错误消息暗示)。通过使用任务计划程序任务(运行 作为 LOCALSYSTEM)停止服务然后将其删除,我成功删除了组策略(它也坚持认为它是 Windows 的一部分)。

由于 Winstore 是一项 Windows 服务,此解决方案应该适合您。

我相信你现在已经明白了,但鉴于你没有给这个问题打上正确答案的复选标记,我给你我的两分钱。

首先停止名为的服务:

  1. 转到服务
  2. 查找名为的服务:显示名称:Windows Store Service(WSService)
  3. 运行 "remove-appxpackage Winstore's ID"

这应该会删除应用程序,但只有在服务停止后才会删除。如果在服务中找不到该服务,请到注册表中查找。注册表名称为:服务名称(注册表):WSService

一年半后如果这对您有帮助请告诉我。为了将来参考,所有应用程序 运行 服务很可能需要在删除之前停止该服务。

失败者