技术员联盟提供win764位系统下载,win10,win7,xp,装机纯净版,64位旗舰版,绿色软件,免费软件下载基地!

当前位置:主页 > 教程 > 服务器类 >

Windows主机IIS7恢复实战

来源:技术员联盟┆发布时间:2019-05-08 12:07┆点击:

症状:administrator账号打不开c:/inetpub目录

原因:因为服务器被挂马,引起服务器异常所有的网页文件都放在c:/inetpub,于是造成网站全部崩溃

策略:挂起一块新磁盘作为系统,然后扫描磁盘杀死病毒和木马,恢复原磁盘的文件管理权限,切换到源磁盘启动

administrator账号打不开c:/inetpub目录,增加administrator账户,赋予完全权限,然后可以打开该目录

Windows主机IIS7恢复实战

但此时iis打不开,根据提示需要打开was和w3svc

Windows主机IIS7恢复实战

于是定位到计算机-》管理-》service-》world wide web publishing service-》start,出现下面的错误

Windows主机IIS7恢复实战

这时我们需要打开另一个程序,windows process Acivation service->start结果出现下的错误。

Windows主机IIS7恢复实战

%28WS.10%29.aspx

微软官网给出下面的解决方案:

The Windows Process Activation Service (WAS) generates temporary application pool configuration 

files that it stores in the %SystemDrive%inetpubtempappPoolsdirectory by default. If you change this

 location, WAS may not be able to find the directory.

To resolve this issue, make sure that the appPools directory meets the following requirements:

· The directory must exist.

· The directory cannot be on a UNC path.

· The directory must be available to WAS and should have the following permissions: 

SYSTEM: Full Access

Administrators: Full Access

IIS_IUSRS: Read

Windows主机IIS7恢复实战

执行上面的步骤之后,按倒序打开上面的服务,依次ok,于是服务器恢复正常。

Windows主机IIS7恢复实战

经过此次宕机告诉我们服务器的安全防护是这么的重要。