18

Suppose I have IIS running on 2 different computers, I want to know if the 2 IIS configurations are different. How can I compare the configuration settings on different IIS Web Servers?

lhan
  • 4,585
  • 11
  • 60
  • 105
KentZhou
  • 24,805
  • 41
  • 134
  • 200

1 Answers1

19

Compare IIS configuration files located in C:\Windows\System32\inetsrv\config directory.
OR
If you use WebDeploy tool:

msdeploy.exe -verb:sync -source:webServer,computername=YourSourceMachine -disableLink:ContentExtension -dest:webServer,computername=YourDestinationMachine -whatif > c:\sync.log

In c:\sync.log file you will see what would take to synchronize IIS configuration from YourSourceMachine to YourDestinationMachine. Because -whatif parameter is provided it will only symulate synchronization process.

Tomek
  • 3,267
  • 2
  • 22
  • 23
  • what path is mdeploy.exe usually stored under? – Jason D Dec 26 '12 at 14:29
  • 1
    You need to download mdeploy.exe, it does not come preinstalled. – AshHimself Sep 17 '14 at 04:58
  • 2
    In case anyone else is looking for it, you can obtain msdeploy.exe from [https://www.iis.net/downloads/microsoft/web-deploy](https://www.iis.net/downloads/microsoft/web-deploy). – Scott Nov 23 '16 at 19:35