Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

iis

iis-7

iis-7.5

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 the site I created. It was still breaking on the setting I made to the DefaultWebSite.

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

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

like image 326
TPR Avatar asked Nov 30 '11 04:11

TPR


People also ask

How do I reset IIS in Windows 10?

Right-click on the Windows Start icon. Select Command Prompt (Admin). A command prompt window will open. At the command prompt, type IISRESET.


1 Answers

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).

like image 197
Carlos Aguilar Mares Avatar answered Nov 04 '22 04:11

Carlos Aguilar Mares