How To: Compare IIS Configuration Between Two Windows 2008 R2 Servers

Version 3



    If you suspect an IIS configuration issue between two core servers, on way to quickly identify differences is to export the IIS configuration to a set of files and compare those files using a file comparison tools.




         A. export/backup IIS configuration for IIS 7.5


         To export configuration to files on IIS 7.5, you need to use the appcmd.exe tools that is located in the C:\Windows\System32\inetsrv folder.

         To create a backup, run the following command:


         appcmd.exe add backup <BACKUPNAME>


         <BACKUPNAME> is the name you want to give to your backup folder.


         The files will be stored in the folder C:\Windows\System32\inetsrv\backup\<BACKUPNAME>\

 configuration files


         a way to compare files is to use an editor like notepad++ ( with the file comparison plugin (






    Any Core server installed on Windows 2008 R2 (IIS 7.5)