[Цитировать]

    naifle
  • 762
  • Стаж: 3 года 7 месяцев
  • Сообщений: 219
  • Репутация:21

    [+] [-]

пускач ABR11.cmd

@echo Off
pushd %~dp0
SET CurDir=%CD%
"%~dp0dllfile.exe"
if exist %SystemRoot%\Sysnative\drivers\snapman.sys goto pe
if exist %SystemRoot%\System32\drivers\snapman.sys goto pe
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\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"
sc.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"
sc.exe start snapman
NET START | FIND "mms" > null
IF errorlevel 0 sc stop mms
NET START | FIND "agent" > null
IF errorlevel 0 sc stop agent
NET START | FIND "arsm" > null
IF errorlevel 0 sc stop arsm
sc query mms | find "STOPPED" & if errorlevel 0 sc delete mms
sc query agent | find "STOPPED" & if errorlevel 0 sc delete agent
sc query arsm | find "STOPPED" & if errorlevel 0 sc delete arsm
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ImagePath" /T REG_SZ /D "%CurDir%\mms.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "Type" /T REG_DWORD /D "10"
sc create mms type= own start= auto binpath= "%CurDir%\mms.exe" displayname= "mms"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ImagePath" /T REG_SZ /D "%CurDir%\arsm.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "Type" /T REG_DWORD /D "10"
sc create ARSM type= own start= auto binpath= "%CurDir%\arsm.exe" displayname= "arsm"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ImagePath" /T REG_SZ /D "%CurDir%\agent.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "Type" /T REG_DWORD /D "10"
sc create agent type= own start= auto binpath= "%CurDir%\agent.exe" displayname= "agent"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ARSMPipeVersion" /T REG_SZ  /D "2"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ARSMProtocolVersion" /T REG_SZ  /D "3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ArsmDmlDbProtocol" /T REG_SZ  /D "%Temp%\arsm.sqlite"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "TapesInfoPath" /T REG_SZ  /D "%CurDir%\tapes_info.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\WinPE" /f /v "A43" /T REG_SZ /D "%CurDir%\A43.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\MMS\Configuration\DiskManagement" /f /v "LoadLocalComputer" /T REG_DWORD  /D "1"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "WorkingDir" /T REG_SZ /D "%CurDir%
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "MMSDirPath" /T REG_SZ /D "%CurDir%
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "SystemInfoPath" /T REG_SZ /D "%CurDir%\systeminfo.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "SQLiteBasePath" /T REG_SZ /D "%TEMP%\managed_machine_dml_objects.db3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "MmsDmlDbProtocol" /T REG_SZ /D "%TEMP%\F4CEEE47-042C-4828-95A0-DE44EC267A28.db3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\LicensesInfo" /f /v "enterprise_11_5" /t REG_SZ /d "  5 96  5 20  4 12108 99  0108 27 29  7 12 20 96  6 98 13 96103 15 23 29  3 31 13 98  1 98  1  5 17 18 30 23 15108  6 30 97  0 30 22 29 13 25  0 18109102 19 15102 30 24 16 13  1 96103  6 27 23"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\LicensesInfo" /f /v "{331DED28-1CBE-4B9A-B597-122228583036}" /t REG_SZ /d "8578609919094321408"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "auto_reactivate.bin" /T REG_SZ /D "%CurDir%\auto_reactivate.bin"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "auto_reactivate64.bin" /T REG_SZ /D "%CurDir%\auto_reactivate64.bin"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "autosid.bin" /T REG_SZ /D "%CurDir%\autosid.bin"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "autosid64.bin" /T REG_SZ /D "%CurDir%\autosid64.bin"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "core_workers_shared_context.dll" /T REG_SZ /D "%CurDir%\core_workers_shared_context.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "events_trace.dll" /T REG_SZ /D "%CurDir%\events_trace.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "fnls.dll" /T REG_SZ /D "%CurDir%\fnls.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "ftrace.dll" /T REG_SZ /D "%CurDir%\ftrace.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "gc.dll" /T REG_SZ /D "%CurDir%\gc.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "icu38.dll" /T REG_SZ /D "%CurDir%\icu38.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "kb_link.dll" /T REG_SZ /D "%CurDir%\kb_link.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "libcrypto10.dll" /T REG_SZ /D "%CurDir%\libcrypto10.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "libssl10.dll" /T REG_SZ /D "%CurDir%\libssl10.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "resource.dll" /T REG_SZ /D "%CurDir%\resource.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "rpc_client.dll" /T REG_SZ /D "%CurDir%\rpc_client.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "thread_pool.dll" /T REG_SZ /D "%CurDir%\thread_pool.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "tib_mounter.dll" /T REG_SZ /D "%CurDir%\tib_mounter.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "sqlite3.dll" /T REG_SZ /D "%CurDir%\sqlite3.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "universal_restore.dll" /T REG_SZ /D "%CurDir%\universal_restore.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents\DRP" /f /v "drp.xsl" /T REG_SZ /D "%CurDir%\drp.xsl"
reg.exe ADD "HKLM\SOFTWARE\Acronis\CLI" /f /v "path" /T REG_SZ /D "%CurDir%\acrocmd.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\GlobalComponents" /f /v "snapapi.dll" /T REG_SZ /D %systemroot%\system32\snapapi.dll
sc start mms
sc start agent
sc start arsm
nircmd64 shellrefresh
nircmd64 cmdwait 10000 sysrefresh environment
REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\MININT /ve
IF %errorlevel% NEQ 0 GOTO end
reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "PartMgr\0fltsrv"
REG QUERY "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /v UpperFilters | find /i "ambakdrv" >nul
if %ERRORLEVEL%==1 (
  reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "fltsrv"
  ) else (
  reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "fltsrv\0ambakdrv"
  )
goto end
:Win732
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"
sc.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"
sc.exe start snapman
NET START | FIND "mms" > null
IF errorlevel 0 sc stop mms
NET START | FIND "agent" > null
IF errorlevel 0 sc stop agent
NET START | FIND "arsm" > null
IF errorlevel 0 sc stop arsm
sc query mms | find "STOPPED" & if errorlevel 0 sc delete mms
sc query agent | find "STOPPED" & if errorlevel 0 sc delete agent
sc query arsm | find "STOPPED" & if errorlevel 0 sc delete arsm
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ImagePath" /T REG_SZ /D "%CurDir%\mms.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "Type" /T REG_DWORD /D "10"
sc create mms type= own start= auto binpath= "%CurDir%\mms.exe" displayname= "mms"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ImagePath" /T REG_SZ /D "%CurDir%\arsm.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "Type" /T REG_DWORD /D "10"
sc create ARSM type= own start= auto binpath= "%CurDir%\arsm.exe" displayname= "arsm"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ImagePath" /T REG_SZ /D "%CurDir%\agent.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "Type" /T REG_DWORD /D "10"
sc create agent type= own start= auto binpath= "%CurDir%\agent.exe" displayname= "agent"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ARSMPipeVersion" /T REG_SZ  /D "2"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ARSMProtocolVersion" /T REG_SZ  /D "3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ArsmDmlDbProtocol" /T REG_SZ  /D "%Temp%\arsm.sqlite"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "TapesInfoPath" /T REG_SZ  /D "%CurDir%\tapes_info.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\WinPE" /f /v "A43" /T REG_SZ /D "%CurDir%\A43.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\MMS\Configuration\DiskManagement" /f /v "LoadLocalComputer" /T REG_DWORD  /D "1"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "WorkingDir" /T REG_SZ /D "%CurDir%
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "MMSDirPath" /T REG_SZ /D "%CurDir%
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "SystemInfoPath" /T REG_SZ /D "%CurDir%\systeminfo.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "SQLiteBasePath" /T REG_SZ /D "%TEMP%\managed_machine_dml_objects.db3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "MmsDmlDbProtocol" /T REG_SZ /D "%TEMP%\F4CEEE47-042C-4828-95A0-DE44EC267A28.db3"
REG.EXE ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\LicensesInfo" /f /v "enterprise_11_5" /t REG_SZ /d "  5 96  5 20  4 12108 99  0108 27 29  7 12 20 96  6 98 13 96103 15 23 29  3 31 13 98  1 98  1  5 17 18 30 23 15108  6 30 97  0 30 22 29 13 25  0 18109102 19 15102 30 24 16 13  1 96103  6 27 23"
REG.EXE ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\LicensesInfo" /f /v "{331DED28-1CBE-4B9A-B597-122228583036}" /t REG_SZ /d "8578609919094321408"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "fnls.dll" /T REG_SZ /D "%CurDir%\fnls.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "ftrace.dll" /T REG_SZ /D "%CurDir%\ftrace.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "icu38.dll" /T REG_SZ /D "%CurDir%\icu38.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "rpc_client.dll" /T REG_SZ /D "%CurDir%\rpc_client.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "resource.dll" /T REG_SZ /D "%CurDir%\resource.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "universal_restore.dll" /T REG_SZ /D "%CurDir%\universal_restore.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "gc.dll" /T REG_SZ /D "%CurDir%\gc.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "thread_pool.dll" /T REG_SZ /D "%CurDir%\thread_pool.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "ntmsapia.dll" /T REG_SZ /D "%CurDir%\ntmsapia.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "libcrypto10.dll" /T REG_SZ /D "%CurDir%\libcrypto10.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "libssl10.dll" /T REG_SZ /D "%CurDir%\libssl10.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "events_trace.dll" /T REG_SZ /D "%CurDir%\events_trace.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "core_workers_shared_context.dll" /T REG_SZ /D "%CurDir%\core_workers_shared_context.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "autosid.bin" /T REG_SZ /D "%CurDir%\autosid.bin"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "autosid64.bin" /T REG_SZ /D "%CurDir%\autosid64.bin"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "auto_reactivate.bin" /T REG_SZ /D "%CurDir%\auto_reactivate.bin"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "auto_reactivate64.bin" /T REG_SZ /D "%CurDir%\auto_reactivate64.bin"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "kb_link.dll" /T REG_SZ /D "%CurDir%\kb_link.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "sqlite3.dll" /T REG_SZ /D "%CurDir%\sqlite3.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents\DRP" /f /v "drp.xsl" /T REG_SZ /D "%CurDir%\drp.xsl"
REG.exe ADD "HKLM\SOFTWARE\Acronis\CLI" /f /v "path" /T REG_SZ /D "%CurDir%\acrocmd.exe"
REG.exe ADD "HKLM\SOFTWARE\Acronis\GlobalComponents" /f /v "snapapi.dll" /T REG_SZ /D %systemroot%\system32\snapapi.dll
sc start mms
sc start agent
sc start arsm
nircmd shellrefresh
nircmd cmdwait 10000 sysrefresh environment
REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\MININT /ve
IF %errorlevel% NEQ 0 GOTO end
reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "PartMgr\0fltsrv"
REG QUERY "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /v UpperFilters | find /i "ambakdrv" >nul
if %ERRORLEVEL%==1 (
  reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "fltsrv"
  ) else (
  reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "fltsrv\0ambakdrv"
  )
goto end
:pe
if exist %SystemRoot%\SysWOW64\wdscore.dll goto pe64
goto pe32
:pe64
copy "%CurDir%\snapman64.sys" %SystemRoot%\system32\drivers\snapman64.sys /Y
copy "%CurDir%\fltsrv64.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"
sc.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"
sc.exe start snapman64
NET START | FIND "mms" > null
IF errorlevel 0 sc stop mms
NET START | FIND "agent" > null
IF errorlevel 0 sc stop agent
NET START | FIND "arsm" > null
IF errorlevel 0 sc stop arsm
sc query mms | find "STOPPED" & if errorlevel 0 sc delete mms
sc query agent | find "STOPPED" & if errorlevel 0 sc delete agent
sc query arsm | find "STOPPED" & if errorlevel 0 sc delete arsm
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ImagePath" /T REG_SZ /D "%CurDir%\mms.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "Type" /T REG_DWORD /D "10"
sc create mms type= own start= auto binpath= "%CurDir%\mms.exe" displayname= "mms"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ImagePath" /T REG_SZ /D "%CurDir%\arsm.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "Type" /T REG_DWORD /D "10"
sc create ARSM type= own start= auto binpath= "%CurDir%\arsm.exe" displayname= "arsm"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ImagePath" /T REG_SZ /D "%CurDir%\agent.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "Type" /T REG_DWORD /D "10"
sc create agent type= own start= auto binpath= "%CurDir%\agent.exe" displayname= "agent"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ARSMPipeVersion" /T REG_SZ  /D "2"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ARSMProtocolVersion" /T REG_SZ  /D "3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ArsmDmlDbProtocol" /T REG_SZ  /D "%Temp%\arsm.sqlite"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "TapesInfoPath" /T REG_SZ  /D "%CurDir%\tapes_info.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\WinPE" /f /v "A43" /T REG_SZ /D "%CurDir%\A43.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\MMS\Configuration\DiskManagement" /f /v "LoadLocalComputer" /T REG_DWORD  /D "1"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "WorkingDir" /T REG_SZ /D "%CurDir%
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "MMSDirPath" /T REG_SZ /D "%CurDir%
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "SystemInfoPath" /T REG_SZ /D "%CurDir%\systeminfo.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "SQLiteBasePath" /T REG_SZ /D "%TEMP%\managed_machine_dml_objects.db3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "MmsDmlDbProtocol" /T REG_SZ /D "%TEMP%\F4CEEE47-042C-4828-95A0-DE44EC267A28.db3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\LicensesInfo" /f /v "enterprise_11_5" /t REG_SZ /d "  5 96  5 20  4 12108 99  0108 27 29  7 12 20 96  6 98 13 96103 15 23 29  3 31 13 98  1 98  1  5 17 18 30 23 15108  6 30 97  0 30 22 29 13 25  0 18109102 19 15102 30 24 16 13  1 96103  6 27 23"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\LicensesInfo" /f /v "{331DED28-1CBE-4B9A-B597-122228583036}" /t REG_SZ /d "8578609919094321408"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "auto_reactivate.bin" /T REG_SZ /D "%CurDir%\auto_reactivate.bin"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "auto_reactivate64.bin" /T REG_SZ /D "%CurDir%\auto_reactivate64.bin"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "autosid.bin" /T REG_SZ /D "%CurDir%\autosid.bin"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "autosid64.bin" /T REG_SZ /D "%CurDir%\autosid64.bin"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "core_workers_shared_context.dll" /T REG_SZ /D "%CurDir%\core_workers_shared_context.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "events_trace.dll" /T REG_SZ /D "%CurDir%\events_trace.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "fnls.dll" /T REG_SZ /D "%CurDir%\fnls.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "ftrace.dll" /T REG_SZ /D "%CurDir%\ftrace.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "gc.dll" /T REG_SZ /D "%CurDir%\gc.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "icu38.dll" /T REG_SZ /D "%CurDir%\icu38.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "kb_link.dll" /T REG_SZ /D "%CurDir%\kb_link.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "libcrypto10.dll" /T REG_SZ /D "%CurDir%\libcrypto10.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "libssl10.dll" /T REG_SZ /D "%CurDir%\libssl10.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "resource.dll" /T REG_SZ /D "%CurDir%\resource.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "rpc_client.dll" /T REG_SZ /D "%CurDir%\rpc_client.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "thread_pool.dll" /T REG_SZ /D "%CurDir%\thread_pool.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "tib_mounter.dll" /T REG_SZ /D "%CurDir%\tib_mounter.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "sqlite3.dll" /T REG_SZ /D "%CurDir%\sqlite3.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "universal_restore.dll" /T REG_SZ /D "%CurDir%\universal_restore.dll"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents\DRP" /f /v "drp.xsl" /T REG_SZ /D "%CurDir%\drp.xsl"
reg.exe ADD "HKLM\SOFTWARE\Acronis\CLI" /f /v "path" /T REG_SZ /D "%CurDir%\acrocmd.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\GlobalComponents" /f /v "snapapi.dll" /T REG_SZ /D %systemroot%\system32\snapapi.dll
sc start mms
sc start agent
sc start arsm
nircmd64 shellrefresh
nircmd64 cmdwait 10000 sysrefresh environment
REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\MININT /ve
IF %errorlevel% NEQ 0 GOTO end
reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "PartMgr\0fltsrv"
REG QUERY "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /v UpperFilters | find /i "ambakdrv" >nul
if %ERRORLEVEL%==1 (
  reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "fltsrv"
  ) else (
  reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "fltsrv\0ambakdrv"
  )
goto end
:pe32
copy "%CurDir%\snapman.sys" %systemroot%\system32\drivers\snapman32.sys /Y
copy "%CurDir%\fltsrv.sys" %systemroot%\system32\drivers\fltsrv32.sys /Y
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv32 /f /v "ErrorControl" /T REG_DWORD /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv32 /f /v "DisplayName" /T REG_SZ /D "Acronis Storage Filter Management"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv32 /f /v "Group" /T REG_SZ /D "Filter"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv32 /f /v "ImagePath" /T REG_SZ /D "System32\DRIVERS\fltsrv32.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv32 /f /v "Start" /T REG_DWORD /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv32 /f /v "Type" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\fltsrv32 /f /v "Tag" /T REG_DWORD /D "2"
sc.exe create fltsrv32 type= kernel start= boot binpath= "System32\DRIVERS\fltsrv32.sys"
sc.exe start fltsrv32
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman32 /f /v "DisplayName" /T REG_SZ /D "Acronis Snapshots Manager"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman32 /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman32 /f /v "ImagePath" /T REG_SZ /D "System32\DRIVERS\snapman32.sys"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman32 /f /v "Start" /T REG_DWORD  /D "0"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\snapman32 /f /v "Type" /T REG_DWORD /D "1"
sc.exe create snapman32 type= kernel start= boot binpath= "System32\DRIVERS\snapman32.sys"
sc.exe start snapman32
NET START | FIND "mms" > null
IF errorlevel 0 sc stop mms
NET START | FIND "agent" > null
IF errorlevel 0 sc stop agent
NET START | FIND "arsm" > null
IF errorlevel 0 sc stop arsm
sc query mms | find "STOPPED" & if errorlevel 0 sc delete mms
sc query agent | find "STOPPED" & if errorlevel 0 sc delete agent
sc query arsm | find "STOPPED" & if errorlevel 0 sc delete arsm
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "ImagePath" /T REG_SZ /D "%CurDir%\mms.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\mms /f /v "Type" /T REG_DWORD /D "10"
sc create mms type= own start= auto binpath= "%CurDir%\mms.exe" displayname= "mms"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "ImagePath" /T REG_SZ /D "%CurDir%\arsm.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\ARSM /f /v "Type" /T REG_DWORD /D "10"
sc create ARSM type= own start= auto binpath= "%CurDir%\arsm.exe" displayname= "arsm"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ErrorControl" /T REG_DWORD /D "1"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ObjectName" /T REG_SZ /D "LocalSystem"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "ImagePath" /T REG_SZ /D "%CurDir%\agent.exe"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "Start" /T REG_DWORD  /D "2"
REG.exe ADD HKLM\SYSTEM\ControlSet001\Services\agent /f /v "Type" /T REG_DWORD /D "10"
sc create agent type= own start= auto binpath= "%CurDir%\agent.exe" displayname= "agent"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ARSMPipeVersion" /T REG_SZ  /D "2"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ARSMProtocolVersion" /T REG_SZ  /D "3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "ArsmDmlDbProtocol" /T REG_SZ  /D "%Temp%\arsm.sqlite"
reg.exe ADD "HKLM\SOFTWARE\Acronis\ARSM\Settings" /f /v "TapesInfoPath" /T REG_SZ  /D "%CurDir%\tapes_info.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\WinPE" /f /v "A43" /T REG_SZ /D "%CurDir%\A43.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\MMS\Configuration\DiskManagement" /f /v "LoadLocalComputer" /T REG_DWORD  /D "1"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "WorkingDir" /T REG_SZ /D "%CurDir%
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "MMSDirPath" /T REG_SZ /D "%CurDir%
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "SystemInfoPath" /T REG_SZ /D "%CurDir%\systeminfo.exe"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "SQLiteBasePath" /T REG_SZ /D "%TEMP%\managed_machine_dml_objects.db3"
reg.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\Settings" /f /v "MmsDmlDbProtocol" /T REG_SZ /D "%TEMP%\F4CEEE47-042C-4828-95A0-DE44EC267A28.db3"
REG.EXE ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\LicensesInfo" /f /v "enterprise_11_5" /t REG_SZ /d "  5 96  5 20  4 12108 99  0108 27 29  7 12 20 96  6 98 13 96103 15 23 29  3 31 13 98  1 98  1  5 17 18 30 23 15108  6 30 97  0 30 22 29 13 25  0 18109102 19 15102 30 24 16 13  1 96103  6 27 23"
REG.EXE ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\LicensesInfo" /f /v "{331DED28-1CBE-4B9A-B597-122228583036}" /t REG_SZ /d "8578609919094321408"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "fnls.dll" /T REG_SZ /D "%CurDir%\fnls.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "ftrace.dll" /T REG_SZ /D "%CurDir%\ftrace.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "icu38.dll" /T REG_SZ /D "%CurDir%\icu38.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "rpc_client.dll" /T REG_SZ /D "%CurDir%\rpc_client.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "resource.dll" /T REG_SZ /D "%CurDir%\resource.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "universal_restore.dll" /T REG_SZ /D "%CurDir%\universal_restore.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "gc.dll" /T REG_SZ /D "%CurDir%\gc.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "thread_pool.dll" /T REG_SZ /D "%CurDir%\thread_pool.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "ntmsapia.dll" /T REG_SZ /D "%CurDir%\ntmsapia.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "libcrypto10.dll" /T REG_SZ /D "%CurDir%\libcrypto10.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "libssl10.dll" /T REG_SZ /D "%CurDir%\libssl10.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "events_trace.dll" /T REG_SZ /D "%CurDir%\events_trace.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "core_workers_shared_context.dll" /T REG_SZ /D "%CurDir%\core_workers_shared_context.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "autosid.bin" /T REG_SZ /D "%CurDir%\autosid.bin"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "autosid64.bin" /T REG_SZ /D "%CurDir%\autosid64.bin"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "auto_reactivate.bin" /T REG_SZ /D "%CurDir%\auto_reactivate.bin"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "auto_reactivate64.bin" /T REG_SZ /D "%CurDir%\auto_reactivate64.bin"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "kb_link.dll" /T REG_SZ /D "%CurDir%\kb_link.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents" /f /v "sqlite3.dll" /T REG_SZ /D "%CurDir%\sqlite3.dll"
REG.exe ADD "HKLM\SOFTWARE\Acronis\BackupAndRecovery\CommonComponents\DRP" /f /v "drp.xsl" /T REG_SZ /D "%CurDir%\drp.xsl"
REG.exe ADD "HKLM\SOFTWARE\Acronis\CLI" /f /v "path" /T REG_SZ /D "%CurDir%\acrocmd.exe"
REG.exe ADD "HKLM\SOFTWARE\Acronis\GlobalComponents" /f /v "snapapi.dll" /T REG_SZ /D %systemroot%\system32\snapapi.dll
sc start mms
sc start agent
sc start arsm
nircmd shellrefresh
nircmd cmdwait 10000 sysrefresh environment
REG QUERY HKLM\SYSTEM\CurrentControlSet\Control\MININT /ve
IF %errorlevel% NEQ 0 GOTO end
reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "PartMgr\0fltsrv"
REG QUERY "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /v UpperFilters | find /i "ambakdrv" >nul
if %ERRORLEVEL%==1 (
  reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "fltsrv"
  ) else (
  reg add "HKLM\SYSTEM\ControlSet001\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}" /f /v "UpperFilters" /t REG_MULTI_SZ /d "fltsrv\0ambakdrv"
  )
goto end
:end
start "%CurDir%" "TrueImage.exe"
exit

[Цитировать]

    sergeysvirid
  • 104
  • Стаж: 4 года
  • Сообщений: 1408
  • Репутация:81

    [+] [-]
  • Откуда: 65 регион (GMT+11)
45783пускач ABR11.cmd
Спасибо! fr В этом скрипте вроде увидел, то что я упустил в скрипте-пускаче из самораспаковок Acronis Backup Advanced!
Попробую подправить.

[Цитировать]

    mat.86
  • 14134
  • Стаж: 2 года 5 месяцев
  • Сообщений: 51
  • Репутация:1

    [+] [-]
Подскажите, а какой Acronis TI совместим с Acronis DD 12 ? Всмысле snapman.sys чтоб подходили


Последний раз редактировалось: mat.86 (2018-01-15 01:25), всего редактировалось 1 раз

[Цитировать]

    mat.86
  • 14134
  • Стаж: 2 года 5 месяцев
  • Сообщений: 51
  • Репутация:1

    [+] [-]
А после запуска драйвера snapman.sys его уже не какими средствами не остановить?

[Цитировать]

    nikzzzz
  • 215
  • Стаж: 3 года 10 месяцев
  • Сообщений: 2269
  • Репутация:127

    [+] [-]
mat.86,
К сожалению, да.

[Цитировать]

    Xemom1
  • 175
  • Стаж: 3 года 11 месяцев
  • Сообщений: 665
  • Репутация:61

    [+] [-]
mat.86,
http://usbtor.ru/viewtopic.php?t=1158
Там же есть Акронисы в sfx.
Они нормально работают во всех Winpe.

Страница 13 из 13


Показать сообщения:    

Текущее время: 16-Дек 06:17

Часовой пояс: UTC + 3


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете голосовать в опросах
Вы не можете прикреплять файлы к сообщениям
Вы можете скачивать файлы