Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] sharing my n-able take control integration #1620

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions docs/docs/3rdparty_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.BeAnywhere}}
```
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.
Loading