Sample Administration Scripts

The Sample Administration Scripts automate some of the most common administrative and tasks demonstrate the functionality of the Internet Information Server Administrative Objects (IISAO). They are meant to serve not only as instructional samples, but also as working tools. You can use them to create and control servers, applications, directories, and more.

Note, the admin samples are meant to be used with the cscript.exe command line scripting utility that comes with the Windows NT Option Pack, and work best if cscript is registered for running .vbs files.  To register cscript is easy - simply run the adsutil sample.  It will register cscript.exe for you.

The following is a list of the samples. Click on a sample name for a description of the sample and how to use it.  The scripts are installed in the directory %WINDIR%\system32\inetsrv\adminsamples.

General Purpose Display Samples Creation State Management
adsutil dispnode Mkw3site Stopweb Pauseweb
disptree Mkwebdir Stopsrv Pausesrv
findweb Stopftp Pauseftp
Startweb Contweb
startftp Contsrv
Startsrv Contftp
chaccess