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

查看:538
本文介绍了有没有办法将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进程激活服务,否则您的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天全站免登陆