It is necessary at times to make a replica of a virtual directory from one IIS-powered server to another. However, the IIS 6 GUI has no tool to perform that. The following could allow to copy a virtual directory from one site to another (running the same IIS Web server).
Another means is to use Iiscnfg.vbs script to export the virtual directory data from one site and import it on another.
- right-click the source virtual directory, choose 'Save Configuration To File'. That copies the chunk of the XML metabase containing the configuration info for the virtual directory
- after copying the file with saved configuration onto the other server, right-click on it and select 'New', 'Virtual Directory From File', select the file, click 'Read File', select what to import and click 'OK'
Another means is to use Iiscnfg.vbs script to export the virtual directory data from one site and import it on another.