Is there a way to reset IIS 7.5 to factory settings?

前端 未结 6 1220
清歌不尽
清歌不尽 2020-12-25 11:00

I modified a lot of options in IIS, and would like to reset its settings to default.

I already tried installing/reinstalling it. After the reinstall, it still had t

6条回答
  •  天涯浪人
    2020-12-25 11:28

    There are automatic backup under %systemdrive%\inetpub\history but it may not help much if you already made lots of changes.

    http://blogs.iis.net/bills/archive/2008/03/24/how-to-backup-restore-iis7-configuration.aspx

    You will have to regularly back up manually using appcmd.

    If you try to reinstall IIS, please first uninstall IIS and WAS via Add/Remove Programs, and then delete all existing files under C:\inetpub and C:\Windows\system32\inetsrv directories. Then you can install again cleanly.

    WARN: beginners on IIS are not recommended to execute the steps above without a full backup of the system. The steps should be executed with caution and good understanding of IIS. If you are not capable of or you have doubt, make sure you open a support case with Microsoft via http://support.microsoft.com and consult.

提交回复
热议问题