IIS中W3SVC、WAS服务无法启动问题

问题描述

IIS安装后无法启动,显示:无法启动计算机"."上的服务W3SVC。

image

 查看系统服务World Wide Web 发布服务(即W3SVC)无法启动:

image

 搜索发现是Windows  Process Activation Service(即WAS)无法启动,报错:16 无法删除目录

解决方案

1、使用命令删除当前服务:sc delete WAS

2、新建服务:sc create WAS binPath= "C:\windows\system32\svchost.exe -k iissvcs" DisplayName= "Windows Process Activation Service" type= share error= normal start= delayed-auto depend= RPCSS

3、从正常电脑上导出WAS注册表(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WAS)导入到本机中。

posted @ 2026-04-07 15:55  我也是个傻瓜  阅读(5)  评论(0)    收藏  举报