Tier 2 Script - M86 Security M86 Web Filter User Manual

Hide thumbs Also See for M86 Web Filter:
Table of Contents

Advertisement

A
A: A
PPENDIX
UTHENTICATION
192
O
T
PERATIONS

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, M86'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
2: T
-
, W
IER
IME
BASED
EB
A
UTHENTICATION
M86 S
U
ECURITY
G
SER
UIDE

Advertisement

Table of Contents
loading

Table of Contents