如何设置Windows Server安装IIS服务时使用非默认源路径?
- 内容介绍
- 文章标签
- 相关推荐
本文共计127个文字,预计阅读时间需要1分钟。
解决方案
选择 开始 > 运行,输入 PowerShell 打开 PowerShell。
执行以下命令。
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
回到安装界面单击安装。
提示安装成功后关闭安装引导,测试访问,如本示例中的 http://127.0.0.1。
本文共计127个文字,预计阅读时间需要1分钟。
解决方案
选择 开始 > 运行,输入 PowerShell 打开 PowerShell。
执行以下命令。
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
回到安装界面单击安装。
提示安装成功后关闭安装引导,测试访问,如本示例中的 http://127.0.0.1。

