Discussion Locked

IIS4: Automatic Creation of Virtual Dire

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Help! Is anyone aware of a way to automatically create virtual directories under an IIS 4.0 Website using a script file or a text file as input? I am moving a very large website from Netscape Enterprise Server to IIS and if I can't find a way to do this I will have to manually create about 700 virtual directories, hours and hours of tedious work. Please let me know of any tools or utilities that can help me automate this.

5 replies

by compaqer

Aaron,

I would suggest you use ADSI with WSH scripting to manage IIS programmatically.

For general info about ADSI see

http://www.microsoft.com/windows2000/library/howitworks/activedirectory/adsilinks.asp

for more specific info about manipulating IIS
with ADSI, see http://msdn.microsoft.com/library/psdk/iisref/asps0d6b.htm

or http://support.microsoft.com/support/kb/articles/Q197/8/91.ASP

and especially good is http://msdn.microsoft.com/workshop/server/iis/Autoadm.asp

Good luck,
Jerry

by mdeyette

Yes, download the adsutils script and create your vdirs from the command line. adsutil is a vb script IIS K2 admin utility. Try it out, it should be fine. You may also want to use Site Server CDS to push the content and apps from your old site toyour new site. It can push files with their ACL's and it can push Java object, register and install them. Check out http://www.siteserver101.com/book/chapter6/content3.asp

Good luck...

This discussion is closed to new replies.