无法在 Server Core 安装 Windows Server 2016 上安装 NET Framework 4.7.1

goj*_*ojj 3 windows-server-core dotnet-framework windows-server-2016

或服务器核心安装 Windows Server 2016 上的 NET Framework 4.7.1 的“更新不适用于您的计算机”

尝试在服务器核心安装上将网络框架更新到 4.7.1,但没有骰子。安装开始提取安装文件,运行setup.exe /x86 /x64 /redis闪烁的 .NET 徽标并显示许可条款窗口以继续。接受并点击安装,安装就消失了,没有进一步的解释。

问题存在于另一台服务器上 - 相同的来源和安装。但它适用于相同的源和安装,但具有桌面体验。

查看日志文件...

[2/25/2018, 20:5:3] === Logging started: 2018/02/25 20:05:03 ===
[2/25/2018, 20:5:3] Executable: C:\NDP471-KB4033342-x86-x64-AllOS-ENU.exe v4.7.2558.0
[2/25/2018, 20:5:3] --- logging level: standard ---
[2/25/2018, 20:5:3] Successfully bound to the ClusApi.dll
[2/25/2018, 20:5:3] Error 0x800706d9: Failed to open the current cluster
[2/25/2018, 20:5:3] Cluster drive map: ''
[2/25/2018, 20:5:3] Considering drive: 'C:\'...
[2/25/2018, 20:5:3] Drive 'C:\' has been selected as the largest fixed drive
[2/25/2018, 20:5:3] Directory 'C:\b2f695ed043f576c934668\' has been selected for file extraction
[2/25/2018, 20:5:3] Extracting files to: C:\b2f695ed043f576c934668\
[2/25/2018, 20:13:3] Extraction took 33.562 seconds
[2/25/2018, 20:13:3] Executing command line: 'C:\b2f695ed043f576c934668\\Setup.exe   /x86 /x64 /redist'
[2/25/2018, 20:13:36] Exiting with result code: 0x0
[2/25/2018, 20:13:36] === Logging stopped: 2018/02/25 20:13:36 ===
Run Code Online (Sandbox Code Playgroud)

CBS.log文件中查找。但没有说明为什么安装不通过。

在安装包未停止时将提取的文件复制到新路径 - 运行: wusa.exe Windows6.1-KB4019990-x64.msu

最后可以使用的东西,它显示: The update is not applicable to your computer

查看 Microsoft 的所有要求并没有明确说明 Server Core 不支持 Framework 4.7.1。

因此,是否会欣赏有关如何解决此问题以寻求解决方案的所有理论或想法?


视窗操作系统...

PS C:\> systeminfo.exe
Host Name:                 SERVERNAME
OS Name:                   Microsoft Windows Server 2016 Standard
OS Version:                10.0.14393 N/A Build 14393
Run Code Online (Sandbox Code Playgroud)

Windows功能...

PS C:\> get-windowsfeature -name *framework* | where-object {$_.Installed -match "True"}
Display Name                                            Name                       Install State
------------                                            ----                       -------------
[X] .NET Framework 4.6 Features                         NET-Framework-45-Fea...        Installed
    [X] .NET Framework 4.6                              NET-Framework-45-Core          Installed
    [X] ASP.NET 4.6                                     NET-Framework-45-ASPNET        Installed
Run Code Online (Sandbox Code Playgroud)

Windows 更新...

PS C:\> Get-Hotfix
Source        Description      HotFixID      InstalledBy          InstalledOn
------        -----------      --------      -----------          -----------
SECDC9SRV101  Update           KB3192137     NT AUTHORITY\SYSTEM  2016-09-12 00:00:00
SECDC9SRV101  Update           KB4049065     SECDC9SRV101\Admi... 2018-02-25 00:00:00
SECDC9SRV101  Update           KB4077525     NT AUTHORITY\SYSTEM  2018-02-25 00:00:00
Run Code Online (Sandbox Code Playgroud)

A.N*_*ate 5

尝试安装 Windows 更新 KB4033393

在 Windows 10 周年更新、Windows 10 创意者更新和 Windows Server 2016 上,您可以在控制面板中的已安装更新下找到它作为 Microsoft Windows 更新 (KB4033393)。

其中包括板载 .NET Framework 4.7.1。

另一个源链接 - https://docs.microsoft.com/en-us/dotnet/framework/deployment/deployment-guide-for-developers,您可以在其中下载离线包并按照此处所述进行安装 - https://support .microsoft.com/en-us/help/4033342/the-net-framework-4-7-1-offline-installer-for-windows