Question

Install BeyondTrust Jump Client

  • 2 August 2022
  • 0 replies
  • 16 views

Badge

Hi,

I'm trying to get a Worklet working to install an application to a group group of host. The application is BeyondTrust Jump Client.  The "trick" here is that their application is designed to allow multiple installations on the client. Each install creates a unique installation be adding unique hex identified at the end, and it installs into the ProgramData folder.

So, I came up with the idea of when Automox does the first install, to first create a folder and copy a file into it. Then, I can have the Evaluation Code check for the folder. Everything works the first time, but then next time it will install again. I've tried reversing the Exit code in the evaluation, but either way, it install again. The folder and file do get created as well.

 

Can yo help me figure out what's wrong?

Thanks, Mike Bailey

 

Here is my Evaluation Code:

If (Test-Path -Path "C:\BeyondTrust\")
    {
        exit 1
    } 
    else 
    { 
        exit 0 
    }

 

And here is my Remediation Code:

# Create local folder
New-Item -Path 'C:\BeyondTrust\' -ItemType Directory
# Copy file to workstation to indicate Jump Client is installed
Copy-Item RemoteSupportJumpClient.txt -Destination "C:\BeyondTrust\"

Start-Process -Wait -FilePath "bomgar-pec-w0eec30we15dgf8xz18e51jw1j8g1fzx7diheyxc40hc90.exe" -ArgumentList "silent" -passthru


0 replies

Be the first to reply!

Reply