原文网址:https://www.youyong.top/article/1158f9c0b131c
使用 Windows Server 2012 R2 或 Windows Server 2016系统,发现在安装 .net 3.5.1 时报错,报错内容如下:
安装一个或多个角色/角色服务失败。找不到源文件
原文网址:https://www.youyong.top/article/1158f9c0b131c
使用 Windows Server 2012 R2 或 Windows Server 2016系统,发现在安装 .net 3.5.1 时报错,报错内容如下:
安装一个或多个角色/角色服务失败。找不到源文件
原文网址:https://www.youyong.top/article/1158f9c0b131c
找不到安装源文件。
输入如下脚本后回车执行:
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 0Restart-Service -Name wuauservInstall-WindowsFeature Net-Framework-CoreSet-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 1Restart-Service -Name wuauserv
作者声明:本篇文章系本人原创,欢迎分享,但未经许可,谢绝转载。
共 0 条留言