Windows Server 2012 R2或2016无法安装.NET Framework 3.5.1的解决方法
2017-05-25 17:02
1106 查看
问题描述
使用 Windows Server 2012 R2 或 Windows Server 2016系统,发现在安装 .NET Framework 3.5.1 时报错,报错内容如下图所示。
原因分析
找不到安装源文件。
解决办法
您可以使用如下 PowerShell 脚本进行安装。
从 开始 菜单中找到 PowerShell,右键单击选择 以管理员身份运行。
输入如下脚本后,按回车键执行。
- Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 0
- Restart-Service -Name wuauserv
- Install-WindowsFeature Net-Framework-Core
- Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 1
- Restart-Service -Name wuauserv
注意:
1. Windows Server 2012 与 Windows Server 2016 内存占用较高,安装其他应用程序使内存消耗更高,可能会导致内存不足引起安装失败,因此建议增加物理内存,如果是 IO 优化实例,可以酌情 开启系统虚拟内存。
2. 如果安装报错:0x800f081f,那么请检查公网网络是否正常,如果正常,可能是连接微软 update 服务器链路不稳定导致更新失败,建议更换时间段重试。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持脚本之家。
您可能感兴趣的文章:
- Windows 2016 IIS10.0+PHP+MySQL环境搭建
- Windows Server 2012 R2 或 2016无法安装.Net 3.5.1
- Windows Server 2016 IIS10 安装配置图文详解
- Windows Server 2016 PHP运行环境安装配置
- Windows Server 2016 MySQL数据库安装配置详细安装教程
- Windows Server 2016 Nginx 安装配置详细图文教程
- Windows Server 2016 IIS10 设置HTTPS HTTP/2 并跑分到 A+
- Windows Server 2016 服务器配置指南之IIS10安装方法
- windows server2016安装MySQL5.7.19解压缩版教程详解
- 阿里云Win2016安装Apache和PHP环境图文教程
相关文章推荐
- Windows Server 2012 R2 或 2016 无法安装 .Net 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .NET Framework 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .Net 3.5.1 .NET Framework 3.5
- Windows Server 2012 R2 或 2016 无法安装 .Net 3.5.1
- Windows Server 2012 R2 或 2016无法安装.Net 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .NET Framework 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .NET Framework 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .Net 3.5.1
- 无盘完美解决Windows Server 2012 R2 或 2016无法安装 .NET Framework3.5
- [实用教程]CESOFT_Windows Server 2012 R2 或 2016无法安装.Net 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .Net 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .Net 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .Net 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .Net 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .Net 3.5.1
- Windows Server 2012 R2 或 2016 无法安装 .NET Framework 3.5.1的解决方案
- Windows server 2012 R2无法安装.net 3.5.1
- Windows server 2012 R2无法安装.net 3.5.1
- Windows Server 2012 R2、Windows Server 2012、Windows 8.1 或 Windows 8 上无法启用 Microsoft .NET Framework 3.
- 解决在Windows server 2012R2上无法安装Intel I219-V,I211,I217-V,I218-V网卡驱动的问题