有没有办法将 IIS 7.5 重置为出厂设置? [英] Is there a way to reset IIS 7.5 to factory settings?

查看:35
本文介绍了有没有办法将 IIS 7.5 重置为出厂设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 IIS 中修改了很多选项,并希望将其设置重置为默认值.

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

我已经尝试安装/重新安装它.重新安装后,它仍然有我创建的站点.它仍然破坏了我对 DefaultWebSite 所做的设置.

I already tried installing/reinstalling it. After the reinstall, it still had the site I created. It was still breaking on the setting I made to the DefaultWebSite.

有人建议先卸载Windows Process Activation Service,但是好像没有安装,所以我真的卸载不了.

People suggested uninstalling Windows Process Activation Service first, but it seems like it wasn't installed anyway, so I can't really uninstall it.

如何将 IIS 安装重置为开箱即用状态?

How can I reset this installation of IIS back to an out-of-the-box state?

推荐答案

您需要卸载 IIS(Internet 信息服务),但这里的关键是确保您卸载 Windows Process Activation Service否则您的 ApplicationHost.config 将仍然存在.当您卸载 WAS 时,您的配置将被清理,您将真正开始使用全新的 IIS(所有数据/配置都将丢失).

You need to uninstall IIS (Internet Information Services) but the key thing here is to make sure you uninstall the Windows Process Activation Service or otherwise your ApplicationHost.config will be still around. When you uninstall WAS then your configuration will be cleaned up and you will truly start with a fresh new IIS (and all data/configuration will be lost).

这篇关于有没有办法将 IIS 7.5 重置为出厂设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆