diff options
Diffstat (limited to 'examples/driver-aes.bat')
-rw-r--r-- | examples/driver-aes.bat | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/examples/driver-aes.bat b/examples/driver-aes.bat deleted file mode 100644 index a8e5c7e..0000000 --- a/examples/driver-aes.bat +++ /dev/null @@ -1,27 +0,0 @@ -@echo off -set SERVICE_NAME=ksocket -set DRIVER="%~dp0\driver-aes.sys" - -net session >nul 2>&1 -if NOT %ERRORLEVEL% EQU 0 ( - echo ERROR: This script requires Administrator privileges! - pause - exit /b 1 -) - -echo --------------------------------------- -echo -- Service Name: %SERVICE_NAME% -echo -- Driver......: %DRIVER% -echo --------------------------------------- - -sc create %SERVICE_NAME% binPath= %DRIVER% type= kernel -echo --------------------------------------- -sc start %SERVICE_NAME% -echo --------------------------------------- -sc query %SERVICE_NAME% -echo [PRESS A KEY TO STOP THE DRIVER] -pause -sc stop %SERVICE_NAME% -sc delete %SERVICE_NAME% -echo Done. -timeout /t 3 |