Ref: 06430012
Title: Forcing Logon to Retry After a Bad Password Attempt
Date: 4/9/90

Copyright 3Com Corporation, 1991.  All rights reserved.

When a user logs on during the boot process and enters a bad password,
the batch file will continue to execute and will not retry the logon
process.  Below is a sample entry for the AUTOEXEC.BAT file or STARTUP.CMD
file that will force the looping of the logon function when a bad password
is entered.  The errorlevel is set to 2 by the program.  You can re-execute
Logon as follows:

 :Do_Logon
 logon ......
 .
 .
 :uses
 net use e: \\%home_server\dosapps *
 if errorlevel 2 goto badpass
 .
 .
 .
 :badpass
 echo The password given is incorrect.  If you do not want to
 echo retry the logon command, press Ctrl-C and respond with a
 echo Y when asked if you want to terminate the batch file.
 echo If you want to retry the logon command then
 pause
 goto uses


(The "pause" command will display the text "press any key to continue" to
complete the last echo statement.)

