winserver2016服务器,开启IIS功能,提示备用源找不到

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

猜你喜欢

转载自blog.csdn.net/qq_34326603/article/details/89212684