Click here to Skip to main content
12,302,493 members (65,946 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET IIS
how can i restore IIS setting to default in windows server 2008
Posted 1-Oct-12 23:50pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Based on the following similar discussion[^]:
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:\Windows\System32\inetsrv\config" 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).


Also look at this option: How to backup/restore IIS7 configuration [^] - Using IIS History
%windir%\system32\inetsrv\appcmd.exe restore backup "My Backup Name"
Details here: Using Configuration History with IIS 7 and IIS 8 [^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160530.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100