자유 게시판

PE받다가

2016.04.27 02:17

DarknessAngel 조회:1322

이런 스크립트 손에 넣었는데, 잘 작동하는군요 (tibshell쪽은 잘 안 됨)


먼저 2014입니다

@echo off
pushd %~dp0
SET CurDir=%CD%\
if exist %SystemRoot%\SysWOW64\wdscore.dll goto Win764
goto Win732
:Win764
copy "%CurDir%snapman64.sys" %SystemRoot%\System32\drivers\snapman.sys /Y
copy "%CurDir%fltsrv64.sys" %SystemRoot%\System32\drivers\fltsrv.sys /Y
REG.exe ADD HKLM\SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050} /f /v "Class" /T REG_MULTI_SZ /D "Acronis Devices"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050} /f /v "Icon" /T REG_MULTI_SZ /D "-5"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F} /f /v "UpperFilters" /T REG_MULTI_SZ /D "fltsrv"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "ErrorControl" /T REG_DWORD /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "DisplayName" /T REG_SZ /D "Acronis Storage Filter Management"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "ImagePath" /T REG_SZ /D "System32\DRIVERS\fltsrv.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Start" /T REG_DWORD /D "3"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Type" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Tag" /T REG_DWORD /D "8"
sc.exe create fltsrv type= kernel start= demand binpath= "System32\DRIVERS\fltsrv.sys"
net.exe start fltsrv
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "ImagePath" /T REG_SZ /D "System32\DRIVERS\snapman.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "Start" /T REG_DWORD  /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "Type" /T REG_DWORD /D "1"
sc.exe create snapman type= kernel start= boot binpath= "System32\DRIVERS\snapman.sys"
net.exe start snapman
REG.EXE ADD "HKLM\SOFTWARE\Acronis\TrueImage" /f /v "standard" /t REG_SZ /d " 29  2  6 15 15  5 20102120 23 24 29 97 25 99108 16120 13 98109 29 30  7 16  4120  5108 24 27  5  3  6  0120 15  4 24 16  7 27 29 12120 12  3 23 24 17 23 13109120  5 15 96 97 13 16 16 13120  6 24 98 31  0102103 27"
REG.EXE ADD "HKLM\SOFTWARE\Wow6432Node\Acronis\TrueImage" /f /v "standard" /t REG_SZ /d " 29  2  6 15 15  5 20102120 23 24 29 97 25 99108 16120 13 98109 29 30  7 16  4120  5108 24 27  5  3  6  0120 15  4 24 16  7 27 29 12120 12  3 23 24 17 23 13109120  5 15 96 97 13 16 16 13120  6 24 98 31  0102103 27"
REG.EXE ADD HKLM\SOFTWARE\Acronis\UniversalRestore /f /v "DriversPackPath" /T REG_SZ /D "%CurDir%UniversalRestore\DriversPack\
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "resource.dll" /T REG_SZ /D "%CurDir%resource.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "icu38.dll" /T REG_SZ /D "%CurDir%icu38.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "libcrypto10.dll" /T REG_SZ /D "%CurDir%libcrypto10.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "libssl10.dll" /T REG_SZ /D "%CurDir%libssl10.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "thread_pool.dll" /T REG_SZ /D "%CurDir%thread_pool.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "kb_link.dll" /T REG_SZ /D "%CurDir%kb_link.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "rpc_client.dll" /T REG_SZ /D "%CurDir%rpc_client.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "universal_restore.dll" /T REG_SZ /D "%CurDir%universal_restore.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "mspack.dll" /T REG_SZ /D "%CurDir%mspack.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "ulxmlrpcpp.dll" /T REG_SZ /D "%CurDir%ulxmlrpcpp.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "expat.dll" /T REG_SZ /D "%CurDir%expat.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "vddapi.dll" /T REG_SZ /D "%CurDir%vddapi.dll"
REG.EXE ADD HKLM\SOFTWARE\Acronis\TrueImage\Settings /f /v "WorkingDir" /T REG_SZ /D "%CurDir%
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "auto_reactivate.bin" /T REG_SZ /D "%CurDir%auto_reactivate.bin"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "auto_reactivate64.bin" /T REG_SZ /D "%CurDir%auto_reactivate64.bin"
goto end
:Win732
copy "%CurDir%snapman.sys" %windir%\system32\drivers\snapman.sys /Y
copy "%CurDir%fltsrv.sys" %windir%\system32\drivers\fltsrv.sys /Y
REG.exe ADD HKLM\SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050} /f /v "Class" /T REG_MULTI_SZ /D "Acronis Devices"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Control\Class\{1860459D-4692-4825-B761-44A725991050} /f /v "Icon" /T REG_MULTI_SZ /D "-5"
reg.exe ADD HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F} /f /v "UpperFilters" /T REG_MULTI_SZ /D "fltsrv"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "ErrorControl" /T REG_DWORD /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "DisplayName" /T REG_SZ /D "Acronis Storage Filter Management"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "ImagePath" /T REG_SZ /D "system32\DRIVERS\fltsrv.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Start" /T REG_DWORD /D "3"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Type" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Tag" /T REG_DWORD /D "8"
sc create fltsrv type= kernel start= demand binpath= "system32\DRIVERS\fltsrv.sys"
net start fltsrv
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "ImagePath" /T REG_SZ /D "system32\DRIVERS\snapman.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "Start" /T REG_DWORD /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "Type" /T REG_DWORD /D "1"
sc create snapman type= kernel start= boot binpath= "system32\DRIVERS\snapman.sys"
net start snapman
REG.EXE ADD "HKLM\SOFTWARE\Acronis\TrueImage" /f /v "standard" /t REG_SZ /d " 29  2  6 15 15  5 20102120 23 24 29 97 25 99108 16120 13 98109 29 30  7 16  4120  5108 24 27  5  3  6  0120 15  4 24 16  7 27 29 12120 12  3 23 24 17 23 13109120  5 15 96 97 13 16 16 13120  6 24 98 31  0102103 27"
REG.EXE ADD HKLM\SOFTWARE\Acronis\UniversalRestore /f /v "DriversPackPath" /T REG_SZ /D "%CurDir%UniversalRestore\DriversPack\
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "resource.dll" /T REG_SZ /D "%CurDir%resource.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "icu38.dll" /T REG_SZ /D "%CurDir%icu38.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "libcrypto10.dll" /T REG_SZ /D "%CurDir%libcrypto10.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "libssl10.dll" /T REG_SZ /D "%CurDir%libssl10.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "thread_pool.dll" /T REG_SZ /D "%CurDir%thread_pool.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "kb_link.dll" /T REG_SZ /D "%CurDir%kb_link.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "rpc_client.dll" /T REG_SZ /D "%CurDir%rpc_client.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "universal_restore.dll" /T REG_SZ /D "%CurDir%universal_restore.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "mspack.dll" /T REG_SZ /D "%CurDir%mspack.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "ulxmlrpcpp.dll" /T REG_SZ /D "%CurDir%ulxmlrpcpp.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "expat.dll" /T REG_SZ /D "%CurDir%expat.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "vddapi.dll" /T REG_SZ /D "%CurDir%vddapi.dll"
REG.EXE ADD HKLM\SOFTWARE\Acronis\TrueImage\Settings /f /v "WorkingDir" /T REG_SZ /D "%CurDir%
goto end
:end
start "%CurDir%" "TrueImage.exe"
exit


이어서 2016입니다 (PE용 따로 구분하는데, 일반 OS에서 PE용 써도 반복 실행 문제 없습니다)

@echo off
pushd %~dp0
SET CurDir=%CD%\
if exist X:\bootmgr goto pe
copy "%CurDir%snapman.sys" %SystemRoot%\System32\drivers\snapman.sys /Y
copy "%CurDir%fltsrv.sys" %SystemRoot%\System32\drivers\fltsrv.sys /Y
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "ErrorControl" /T REG_DWORD /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "DisplayName" /T REG_SZ /D "Acronis Storage Filter Management"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Group" /T REG_SZ /D "Filter"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "ImagePath" /T REG_SZ /D "System32\DRIVERS\fltsrv.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Start" /T REG_DWORD /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Type" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv /f /v "Tag" /T REG_DWORD /D "2"
sc.exe create fltsrv type= kernel start= boot binpath= "System32\DRIVERS\fltsrv.sys"
net.exe start fltsrv
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "DisplayName" /T REG_SZ /D "Acronis Snapshots Manager"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "ImagePath" /T REG_SZ /D "System32\DRIVERS\snapman.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "Start" /T REG_DWORD  /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /f /v "Type" /T REG_DWORD /D "1"
sc.exe create snapman type= kernel start= boot binpath= "System32\DRIVERS\snapman.sys"
net.exe start snapman
REG.exe Add HKLM\Software\Acronis\TrueImage /f /v "standard" /t REG_SZ /d " 99 16 13  7  7 16 17 12120  1 17 29 98  4  4108 18120 24102103 97 16  5 22 30120 12  4 15 99 98  2  2 22120  3 20 20 31 22 98109 98120 29 12103 20  3103102102120 20 31  6 97 24  7 15  6120 23 20103 98 24  5 27109"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "icu38.dll" /T REG_SZ /D "%CurDir%icu38.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "rpc_client.dll" /T REG_SZ /D "%CurDir%rpc_client.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "resource.dll" /T REG_SZ /D "%CurDir%resource.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "thread_pool.dll" /T REG_SZ /D "%CurDir%thread_pool.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "libcrypto10.dll" /T REG_SZ /D "%CurDir%libcrypto10.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "libssl10.dll" /T REG_SZ /D "%CurDir%libssl10.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "auto_reactivate.bin" /T REG_SZ /D "%CurDir%auto_reactivate.bin"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "auto_reactivate64.bin" /T REG_SZ /D "%CurDir%auto_reactivate64.bin"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "kb_link.dll" /T REG_SZ /D "%CurDir%kb_link.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "ulxmlrpcpp.dll" /T REG_SZ /D "%CurDir%ulxmlrpcpp.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "expat.dll" /T REG_SZ /D "%CurDir%expat.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "mspack.dll" /T REG_SZ /D "%CurDir%mspack.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "tib_api.dll" /T REG_SZ /D "%CurDir%tib_api.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "tib_mounter.dll" /T REG_SZ /D "%CurDir%tib_mounter.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "oem_doc_source.dll" /T REG_SZ /D "%CurDir%oem_doc_source.dll"
REG.EXE ADD HKLM\SOFTWARE\Acronis\TrueImageHome\Settings /f /v "ServiceDir" /T REG_SZ /D "%CurDir%

start /wait "%CurDir%" "TrueImage.exe"
del /q %SystemRoot%\System32\drivers\snapman*.sys
del /q %SystemRoot%\System32\drivers\fltsrv*.sys
REG delete HKLM\SYSTEM\ControlSet001\Services\fltsrv /f
REG delete HKLM\SYSTEM\ControlSet001\Services\snapman /f
REG delete HKLM\SYSTEM\ControlSet001\Services\fltsrv32 /f
REG delete HKLM\SYSTEM\ControlSet001\Services\snapman32 /f
REG delete HKLM\SYSTEM\ControlSet001\Services\fltsrv64 /f
REG delete HKLM\SYSTEM\ControlSet001\Services\snapman64 /f
REG delete HKLM\SOFTWARE\Acronis /f
REG delete HKLM\SOFTWARE\Wow6432Node\Acronis /f
net stop snapman
net stop fltsrv
net stop snapman32
net stop fltsrv32
net stop snapman64
net stop fltsrv64
sc delete snapman
sc delete fltsrv
sc delete snapman32
sc delete fltsrv32
sc delete snapman64
sc delete fltsrv64
exit

:pe
copy "%CurDir%snapman.sys" %SystemRoot%\System32\drivers\snapman64.sys /Y
copy "%CurDir%fltsrv.sys" %SystemRoot%\System32\drivers\fltsrv64.sys /Y
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv64 /f /v "ErrorControl" /T REG_DWORD /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv64 /f /v "DisplayName" /T REG_SZ /D "Acronis Storage Filter Management"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv64 /f /v "Group" /T REG_SZ /D "Filter"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv64 /f /v "ImagePath" /T REG_SZ /D "System32\DRIVERS\fltsrv64.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv64 /f /v "Start" /T REG_DWORD /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv64 /f /v "Type" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv64 /f /v "Tag" /T REG_DWORD /D "2"
sc.exe create fltsrv64 type= kernel start= boot binpath= "System32\DRIVERS\fltsrv64.sys"
net.exe start fltsrv64
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman64 /f /v "DisplayName" /T REG_SZ /D "Acronis Snapshots Manager"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman64 /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman64 /f /v "ImagePath" /T REG_SZ /D "System32\DRIVERS\snapman64.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman64 /f /v "Start" /T REG_DWORD  /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman64 /f /v "Type" /T REG_DWORD /D "1"
sc.exe create snapman64 type= kernel start= boot binpath= "System32\DRIVERS\snapman64.sys"
net.exe start snapman64
REG.exe Add HKLM\Software\Acronis\TrueImage /f /v "standard" /t REG_SZ /d " 99 16 13  7  7 16 17 12120  1 17 29 98  4  4108 18120 24102103 97 16  5 22 30120 12  4 15 99 98  2  2 22120  3 20 20 31 22 98109 98120 29 12103 20  3103102102120 20 31  6 97 24  7 15  6120 23 20103 98 24  5 27109"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "icu38.dll" /T REG_SZ /D "%CurDir%icu38.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "rpc_client.dll" /T REG_SZ /D "%CurDir%rpc_client.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "resource.dll" /T REG_SZ /D "%CurDir%resource.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "thread_pool.dll" /T REG_SZ /D "%CurDir%thread_pool.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "libcrypto10.dll" /T REG_SZ /D "%CurDir%libcrypto10.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "libssl10.dll" /T REG_SZ /D "%CurDir%libssl10.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "auto_reactivate.bin" /T REG_SZ /D "%CurDir%auto_reactivate.bin"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "auto_reactivate64.bin" /T REG_SZ /D "%CurDir%auto_reactivate64.bin"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "kb_link.dll" /T REG_SZ /D "%CurDir%kb_link.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "ulxmlrpcpp.dll" /T REG_SZ /D "%CurDir%ulxmlrpcpp.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "expat.dll" /T REG_SZ /D "%CurDir%expat.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "mspack.dll" /T REG_SZ /D "%CurDir%mspack.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "tib_api.dll" /T REG_SZ /D "%CurDir%tib_api.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "tib_mounter.dll" /T REG_SZ /D "%CurDir%tib_mounter.dll"
REG.exe ADD HKLM\SOFTWARE\Acronis\CommonComponents /f /v "oem_doc_source.dll" /T REG_SZ /D "%CurDir%oem_doc_source.dll"
REG.EXE ADD HKLM\SOFTWARE\Acronis\TrueImageHome\Settings /f /v "ServiceDir" /T REG_SZ /D "%CurDir%
start "%CurDir%" "TrueImage.exe"
exit


PE에 트루이미지 추가하고싶은데 빌더 쓰기 싫거나, 기존 PE에 간단히 추가하거나, Y등으로 뺴고싶으신분들, 흑은 깔리는 서비스들이 싫은분들에게 유용할듯합니다


XE1.11.6 Layout1.4.8