Starting with IIS 7 there is a built-in method of capturing IIS configuration changes using AppCmd.
The AppCmd documentation can be found at Getting started with AppCmd.exe
Creating a Backup
The steps for taking a backup are:
- Open an Admin Command Prompt.
- Browse to the folder
- Run "
AppCmd add backup"
Once a backup is created you can then make your configuration changes.
After the changes are complete then take another backup as explained above.
Comparing the Backups
The simplest way to compare the configuration backups is to download and install a free program named WinMerge. WinMerge can be found at Winmerge.org.
Once installed then:
- Open the folder "
C:\Windows\System32\inetsrv\backup" in Windows Explorer,
- This is a protected folder so you need to specify that you really want access,
- You will then see two or more dated folders containing the backups,
- Select the two folders you want to compare and right-click and open in WinMerge.
Winmerge will clearly show all of the changed files and allow you to browse in and view the actual configuration changes.