Howto Move the IIS Metabase from One Server to another

Using the following 2 commands you can export the metabase from one webserver & import it onto another, making migration between boxes very easy!

To Export:
C:\WINDOWS\system32>cscript iiscnfg.vbs /export /f plzwork.xml /d test /inherited /children /sp /LM/W3SVC

To Import:
C:\WINDOWS\system32>cscript iiscnfg.vbs /import /f plzwork.xml /dp LM/W3SVC /children /inherited /merge /d test /sp /LM/W3SVC

2 Replies to “Howto Move the IIS Metabase from One Server to another”

  1. Thanks, it’s very helpful.
    I’m was looking for methods of making inventory of my web-server and could not figure out the syntax.

Comments are closed.