How to Copy IIS Configuration to Another Server

In case that you ever wanted to migrate IIS from one server to another with all sites, application pools, etc. this is a very simple solution for that.

First you open Internet Information Services in mmc (Microsoft Management Console) and with right click on it you go on Backup/Restore. Create new backup, name it with something familiar and set password on it.

Now when backup is done you will see it in the list of backups.

Next step would be to open directory C:\Windows\System32\inetsrv\MetaBack and find there two files with extensions MD0 and SC0. Copy these two files to some media (network, usb, floppy, etc.) and transfer them to same directory on another server.

Restore process is the same like for a backup, take Backup/Restore from Internet Information Services in mmc (Microsoft Management Console) and in the list of backups you will see your backup as well. Click on it, take restore, confirm yes that existing configuration will be deleted and write password when asked.

Voila. Now you have two identical IIS servers.