I am trying to Schedule a scan using Windows "Schedule Task" option (Using a simple 
Bat file) and getting following error in log file. But if i run the same command from 
command prompt it runs properly. Can any help me in this

Bathfile Information (test.bat)

@echo on

echo "ISS Scan"

CD c:\Program Files\ISS\ScannerConsole

enginemgr -a startscan -e 127.0.0.1 -n scanner_1 -hr XYZ.0.0.1-XYZ.0.0.100 -p XYZ -sn 
"test" -poll t -log Test.log


Command e.g.:-

enginemgr -a startscan -e 127.0.0.1 -n scanner_1 -hr XYZ.0.0.1-XYZ.0.0.100 -p XYZ -sn 
"test" -poll t -log Test.log

Error log file

02/25/2004 16:25:34.54 EngineMgr Starting to process the startscan command
02/25/2004 16:25:34.54 EngineMgr Verifying file signatures.
02/25/2004 16:25:35.00 EngineMgr Loading Dynamic Link Library issdk.dll
02/25/2004 16:25:35.39 EngineMgr Factory Object Created Successfully.
02/25/2004 16:25:35.42 EngineMgr Building and setting encryption provider list
02/25/2004 16:25:35.42 EngineMgr Could not build EncryptionProviderList.
02/25/2004 16:25:35.50 EngineMgr OpenControlChannel started
02/25/2004 16:25:35.54 EngineMgr SleepUntilOpenDone Started
02/25/2004 16:25:35.54 EngineMgr Waiting for wakeup call...
02/25/2004 16:25:37.85 EngineMgr OpenControlChannel Complete, status=47200401, 
host=127.0.0.1
02/25/2004 16:25:37.85 EngineMgr CommNotify - Sending wakeup call
02/25/2004 16:25:37.85 EngineMgr SleepUntilOpenDone Finished
02/25/2004 16:25:37.85 EngineMgr OpenControlChannel completed. - RetVal = 47200401

The session has been closed by the peer. [ID=0x47200401]
02/25/2004 16:25:37.85 EngineMgr StartScan completed. - RetVal = 47200401
The session has been closed by the peer. [ID=0x47200401]

02/25/2004 16:25:37.85 EngineMgr SendCompletionTrap started
02/25/2004 16:25:37.85 EngineMgr SendCompletionTrapIP started
02/25/2004 16:25:37.85 EngineMgr SendEventTrap started
02/25/2004 16:25:37.85 EngineMgr SendEventTrap skipped sending trap.
02/25/2004 16:25:37.85 EngineMgr SendCompletionTrapIP completed
02/25/2004 16:25:37.85 EngineMgr SendCompletionTrap completed
02/25/2004 16:25:37.85 EngineMgr The session has been closed by the peer. 
[ID=0x47200401]
02/25/2004 16:25:37.85 EngineMgr Completed processing the startscan command. 
RC=0x47200401


Thanks &  Regards,
JC
IT Security Administrator
Contact :- 
e-Mail :- [EMAIL PROTECTED]



_______________________________________________
ISSForum mailing list
[EMAIL PROTECTED]

TO UNSUBSCRIBE OR CHANGE YOUR SUBSCRIPTION, go to 
https://atla-mm1.iss.net/mailman/listinfo/issforum

To contact the ISSForum Moderator, send email to [EMAIL PROTECTED]

The ISSForum mailing list is hosted and managed by Internet Security Systems, 6303 
Barfield Road, Atlanta, Georgia, USA 30328.

Reply via email to