-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathClear Entrust Cache.bat
29 lines (27 loc) · 1.02 KB
/
Clear Entrust Cache.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
REM Check if ecautil.exe exists
IF EXIST "C:\Program Files (x86)\Common Files\Entrust\ECAW\ecautil.exe" (
cd "C:\Program Files (x86)\Common Files\Entrust\ECAW"
ecautil.exe -CLEARCACHE capolicy
ecautil.exe -CLEARCACHE crl
ecautil.exe -CLEARCACHE cacerts
ecautil.exe -CLEARCACHE usercerts
ecautil.exe -CLEARCACHE keyaccess
ecautil.exe -CLEARCACHE logbinarydetails
ecautil.exe -CLEARCACHE policycerts
) ELSE (
REM Check if EESPUTIL.exe exists
IF EXIST "C:\Program Files (x86)\Common Files\Entrust\ESP\EESPUTIL.exe" (
cd "C:\Program Files (x86)\Common Files\Entrust\ESP"
EESPUTIL.exe -CLEARCACHE capolicy
EESPUTIL.exe -CLEARCACHE crl
EESPUTIL.exe -CLEARCACHE cacerts
EESPUTIL.exe -CLEARCACHE usercerts
EESPUTIL.exe -CLEARCACHE keyaccess
EESPUTIL.exe -CLEARCACHE logbinarydetails
EESPUTIL.exe -CLEARCACHE policycerts
) ELSE (
echo Neither ecautil.exe nor EESPUTIL.exe were found.
)
)
pause