尝试修复 Windows Store 8.1 时 Wsservice 失败

尝试修复 Windows Store 8.1 时 Wsservice 失败

我的 Metro 应用无法加载。它们返回:

This App can't run

在 Powershell 中使用此命令:

powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml

返回:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
error 0xC0020017: windows.licensing failed to start WSService. Try again and contact the package publisher if the
problem persists.
NOTE: For additional information, look for [ActivityId] 8609ca17-4097-0001-4bca-09869740d001 in the Event Log or use
the command line Get-AppxLog -ActivityID 8609ca17-4097-0001-4bca-09869740d001
At line:1 char:1
+ Add-AppxPackage -DisableDevelopmentMode -Register C:\WINDOWS\ImmersiveControlPan ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\WINDOWS\Imme...ppxManifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

Wsservice 似乎已停止,且启动类型设置为手动。

尝试重新启动返回:

Windows could not start the Windows Store Service (WSService) service on Local Computer.

Error 1083: The executable program that this service is configured to run in does not implement the service.

在此处输入图片描述

发生了什么?

答案1

您可以尝试以下方法吗

powershell -ExecutionPolicy Unrestricted Start-Service WSService & powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml

如果失败,请尝试在启动服务之前调用 WSService

C:\Windows\System32\svchost.exe -k LocalServiceAndNoImpersonation & powershell -ExecutionPolicy Unrestricted Start-Service WSService & powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRoot\ImmersiveControlPanel\AppxManifest.xml

答案2

除了刷新或重新安装 Windows 之外,唯一有效的解决方案是升级到 Windows 10 技术预览版(一月版本 9926)。

它修复了 Windows 商店、PC 设置,并保持程序和设置完好无损。它确实存在一些小问题。但是,就目前而言,它运行得更好,没有 8.1 中经常出现的 Wsservice 错误。

相关内容