Win10系统之家 - 专注分享最好用的电脑系统

当前位置: Win10系统之家 >  系统教程 >  win10系统教程 >  win10安装iis不成功的解决方法

win10安装iis不成功的解决方法 win10如何正确安装iis

更新时间:2023-04-24 16:02:18作者:zheng

  有些用户在win10中安装iis是却提示安装失败,那么该如何才能正常安装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

win10安装iis不成功的解决方法_win10如何正确安装iis

  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不成功的解决方法_win10如何正确安装iis

  以上就是win10安装iis不成功的解决方法的全部内容,有出现这种现象的小伙伴不妨根据小编的方法来解决吧,希望能够对大家有所帮助。