So it is recommended to reinstall IIS in any case:
1, uninstall IIS.
2, delete% windir% / system32 / inetsrv.
3, delete% windir% / Iisx.log, X is the IIS version.
4, delete the / inetpub / directory.
(The above operation can be performed in security mode.)
5, reload IIS.