[Quote]

    naifle
  • 762
  • Longevity: 4 years
  • 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: 4 years 5 months
  • Posts: 1517
  • REPUTATION:96

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

[Quote]

    mat.86
  • 14134
  • Longevity: 2 years 10 months
  • Posts: 84
  • 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: 2 years 10 months
  • Posts: 84
  • REPUTATION:1

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

[Quote]

    nikzzzz
  • 215
  • Longevity: 4 years 4 months
  • Posts: 2584
  • REPUTATION:127

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

[Quote]

    Xemom1
  • 175
  • Longevity: 4 years 4 months
  • Posts: 741
  • REPUTATION:69

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

[Quote]

    kavianit
  • 18819
  • Longevity: 10 months 11 days
  • 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: 4 years 4 months
  • Posts: 2584
  • REPUTATION:127

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

Page 13 of 13


Display posts:    

Current time is: 26-May 10:02

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