How to specify an alternate source path when installing the IIS service on Windows Server

坏嘻嘻
Release: 2018-09-28 15:24:20
Original
8714 people have browsed it

This article introduces how to specify an alternate source path when installing the IIS service in Windows Server, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something.

How to specify an alternative source path when installing IIS service in Windows Server

When installing IIS, you will be prompted whether you need to specify an alternative source path

Confirm the selected installation components before installation, then select to automatically restart the target server, and then click Install (I). When you select the .NET Framwork 3.5 feature, the confirmation step may occur as shown below, prompting you whether you need to specify an alternate source path.

How to specify an alternate source path when installing the IIS service on Windows Server

Solution

Select Start > Run, enter PowerShell to open PowerShell.

Execute the following commands.

 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
Copy after login

Return to the installation interface and click Install.

How to specify an alternate source path when installing the IIS service on Windows Server

After prompting that the installation is successful, close the installation guide and test access, such as http://127.0.0.1 in this example.

How to specify an alternate source path when installing the IIS service on Windows Server

The above is the detailed content of How to specify an alternate source path when installing the IIS service on Windows Server. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template