安装 KB2506143 后 PowerShell 3.0 x64 位损坏

Dav*_*ker 6 powershell

我已经使用相关术语的各种变体进行了搜索,但找不到其他人遇到同样问题的其他实例,所以我希望这里有人能提供线索。

问题

我通过从 Microsoft.com 下载并运行 Windows6.1-KB2506143-x64.msu 安装了 Windows Management Framework 3.0 (KB2506143)。完成后,我根据要求重新启动了机器。重新启动并登录后,我尝试运行 64 位 PowerShell 命令外壳,它出现一秒钟然后消失。32 位外壳似乎工作正常,只是 64 位外壳出现故障。

查看 Fusion 日志,我发现:

*** Assembly Binder Log Entry  (10/4/2012 @ 1:51:48 PM) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll
Running under executable  C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: User = ********\*****
LOG: DisplayName = Microsoft.PowerShell.ConsoleHost, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL
<remainder omitted>
Run Code Online (Sandbox Code Playgroud)

GacUtil 显示存在 Microsoft.PowerShell.ConsoleHost,Version=1.0.0.0,但没有 3.0.0.0。

我尝试卸载 KB2506143(它删除了 MSVCRT90.dll 并导致 Windows Live Messenger 在重新启动后加载失败,所以我在 Windows Live Essentials 上进行了一次修复并修复了 Messenger 问题),然后重新安装它,但没有改变了。

如果有帮助,以下是我认为可能是我的硬件/软件环境的相关部分。

环境

  • 戴尔 Latitude E6510,8GB 内存
  • Windows 7 Professional 64 位 SP1
  • 已安装 Visual Studio 2010 Professional(包括 .NET 4.0)
  • 已安装 Visual Studio 2012 Professional
  • Microsoft Forefront 客户端安全

有什么线索吗?

谢谢,戴夫

Cla*_*ton 2

您正在安装哪个 KB2506143?当我谷歌 KB2506143 时,我得到了这个下载链接,它是 WMF3.0 的“候选版本”

当我搜索“Windows Management Framework 3.0”时,我得到了一个不同的链接,其中没有提及“候选版本”。

两个页面上列出的 Windows6.1-KB2506143-x64.msu 的文件大小不同。如果您仍在运行 RC,请尝试最终版本。