使用 Windows Server 2012系统,在安装 .NET Framework 3.5.1 时报错,报错内容如下图所示:
找不到安装源文件。
1.从开始菜单中找到 PowerShell,右键单击选择 以管理员身份运行。
2.输入如下脚本后,按回车键执行。
powershell 1.Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 0 2.Restart-Service -Name wuauserv 3.Install-WindowsFeature Net-Framework-Core 4.Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 1 5.Restart-Service -Name wuauserv
如无法解决您的问题,请向我们提工单。