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
|
|
|
|
|
)
|
2024-09-23 23:06:26 +09:00
|
|
|
|
|
2024-08-25 23:47:14 +09:00
|
|
|
|
set /P pc_number=PC<EFBFBD>ԍ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
set /P onetime=<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>^<5E>C<EFBFBD><EFBFBD><EFBFBD>p<EFBFBD>X<EFBFBD><EFBFBD><EFBFBD>[<5B>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2024-09-24 14:27:46 +09:00
|
|
|
|
set /P host_url=<EFBFBD>z<EFBFBD>X<EFBFBD>gURL<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28>K<EFBFBD>v<EFBFBD>ȏꍇ<C88F>̂<EFBFBD>)
|
2024-09-23 23:06:26 +09:00
|
|
|
|
|
|
|
|
|
start %dir%dislocker_client.exe setup %pc_number% %onetime% %host_url%
|
|
|
|
|
|
2024-07-25 20:05:01 +09:00
|
|
|
|
pause
|