If you are working with Windows 2003 Server, or you simply do not wish to uninstall and reinstall.NET, run the following command line in a. IIS administrators often need to configure multiple IIS servers or make frequent changes to IIS configurations. IIS application developers might also need to configure an IIS server to test an application and then restore the previous configuration after they are done. IIS provides command-line.
![]()
Active1 year, 10 months ago
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?
p.campbell
70.8k5656 gold badges225225 silver badges302302 bronze badges
TPRTPR
1,33788 gold badges3333 silver badges6363 bronze badges
6 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).
Carlos Aguilar MaresCarlos Aguilar Mares
12.3k22 gold badges3131 silver badges3434 bronze badges
There are automatic backup under %systemdrive%inetpubhistory but it may not help much if you already made lots of changes.
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:Windowssystem32inetsrv 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.
Lex LiLex Li
44.8k77 gold badges8383 silver badges107107 bronze badges
What worked for me was going to the article someone else had already mentioned, but keying on this piece:
application.config.backup is not created by automatic backup. The backup files are in %systemdrive%inetpubhistory directory. Automatic backup is also a Vista SP1 and above feature. More information can be found in this blog post, http://blogs.iis.net/bills/archive/2008/03/24/how-to-backup-restore-iis7-configuration.aspx
I was able to find backups of my settings from when I had first installed IIS, and just copy and replace the files in the inetsrvconfig directory.
Nokia 5320 all games 2017. Hence the name, the Nokia 5320 XpressMusic is a music-orientated mobile phone that supports various formats from MP3 to the iPod’s AAC. Its extended battery offers 24 hours of playback while HSDPA technology enables a fast multi-megabit internet connection. Nokia 5320 XpressMusic Symbian smartphone. Announced Apr 2008. Features 2.0″ display, 2 MP primary camera, 890 mAh battery, 140 MB storage.
Source: http://forums.iis.net/t/1085990.aspx
probrandonoprobrandono
There is one way that I have used my self. Go to Steve Czetty
Control PanelProgramsTurn Windows features on or off then uninstall IIS and all of its components completely. I restart windows but I'm not sure if it's required or not. Then install it again from the same path.
5,76277 gold badges3535 silver badges4848 bronze badges
EmadEmad
2,57622 gold badges2020 silver badges3535 bronze badges
This link has some useful suggestions: http://forums.iis.net/t/1085990.aspx
It depends on where you have the config settings stored. By default IIS7 will have all of it's configuration settings stored in a file called 'ApplicationHost.Config'. If you have delegation configured then you will see site/app related config settings getting written to web.config file for the site/app. With IIS7 on vista there is an automatica backup file for master configuration is created. This file is called 'application.config.backup' and it resides inside 'C:WindowsSystem32inetsrvconfig' You could rename this file to applicationHost.config and replace it with the applicationHost.config inside the config folder. IIS7 on server release will have better configuration back up story, but for now I recommend using APPCMD to backup/restore your configuration on regualr basis. Example: APPCMD ADD BACK 'MYBACKUP' Another option (really the last option) is to uninstall/reinstall IIS along with WPAS (Windows Process activation service).
Duke HallDuke Hall
Resetting IIS
a. From the Start menu, choose All Programs, and then choose Accessories.b. Right-click Command Prompt, and then choose Run as administrator.
Sumit RajguruSumit Rajguru
![]() Not the answer you're looking for? Browse other questions tagged iisiis-7iis-7.5 or ask your own question.![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |