Tier 2 script – 8e6 Technologies Enterprise Filter Authentication R3000 User Manual
Page 225
A
PPENDIX
A: A
UTHENTICATION
O
PERATIONS
T
IER
2: T
IME
-
BASED
, W
EB
A
UTHENTICATION
8
E
6 T
ECHNOLOGIES
, R3000 I
NTERNET
F
ILTER
A
UTHENTICATION
U
SER
G
UIDE
211
Tier 2 Script
If using Tier 2 only, this script should be inserted into the
network’s login script. If the network also uses a logoff
script, 8e6’s script should be inserted there as well. The
inclusion of this script ensures that the previous end user’s
profile is completely removed, in the event the end user did
not log out successfully.
echo off
:start
cls
net use \\10.10.10.10\LOGOFF$ /delete
:try1
NET USE \\10.10.10.10\LOGOFF$
if errorlevel 1 goto :try2
if errorlevel 0 echo code 0: Success
goto :end
:try2
NET USE \\10.10.10.10\LOGOFF$
if errorlevel 1 goto :try3
if errorlevel 0 echo code 0: Success
goto :end
:try3
NET USE \\10.10.10.10\LOGOFF$
if errorlevel 1 goto :error
if errorlevel 0 echo code 0: Success
goto :end
:error
if errorlevel 1 echo code 1: Failed!
:end
net use \\10.10.10.10\LOGOFF$ /delete