How to completely reinstall IIS after an error

  
                              

How to reinstall IIS, sometimes IIS has a serious error, such as metabase broken, no backup....

In general, uninstall IIS reload directly in the control panel add remove program. .

This is not an insurance practice. Many people still have problems after reinstalling IIS.

So it is recommended to reinstall IIS in any case with the following steps:

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 safe mode.)
5, reinstall IIS.

Of course, I am writing this article is not to let you immediately reinstall the problem in IIS, the specific problem depends on the actual situation :)

Copyright © Windows knowledge All Rights Reserved