无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 2576|回复: 4
打印 上一主题 下一主题

Acronis Disk Director v 11.0.2121 Home启动批处理

[复制链接]
跳转到指定楼层
1#
发表于 2010-11-10 11:08:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
@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
2#
 楼主| 发表于 2010-11-10 11:10:07 | 只看该作者
所需的命令行启动服务sc.exe

sc.rar

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

回复

使用道具 举报

3#
 楼主| 发表于 2010-11-10 11:14:59 | 只看该作者
如DD11.0.2121HOME和trueimage11.0.0.5519HOME需要在一个PE环境下使用。可将3.10.0.573版本的snapman.sys和snapapi.dll拷贝到trueimage目录下替换。即可同时运行。
回复

使用道具 举报

4#
发表于 2010-11-10 13:45:03 | 只看该作者
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 编辑 ]
回复

使用道具 举报

5#
发表于 2010-11-10 15:01:53 | 只看该作者
HOME版無需MMS
#4正解
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-12-23 06:41

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表