Login
Scripts > 3-Try:
The 3-try login
script is used for attempting to log in the user to the authentication
server in three separate attempts, in case of a login failure.
NOTE:
We recommend that you add the 3-try login script to the existing
domain login script.
Modify the 3-try login script
Place a copy of the 3-try login script in the netlogon folder on
your Domain Controller. Note that this sample script should be modified
to use your own Virtual IP address instead of the IP address (192.168.0.20)
in the sample script. This script lets users be re-authenticated
from the block page without rerunning the whole domain login script.
Top
The script is as follows:
echo
off
:start
cls
net use \\192.168.0.20\r3000$ /delete
:try1
echo "Running net use..."
net use \\192.168.0.20\r3000$
if errorlevel 1 goto :try2
if errorlevel 0 echo code 0: Success
goto :end
:try2
echo Running net use...
net use \\192.168.0.20\r3000$
if errorlevel 1 goto :try3
if errorlevel 0 echo code 0: Success
goto :end
:try3
echo Running net use...
net use \\192.168.0.20\r3000$
if errorlevel 1 goto :error
if errorlevel 0 echo code 0: Success
goto :end
:error
if errorlevel 1 echo code 1: Failed!
:end
Once this updated login
script has been added to the domain, each time users log in to Windows
they will also log in to the Web Filter. Users will be blocked according
to the profiles set up on the domain.
Top
Related
Topics:
Back
| Top |