[INIT PARAMETERS]
After you are sure you have the ADSI 2.5 version on your server you can remove this directive to disable the adsi warning message.
Look in your c:\winnt\system32 directory for a file called activeds.dll it should be dated around 5/1/99 or later.
adsiwarning = 0
set to '1' during testing. Messages will display messages to your screen. When all is well set to '0' This way you be sure when you run the program unattended, it will work
-------------------------
displayMessages=0
-------------------------
if you want to have the report file emailed to you set this option to '1' not implemented in this TRIAL version
-------------------------
emailReportFile=1
-------------------------
if you want to view the report after it is generated enter '1'
if you do not want to view it enter '0'
use this while getting everything right
-------------------------
viewReport=0
-------------------------
the default viewer is notepad.exe
if you would like to use your own viewer enter its name here.
enter the path also if it's not in the windows default path
-------------------------
reportViewer=notepad.exe
-------------------------
A new feature. If set to '1' then the program will prompt for the report type you wish to print. If you are running via a scheduler then st this to '0'
0 = no 1 = Yes
-------------------------
promptMe=0
-------------------------
If you want DomainReportIt PRO to create the bat (vbs) files set this to '1' deletebeforecreating = '2'
If you want to delete the exisiting webbats before you create them again set the following directives to '2' You should delete the webbats before creating them again. Why? Because some of the existing webbats would represent old domains that may have been removed from IIS since the last time you created webbats.
-------------------------
createWebBat=2
-------------------------
If you want to zip the webbats after they are created set this to '1'
(yes = '1' no = 'anything else')
-------------------------
zipbatfiles=1
-------------------------
If you want DomainReportIt PRO to use the IP Mapping file set this to '1'
-------------------------
useIPMappingFile=0
-------------------------
This is the length of the virtual directory name the report will print. If your virtual directories do not exceed, say, 20 characters then set this value to 20.
-------------------------
lengthOfvDir=20
-------------------------
Set this to '1' if you want the report to display the virtual directory properties (values). We did this because if you ever have a problem where the program cannot access the virtual directory properties you can still print the report with the rest of the information.
(1 Yes, 0 No)
-------------------------
getVdirsproperties=1
-------------------------
Set this directive to the number of Web sites you have in IIS. It doesn't need to be the EXACT number, just needs to be a value a little larger than the actual number. It's better to set it to a value a little higher then the actual number of Webs. IIS uses an index value for Webs and the index numbers are re-used. So, if at one time you have 500 Webs, then delete numbers 400 through 499, your Webs would be numbered like this: 1-399, 500 The values 400-499 would be missing yet 500 would be a valid Web site. This could possibly fool our program into thinking the Webs end at 399 since we would not find a valid Web at index number 400.
DEFAULT: 100 - if you inadvertently enter a value other than an integer in maxwebs the default will be 100
-------------------------
maxwebs=1000
-------------------------
-----------------------------------------------
Include the dir path to the report file DomainReportIt PRO will generate
DO NOT INCLUDE the trailing slash
do not include the report name, it will always be domainreportitpro.txt
the default is the DomainReportIt PRO install directory - c:\dscinic\domainreportitpro
------------------------------------------------------------
pathToReportFileDir=c:\dscinc\domainreportitpro
------------------------------------------------------------
set reportType to:
1 for DETAIL Report
2 for SUMMARY with Virtual directories
3 for Straight SUMMARY
4 for a Straight SUMMARY of ONLY Invalid Domain paths
--------------------------
reportType=2
--------------------------
DomainReportIt PRO will run silent or it will display
a text box showing what the heck is going on
To run silent set runSilent to '1'. DomainReportIt PRO must be
run silent if running through a scheduler program, otherwise it will not run properly.
To see what DomainReportIt PRO is doing, set runSilent to '0'.
If DomainReportIt PRO is being run through a scheduler then set this to '1'
----------------
runSilent=0
----------------
*********************************************************************
BEGIN
THE FOLLOWING FOUR (4) DIRECTIVES ARE USED BY THE BATSPIDER PROGRAM ONLY. THEY DO NOT APPLY TO THE DOMAINREPORTITPRO PROGRAM ITSELF.
**********************************************************************
This directive is used by the batspider program only. If you do not set a path here for the spider to get bat files to process it will default to the c:\dscinc\domainreportitpro\webbats directory. This is where DomainReportIt PRO stores the bat files it creates from your IIS install. When YOU create bat files you can define the directory you wish the spider program to get them from.
IMPORTANT: The 'createaweb.vbs' script MUST be in this directory as well. If it is not, you will be warned and the program will abort.
------------------------------------------------------------
pathToBatsToProcess=c:\dscinc\domainreportitpro\webbats\
------------------------------------------------------------
This directive also only works with the spider program. You can define where you want the spider to MOVE the bat files it processes to. If the directory you define below is not found, the spider will MOVE the processed bats to the default directory below.
------------------------------------------------------------
pathToMoveProcessedBatsTo=c:\dscinc\domainreportitpro\webbats\done\
------------------------------------------------------------
If you want to restart your DNS server after creating Webs then set this directive to '1'
IMPORTANT: If you set the restartDNS directive to '1' you must provide a path for a bat file that contains the commands to restart your DNS server. The bat file is hard coded as 'restartdns.bat'
------------------------------------------------------------
restartDNS=1
------------------------------------------------------------
This is the PATH to a bat file named 'restartdns.bat'. It must contain the commands to restart your DNS server. The commands to restart our DNS server are 'ndc restart www' Yours may be different.
IMPORTANT: The PATH you provide here can be any legal path, however, the BAT file you define MUST be called 'restartdns.bat' If the bat file you define here cannot be found, your DNS server will not be restarted.
------------------------------------------------------------
pathToDNSBatFile=c:\dscinc\domainreportitpro\restartdns.bat
------------------------------------------------------------
You can have the spider program itemize and run any file types if you set this directive to '1'
------------------------------------------------------------
runAnyFiles=1
------------------------------------------------------------
You can define what type of files to process. You can process literally any file type, *.bat, *.vbs, *.exe etc. If you use this directive you must have the runAnyFiles above set to '0'
NOTE: If using the batspider.exe program to createWebs created by our DomainReportIt PRO program, you MUST set the typeOfFileToProcess directive to *.bat or it won't work.
------------------------------------------------------------
typeOfFileToProcess=*.bat
------------------------------------------------------------
*********************************************************************
END
THE ABOVE FOUR (4) DIRECTIVES ARE USED BY THE BATSPIDER PROGRAM ONLY. THEY DO NOT APPLY TO THE DOMAINREPORTITPRO PROGRAM ITSELF.
**********************************************************************
A little on the SMTP settings:
host - your SMTP server. Either the domain name (i.e., mail.ourserver.com) or the IP# (i.e., 216.232.11.1) either way will work.
fromaddr - your FROM address. Some mail servers require this to be a valid email address on the mail server. So, make sure it is.
port - for SMTP usually 25. If you know yours is specific then change this, otherwise, leave it alone.
tolist - The email address or news-group name of the recipient. You can specify multiple to addresses, by specifying a tab- or vertical bar-delimited list. NOTE: You can also use addresses of the longer form, i.e, "john cesta john@cesta.com" and the older variant, john@cesta.com(john cesta).
cclist - The email address of the recipient. You can specify multiple cc addresses, by specifying a tab or vertical bar-delimited list.
bcclist - The email address of the recipient. You can specify multiple bcc addresses, by specifying a tab or vertical bar-delimited list.
subject - you can put what you want here to appear as the subject in your email. The WPC, however, will append the relevant error message to this subject. So, don't make it too long.
msg - this is what you want in the body of the email message. You don't need too much here as the relevant error message from WPC will already be in the subject line.
attachments - You can attach any file you'd like here but a good idea is to attach the WPC error log file to the email. Also, maybe you want to attach the IIS error log or the ColdFusion error log etc.
tolist would look like - "wart@wartman.com|dude@bestdude.com|fred@andethel.com"
[SMTP INFO]
host=smtp.mailhost.com
fromaddr=an_email@address.com
port=25
tolist=an_email@address.com
cclist=
bcclist=
subject=DomainReportIt PRO
msg=Email contains our DomainReportIt PRO Report. Generated using DomainReportIt PRO from DSC, Inc. at: http://www.serverautomationtools.com
set attachments to the directory your report is output to
attachments=c:\dscinc\domainreportitpro\domainreportitpro.txt

