windows2012R2 无系统盘 安装netframe3.5 (需连公网)

时间:2018-08-16 11:21:42   收藏:0   阅读:838
打开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

将连接外网安装netframe3.5

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!