2024-07-25 20:05:01 +09:00
|
|
|
|
@echo off
|
|
|
|
|
set dir=%~dp0
|
|
|
|
|
cd %dir%
|
|
|
|
|
schtasks /create /tn "Dislocker_Client" /tr "%dir%dislocker_client.exe" /sc onlogon /ru "%USERNAME%" /rl highest /f
|
|
|
|
|
if %ERRORLEVEL% == 0 (
|
|
|
|
|
echo <20>^<5E>X<EFBFBD>N<EFBFBD>X<EFBFBD>P<EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>[<5B>̐ݒ<CC90><DD92>͊<EFBFBD><CD8A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
|
|
|
|
|
)
|
|
|
|
|
if %ERRORLEVEL% == 1 (
|
|
|
|
|
echo <20>^<5E>X<EFBFBD>N<EFBFBD>X<EFBFBD>P<EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>[<5B>̐ݒ<CC90><DD92>ŃG<C583><47><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
|
|
|
|
|
)
|
2024-07-25 21:13:50 +09:00
|
|
|
|
Cscript "%dir%shortcut.vbs" "%dir%" "%dir%" "dislocker_client.exe" "stop" "<EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>g<EFBFBD>_<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD>ƒ<EFBFBD><EFBFBD>~<7E><><EFBFBD><EFBFBD>"
|
2024-07-25 20:05:01 +09:00
|
|
|
|
if %ERRORLEVEL% == 0 (
|
2024-07-25 21:13:50 +09:00
|
|
|
|
Cscript "%dir%shortcut.vbs" "%USERPROFILE%/Desktop" "%dir%" "dislocker_client.exe" "stop" "<EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>g<EFBFBD>_<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD>ƒ<EFBFBD><EFBFBD>~<7E><><EFBFBD><EFBFBD>"
|
2024-07-25 20:05:01 +09:00
|
|
|
|
echo <20>V<EFBFBD><56><EFBFBD>[<5B>g<EFBFBD>J<EFBFBD>b<EFBFBD>g<EFBFBD>̍쐬<CC8D>͊<EFBFBD><CD8A><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
|
|
|
|
|
)
|
|
|
|
|
if %ERRORLEVEL% == 1 (
|
|
|
|
|
echo <20>V<EFBFBD><56><EFBFBD>[<5B>g<EFBFBD>J<EFBFBD>b<EFBFBD>g<EFBFBD>̍쐬<CC8D>ŃG<C583><47><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
|
|
|
|
|
)
|
|
|
|
|
set /P pc_number=PC<EFBFBD>ԍ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
start %dir%dislocker_client.exe setup %pc_number%
|
|
|
|
|
pause
|