[Quote]

    naifle
  • 762
  • Longevity: 4 years 8 months
  • Posts: 219
  • REPUTATION:26

    [+] [-]

пускач 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

[Quote]

    sergeysvirid
  • 104
  • Longevity: 5 years 1 month
  • Posts: 1675
  • REPUTATION:110

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

[Quote]

    mat.86
  • 14134
  • Longevity: 3 years 6 months
  • Posts: 144
  • REPUTATION:1

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


Last edited by mat.86 on 2018-01-15 01:25; edited 1 time in total

[Quote]

    mat.86
  • 14134
  • Longevity: 3 years 6 months
  • Posts: 144
  • REPUTATION:1

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

[Quote]

    nikzzzz
  • 215
  • Longevity: 5 years
  • Posts: 2984
  • REPUTATION:127

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

[Quote]

    Xemom1
  • 175
  • Longevity: 5 years
  • Posts: 768
  • REPUTATION:71

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

[Quote]

    kavianit
  • 18819
  • Longevity: 1 year 6 months
  • Posts: 1
  • REPUTATION:0

    [+] [-]
Здравствуйте. Использую sfx-образы акронисов, что были предложены по ссылке выше, в тех же самых Winpe. Интересует возможность добавления к этим sfx-образам функции "Активировать восстановление при загрузке" в Acronis True Image. Можно ли это как-то сделать?
Вообще уже очень давно задался этим вопросом. И нигде не могу найти загрузочный диск, любого типа, но так чтобы по соседству с загрузкой WinPE был полностью рабочий Acronis True Image с функцией "Активировать восстановление при загрузке", в последствии которая тоже должна работать на 100%. Тут целый ворох проблем: загрузка в UEFI; жесткая привязка к папке откуда берутся нужные для функции файлы, из-за чего не срабатывает активация функции с флешки (бред, но так и есть); нерабочие лицензии, которые ограничивают то там то здесь функционал; иногда что-то тупо отказывается загружаться через Grub, хотя просто тот же ISO записанный на диск/флешку работает. Пробовал так же wim образы, и с инета, и сам делал, но и там по непонятной причине не срабатывает нужная мне функция.
В общем, я пришел к выводу, что лучше зафигачить отвечающие за эту функцию файлы прямо в sfx-образ акрониса, и активировать прямо из WinPE. Только вот я не знаю, какие это файлы, и может еще какие-то подводные камни могут быть. Подскажите, кто разбирается. А может быть в инете уже готовый образ есть, со всем что мне надо!?

[Quote]

    nikzzzz
  • 215
  • Longevity: 5 years
  • Posts: 2984
  • REPUTATION:127

    [+] [-]
Пускач (без файлов программы)
DiskDirector_12_5_X64
DiskDirector_12_5_X86
TrueImage_16_X64
TrueImage_16_X86
TrueImage_20_X64
TrueImage_20_X86
Сделан на базе zDrvInst.
Устранен конфликт запуска разных версий программы, возникающий из-за несовместимости драйвера snapman.sys.
Запуск разных версий теперь не требует перезагрузки.
Win x64 - работают без поддержки SysWOW64 подсистемы.
Не требует Sc.exe
Attachments


Last edited by nikzzzz on 2019-11-13 12:06; edited 3 times in total

[Quote]

    timon45
  • 2835
  • Longevity: 3 years 10 months
  • Posts: 63
  • REPUTATION:4

    [+] [-]
После многочисленных экспериментов все-таки выловил чего не хватает для нормальной работы Acronis DD 12 на сборках от Xemom1, и nikzzzz, (на это у меня ушло почти 2 недели)
не хватает этого твика:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{71a27cdd-812a-11d0-bec7-08002be2092f}]
"UpperFilters"=hex(7):66,00,6c,00,74,00,73,00,72,00,76,00,00,00,00,00
Без него Acronis DD 12 НЕ РАБОТАЕТ он запускается, но если выполнить 2-3 операции к примеру создать 3 раздела и нажать выполнить, выполнялась 1 операция, затем прога стопорила, затем выдавала ошибку, и после этого уже не работала, помогала только перезагрузка

[Quote]

    gera_serg
  • 1171
  • Longevity: 4 years 6 months
  • Posts: 1424
  • REPUTATION:2

    [+] [-]
timon45,
В програмном пакете Xemom1 есть самораспаковки DD (х86/х64) с "пополнением" реестра до старта
Сможете подправить имеено в них и выложить?

[Quote]

    dimo70
  • 17296
  • Longevity: 2 years 1 month
  • Posts: 974
  • REPUTATION:17

    [+] [-]
  • Location: BG
Извиняюсь за офтоп. aa
... с "пополнением" реестра до старта...
Вот мне хочеться так пополнить реестр и убрать все анимации системы, но так и не понял как можно сделать.

[Quote]

    timon45
  • 2835
  • Longevity: 3 years 10 months
  • Posts: 63
  • REPUTATION:4

    [+] [-]
71443
В програмном пакете Xemom1 есть самораспаковки DD (х86/х64) с "пополнением" реестра до старта
Сможете подправить имеено в них и выложить?
Да, как раз сейчас занимаюсь, ссылка появится в данном посте.
------
как обещал собрал продукты Acrinis в архиве:
Disk Director 12 X86-X64
Recovery Expert 12 X86-X64
True Image 2016 X86-X64
True Image 2020 X86-X64
сделал на основе перепаковок от nikzzzz, Xemom1, и naifle добавил свои правки и заготовки для создания ярлыков, протестировал на WinPE 7, 8, 10 везде и всё работает
64-х разрядные должны работать даже на нативных ядрах WinPE, т.к. использовал 64-х разрядные версии модулей
В True Image 2020 не добавлял функцию восстановления при загрузке т.к. размер перепаковки увеличился бы на 230 мб!
Ссылка 14.11.2019 16:18


Last edited by timon45 on 2019-11-14 16:19; edited 4 times in total

[Quote]

    nikzzzz
  • 215
  • Longevity: 5 years
  • Posts: 2984
  • REPUTATION:127

    [+] [-]
Обновил AcronisStarter ( пост ) с учетом поста
Стартер для ADD версии 12.5 , при использовании другой версии поправьте строки в батниках
Reg.exe add "HKLM\SOFTWARE\Acronis\DiskDirector" /v "enterprise" /t REG_SZ /d "  1 25 99  0   .....
Reg.exe add "HKLM\SOFTWARE\Wow6432Node\Acronis\DiskDirector" /v "enterprise" /t REG_SZ /d "  1 25 99  0  ....
на ключ своей версии.

[Quote]

    gera_serg
  • 1171
  • Longevity: 4 years 6 months
  • Posts: 1424
  • REPUTATION:2

    [+] [-]
71446
Да, как раз сейчас занимаюсь, ссылка появится в данном посте.
гляньте на досуге (тщательно не могу проверить) , может пойдет такой вариант?
https://cloud.mail.ru/public/2xaL/3Ra25JttS

[Quote]

    timon45
  • 2835
  • Longevity: 3 years 10 months
  • Posts: 63
  • REPUTATION:4

    [+] [-]
gera_serg, не проверял, т.к. уже собрал свои ссылки выше пост

Page 13 of 14


Display posts:    

Current time is: 26-Jan 21:37

All times are UTC + 3


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum