Acronis Integration

akaspar
akaspar Member Posts: 17

This doesn't ever install Acronis "Cyber Protect" and also there's no progress or status anywhere.

Not even "recent processes" report shows anything.

What am I missing ?

Comments

  • akaspar
    akaspar Member Posts: 17

    I tried a couple more clients, it finally shows up in Recent Processes report. 
    Invoke-WebRequest failed because Internet Explorer hasn't been opened yet and 'configured' for initial security policies. User powershell script to disable this requirement… Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Internet Explorer\Main" -Name "DisableFirstRunCustomize" -Value 2

  • akaspar
    akaspar Member Posts: 17

    In fact the reg key wasn't required. The failure by Invoke-WebRequest is a false positive and the application gets installed.

  • gilgi
    gilgi Administrator, Moderator, Internal Posts: 324 admin

    @akaspar I'm passing this on regardless, but at least the desired outcome is there (now to get the reflection of it to work as well!)
    thx

  • akaspar
    akaspar Member Posts: 17
    edited January 2

    This is from a different machine with the TLS/SSL could not create secure channel.

    Below are screenshots showing the Schannel types and cipher suite order.

    ExitCode: 1 Output:

    
    Exception calling "GetResponse" with "0" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
    At C:\Program Files\ATERA Networks\AteraAgent\Packages\AgentPackageSystemTools\41f57dc2-05ff-4111-bc74-25f215f64097_Acronis - Install.ps1:31 char:1
    + $installerName = [System.IO.Path]::GetFileName($installerRequest.GetR ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException    
    + FullyQualifiedErrorId : WebException Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.
    At C:\Program Files\ATERA Networks\AteraAgent\Packages\AgentPackageSystemTools\41f57dc2-05ff-4111-bc74-25f215f64097_Acronis - Install.ps1:42 char:1
    + Invoke-WebRequest -Uri $installationUrl -OutFile $installerPath;
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:Htt    pWebRequest) [Invoke-WebRequest], WebException    
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShe    ll.Commands.InvokeWebRequestCommand Exception calling "Start" with "0" argument(s): "Access is denied"
    At C:\Program Files\ATERA Networks\AteraAgent\Packages\AgentPackageSystemTools\41f57dc2-05ff-4111-bc74-25f215f64097_Acronis - Install.ps1:73 char:1
    + $process.Start() | Out-Null
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~    
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException    
    + FullyQualifiedErrorId : Win32Exception Exception calling "WaitForExit" with "0" argument(s): "No process is associated with this object."
    At C:\Program Files\ATERA Networks\AteraAgent\Packages\AgentPackageSystemTools\41f57dc2-05ff-4111-bc74-25f215f64097_Acronis - Install.ps1:74 char:1
    + $process.WaitForExit()
    + ~~~~~~~~~~~~~~~~~~~~~~    
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException    
    + FullyQualifiedErrorId : InvalidOperationException C:\Program Files\ATERA Networks\AteraAgent\Packages\AgentPackageSystemTools\41f57dc2-05ff-4111-bc74-25f215f64097_Acronis - Install.ps1 : Failed to install Cyber Protect Agent    
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep    tion    
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio    n,41f57dc2-05ff-4111-bc74-25f215f64097_Acronis - Install.ps1
    

    I can't get past this. I installed .NET4.7 and .NET4.8 framework and that didn't help.

    Computer has these enabled TLS 1.0, 1.1, 1.2 in server/client secure channel.

    All SSL is disabled but enabling it didn't fix it.

    I believe the Acronis site uses TLS 1.3 which may be part of the problem?

    Any ideas?

  • akaspar
    akaspar Member Posts: 17
    edited January 6

    By default windows powershell uses TLS 1.0 but I'm not sure what Atera is using.

    The Acronis site uses TLS 1.3.

    What does Atera use for transferring and running your Acronis install script and such?

  • akaspar
    akaspar Member Posts: 17

    Exception calling "GetResponse" with "0" argument(s): "The request was aborted: Could not create SSL/TLS secure channel.
    "At C:\Program Files\ATERA Networks\AteraAgent\Packages\AgentPackageSystemTools\7e4d1bc5-f9fe-4be9-a8ee-995745b7debe_Acronis - Install.ps1:31 char:1
    + $installerName = [System.IO.Path]::GetFileName($installerRequest.GetR ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException    
    + FullyQualifiedErrorId : WebException Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.
    At C:\Program Files\ATERA Networks\AteraAgent\Packages\AgentPackageSystemTools\7e4d1bc5-f9fe-4be9-a8ee-995745b7debe_Acronis - Install.ps1:42 char:1
    + Invoke-WebRequest -Uri $installationUrl -OutFile $installerPath;
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:Htt    pWebRequest) [Invoke-WebRequest], WebException    
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShe    ll.Commands.InvokeWebRequestCommand
    

  • akaspar
    akaspar Member Posts: 17

    Does anyone know what's going on? Almost all the machines are failing with this. only 2 have installed successfully. About 15 have failed with this. Please shed some light.