Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to export/import configuration of my IIS server into/from a single file? The reason is that I want to put the configuration under version control system to track changes made by admins.


share|improve this question

migrated from Jun 29 '11 at 11:01

This question came from our site for professional and enthusiast programmers.

up vote 4 down vote accepted

IIS7's configuration data is stored in a bunch of XML config files in:


There are still some settings that are registry bound and they can be found under:




The approved way of backing up IIS7's configuration is by using the APPCMD BACKUP command. You can find out more about this command by running APPCMD BACKUP /? from an Administrator command prompt.

You can find out more about APPCMD BACKUP here:

Getting Started With APPCMD.EXE - Managing Backups

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.