Windows Server 2016 prompts to specify an alternate source path when installing the IIS service

When installing IIS in Windows Server 2016, I encountered the following prompts

Enter image description

Open PowerShell and execute the following command

  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

When the third command is executed, install the relevant software and wait patiently for the installation to complete.

When the installation is complete, the following prompt will appear

Success Restart Needed Exit Code      Feature Result                               

------- -------------- ---------      --------------                               

True    No             Success        {.NET Framework 3.5 (包括 .NET 2.0 和 3.0), ....

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325203928&siteId=291194637