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

打开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

猜你喜欢

转载自blog.51cto.com/jameslee/2160608
今日推荐