无忧启动论坛

标题: Acronis Disk Director v 11.0.2121 Home启动批处理 [打印本页]

作者: buger    时间: 2010-11-10 11:08
标题: Acronis Disk Director v 11.0.2121 Home启动批处理
@echo off
PUSHD %~dp0
SET TP=%CD%


copy %TP%\snapman.sys %WINDIR%\system32\drivers\snapman.sys /Y
copy %TP%\snapapi.dll %WINDIR%\system32\snapapi.dll /Y
copy %TP%\msvcp71.dll %WINDIR%\system32\msvcp71.dll /Y
copy %TP%\msvcr71.dll %WINDIR%\system32\msvcr71.dll /Y

REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\Settings  /V "WorkingDir" /T REG_SZ /D "%TP%" /F
//REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\Settings  /V "SysteminfoPath" /T REG_SZ /D "%TP%\AdvReport\systeminfo.exe"" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "resource.dll" /T REG_SZ /D "%TP%\resource.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "icu38.dll" /T REG_SZ /D "%TP%\icu38.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "libcrypto9.dll" /T REG_SZ /D "%TP%\libcrypto9.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "thread_pool.dll" /T REG_SZ /D "%TP%\thread_pool.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "gc.dll" /T REG_SZ /D "%TP%\gc.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "libssl9.dll" /T REG_SZ /D "%TP%\libssl9.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "rpc_client.dll" /T REG_SZ /D "%TP%\rpc_client.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "timounter.dll" /T REG_SZ /D "%TP%\timounter.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "fnls.dll" /T REG_SZ /D "%TP%\fnls.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "ftrace.dll" /T REG_SZ /D "%TP%\ftrace.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "core_workers_shared_context.dll" /T REG_SZ /D "%TP%\core_workers_shared_context.dll" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "events_trace.dll" /T REG_SZ /D "%TP%\events_trace.dll" /F
//REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector\CommonComponents /V "spawn.exe" /T REG_SZ /D "%TP%\spawn.exe" /F
//REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector /V "RecoveryExpertPath" /T REG_SZ /D "%TP%\RecoveryExpert.exe" /F
REG.exe ADD HKLM\SOFTWARE\Acronis\DiskDirector /V "enterprise"  /T REG_SZ /D " 16 20 29 31 12 98 16  1120 20 99 12 29 30  3 30  4120  7 25  1 31  5  5  2 16120 20 25  3 17 12 22 22 25120109  7 18 24 97 31 15  6120  7 24 99 96 29 18102  4120 18 29 16 97 27 24 13  1120 25 17 99 31 29 18 18  6" /F


REG.exe ADD HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318} /f /v UpperFilters /t REG_MULTI_SZ /d "PartMgr snapman"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F} /f /v UpperFilters /t REG_MULTI_SZ /d "snapman"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /V "ErrorControl" /T REG_DWORD /D "1" /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /V "ImagePath" /T REG_EXPAND_SZ /D "system32\DRIVERS\snapman.sys" /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /V "Start" /T REG_DWORD  /D "0" /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman /V "Type" /T REG_DWORD /D "1" /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /V "ErrorControl" /T REG_DWORD /D "1" /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /V "ImagePath" /T REG_SZ /D "%TP%\mmsBundle.dll" /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /V "Start" /T REG_DWORD /D "2 " /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /V "Type" /T REG_DWORD /D "16" /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /V "Description" /T REG_SZ /D "Allows monitoring and managing group tasks on networked computers." /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /V "DisplayName" /T REG_SZ /D "mms" /F
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /V "Objectname" /T REG_SZ /D "LocalSystem" /F
REG.exe ADD HKLM\SYSTEM\Setup\AllowStart\mms /F



sc create snapman type= Kernel start= boot binpath= "system32\DRIVERS\snapman.sys" DisplayName= snapman
sc start snapman


sc create mms type= Own start= Auto binpath= "%TP%\mms\mms.exe" DisplayName= mms
sc start mms


%TP%\ManagementConsole.exe
作者: buger    时间: 2010-11-10 11:10
所需的命令行启动服务sc.exe

sc.rar

11.19 KB, 下载次数: 69, 下载积分: 无忧币 -2


作者: buger    时间: 2010-11-10 11:14
如DD11.0.2121HOME和trueimage11.0.0.5519HOME需要在一个PE环境下使用。可将3.10.0.573版本的snapman.sys和snapapi.dll拷贝到trueimage目录下替换。即可同时运行。
作者: spadek    时间: 2010-11-10 13:45
sc create mms type= Own start= Auto binpath= "%TP%\mms\mms.exe" DisplayName= mms
sc start mms

错了。应该是 "%TP%\mmsBundle.dll" 吧。

其实HOME只需要

REG ADD HKLM\SOFTWARE\Acronis\DiskDirector /V "enterprise"  /T REG_SZ /D " 16 20 29 31 12 98 16  1120 20 99 12 29 30  3 30  4120  7 25  1 31  5  5  2 16120 20 25  3 17 12 22 22 25120109  7 18 24 97 31 15  6120  7 24 99 96 29 18102  4120 18 29 16 97 27 24 13  1120 25 17 99 31 29 18 18  6" /F
REG ADD HKLM\SOFTWARE\Acronis\DiskDirector\Settings /F

[ 本帖最后由 info 于 2010-11-10 13:51 编辑 ]
作者: andos    时间: 2010-11-10 15:01
HOME版無需MMS
#4正解




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3