2019独角兽企业重金招聘Python工程师标准>>> google
在Windows Serever 2016中安装IIS的时候,遇到如下提示.net
打开PowerShell,执行如下命令code
-
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 0blog
-
Restart-Service -Name wuauserv图片
-
Install-WindowsFeature Net-Framework-Coreci
-
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 1get
-
Restart-Service -Name wuauservit
执行到第3个命令的时候安装相关软件,耐心等待他安装完成便可。class
安装完成会有以下提示软件
Success Restart Needed Exit Code Feature Result ------- -------------- --------- -------------- True No Success {.NET Framework 3.5 (包括 .NET 2.0 和 3.0), ....