Skip to content

Commit

Permalink
Create 3rdparty_n-able-takecontrol.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ssteeltm committed Aug 31, 2023
1 parent 640f78e commit e38c8c1
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions docs/3rdparty_n-able-takecontrol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# N-Able TAKE CONTROL

## N-Able Take Control Integration (Solarwinds/Beanywhere)

!!!info
You can setup a full automation policy to collect the machine GUID but this example will collect from just one agent for testing purposes.

From the UI go to **Settings > Global Settings > CUSTOM FIELDS > Agents**

Add Custom Field</br>
**Target** = `Agent`</br>
**Name** = `TakeControlID`</br>
**Field Type** = `Text`</br>

While in Global Settings go to **URL ACTIONS**

Add a URL Action</br>
**Name** = `N-Able Take Control`</br>
**Description** = `Connect to a Take Control Session`</br>
**URL Pattern** =

```html
mspasp://{{agent.TakeControlID}}
```
Add script with this name Take Control - Get TakeControlID for client:</br>
```
$ConfigPath = $Env:ProgramData + "\GetSupportService\BASupSrvc.ini"
$ResultsIdSearch = Select-String -Path $ConfigPath -Pattern ServerUniqueID
$Result = @($ResultsIdSearch -split '=')
$id = $Result[1]
$Text = "-s " + $id
$ENCODED = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes($Text))
Write-Output $ENCODED
```

Navigate to an agent with Take Control running (or apply using **Settings > Automation Manager**).</br>
Go to Tasks.</br>
Add Task</br>
**Select Script** = `Take Control - Get TakeControlID for client`</br>
**Descriptive name of task** = `Collects the TakeControlID.`</br>
**Collector Task** = `CHECKED`</br>
**Custom Field to update** = `TakeControlID`</br>

Click **Next**</br>
Add **Schedule**</br>
Click **Add Task**

Right click on the newly created task and click **Run Task Now**.

Give it a second to execute then right click the agent that you are working with and go to **Run URL Action > N-Able Take Control**

It launch the session in Take Control desktop Console.

0 comments on commit e38c8c1

Please sign in to comment.