Win10安装IIS不成功?解决方法来了!

更新时间:2023-09-13 12:52:11作者:xtyang

  Win10是目前广泛使用的操作系统之一,但在安装IIS时可能会出现不成功的情况,IIS是微软公司提供的一种Web服务器软件,可以用于托管和管理网站、Web应用程序及服务。如果你遇到了安装IIS不成功的问题,那么不要着急,本文将会帮助你找到解决方法。以下是一些可能导致Win10安装IIS不成功的因素以及解决方案。

Win10安装IIS不成功?解决方法来了!

  Win10安装iis不成功怎么办?

  1、首先打开 Windows 命令提示符。 若要打开命令提示符下,单击开始菜单 》 运行。 复制和粘贴 (或类型) 下面的命令,然后按 回车键:

  cmd

  2、停止 BITS 服务和 Windows 更新服务。 若要执行此操作,请在命令提示符处键入以下命令。 键入每个命令后按 回车键。

  net stop bits

  net stop wuauserv

  3、删除 qmgr\ *.dat 文件。 若要执行此操作,在命令提示符下键入以下命令,然后按 回车键:

  Del “%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat”

  4、如果这是你第一次通过使用本文中的步骤来解决 Windows 更新问题尝试,转到步骤 5 而不执行步骤 4 中的步骤。 仅应在此点中的疑难解答,如果你无法解决但第 4 步的所有步骤后的 Windows 更新问题执行在步骤 4 中的步骤。 步骤 4 中的步骤也将通过修复“主动”模式来执行它上述解决方案。

  a.重命名为以下文件夹 *。BAK:

  %systemroot%\SoftwareDistribution\DataStore

  %systemroot%\SoftwareDistribution\Download

  %systemroot%\system32\catroot2

  若要执行此操作,请在命令提示符处键入以下命令。 键入每个命令后按 回车键。

  Ren %systemroot%\SoftwareDistribution\DataStore *.bak

  Ren %systemroot%\SoftwareDistribution\Download *.bak

  Ren %systemroot%\system32\catroot2 *.bak

  b.BITS 服务和 Windows 更新服务重置为默认安全描述符。 若要执行此操作,请在命令提示符处键入以下命令。 键入每个命令后按 回车键。

  sc.exe sdset 位 d: (一个;CCLCSWRPWPDTLOCRRC;;SY) (一个;CCDCLCSWRPWPDTLOCRSDRCWDWO;;栏) (一个;CCLCSWLOCRRC;;AU) (一个;CCLCSWRPWPDTLOCRRC;;PU)

  sc.exe sdset wuauserv d: (一个;CCLCSWRPWPDTLOCRRC;;SY) (一个;CCDCLCSWRPWPDTLOCRSDRCWDWO;;栏) (一个;CCLCSWLOCRRC;;AU) (一个;CCLCSWRPWPDTLOCRRC;;PU)

  5、在命令提示符下键入以下命令,然后按 回车键:

  cd /d %windir%\system32

  6、重新注册位文件和 Windows 更新文件。 若要执行此操作,请在命令提示符处键入以下命令。 键入每个命令后按 回车键。

  regsvr32.exe atl.dll

  regsvr32.exe urlmon.dll

  regsvr32.exe mshtml.dll

  regsvr32.exe shdocvw.dll

  regsvr32.exe browseui.dll

  regsvr32.exe jscript.dll

  regsvr32.exe vbscript.dll

  regsvr32.exe scrrun.dll

  regsvr32.exe msxml.dll

  regsvr32.exe msxml3.dll

  regsvr32.exe msxml6.dll

  regsvr32.exe actxprxy.dll

  regsvr32.exe softpub.dll

  regsvr32.exe wintrust.dll

  regsvr32.exe dssenh.dll

  regsvr32.exe rsaenh.dll

  regsvr32.exe gpkcsp.dll

  regsvr32.exe sccbase.dll

  regsvr32.exe slbcsp.dll

  regsvr32.exe cryptdlg.dll

  regsvr32.exe oleaut32.dll

  regsvr32.exe ole32.dll

  regsvr32.exe shell32.dll

  regsvr32.exe initpki.dll

  regsvr32.exe wuapi.dll

  regsvr32.exe wuaueng.dll

  regsvr32.exe wuaueng1.dll

  regsvr32.exe wucltui.dll

  regsvr32.exe wups.dll

  regsvr32.exe wups2.dll

  regsvr32.exe wuweb.dll

  regsvr32.exe qmgr.dll

  regsvr32.exe qmgrprxy.dll

  regsvr32.exe wucltux.dll

  regsvr32.exe muweb.dll

  regsvr32.exe wuwebv.dll

  7、重置 Winsock。 若要执行此操作,在命令提示符下键入以下命令,然后按 回车键:

  netsh reset winsock

  8、如果你运行的 Windows XP 或 Windows Server 2003,你必须设置代理设置。 若要执行此操作,在命令提示符下键入以下命令,然后按 回车键:

  proxycfg.exe -d

  9、重启 BITS 服务和 Windows 更新服务。 若要执行此操作,请在命令提示符处键入以下命令。 键入每个命令后按 回车键。

  net start bits

  net start wuauserv

  10、如果你运行的 Windows Vista 或 Windows Server 2008,请清除位队列。 若要执行此操作,在命令提示符下键入以下命令,然后按 回车键:

  bitsadmin.exe /reset /allusers

  以上是win10安装iis不成功的所有内容,如果您遇到这种情况,请按照本文的方法解决,希望这能帮助到大家。

相关教程

Copyright ©  2009-2024 鹿大师 www.ludashiwj.com 版权声明