Original address: http://www.codingwhy.com/view/973.html
When you install IIS in Windows Serever 2016, you experience the following prompts
Do you need to specify an alternate source path? One or more of the installation options are missing source files on the destination server. The server will try to specify from Windows Update or Group Policy ...
There are 2 solutions to the prompt "If you need to specify an alternate source path"
Method 1:
Click Specify alternate source path, and in the "Specify Alternate source path" window that pops up, fill in the path with the true path to the parallel storage (SxS) folder.
Method 2:
Open PowerShell and execute the following command
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
Execute to the 3rd command when installing the software and wait patiently for his installation to complete.
The installation will be completed with the following tips
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True No Success {. NET Framework 3.5 (including. NET 2.0 and 3.0), ....
By using the above method, you can basically resolve the issue of whether the IIS installation is prompting for "alternate source path required".
"Go" prompt to specify alternate source path when installing IIS services on Windows Server 2016