Remote script execution can significantly simplify device administration and maintenance tasks. This feature allows you to execute scripts on remote devices without initiating a TeamViewer remote session.
This article applies to all TeamViewer Monitoring Customers.
Remote Script execution offers many benefits:
Hint: If you haven't created any script yet, please read our dedicated article here:
The following requirement must be met to execute scripts on the device:
User must be a manager of the device and must have execute script permission. Learn more about how to assign managers to a device and how to edit manager permissions on devices.
There are three methods for remotely execute scripts: in-session script execution, bulk script execution, and individual script execution.
Note: Linux and macOS-compatible scripts are only available for in-session script execution and individual script execution.
Learn more about in-session script execution for TeamViewer Classic and for TeamViewer Remote.
Note: Bulk script execution only supports scripts compatible with Windows.
Go to the Automation & insights menu.
Navigate to Script Execution and select the script to be executed remotely.
Click the </> Execute a script button in the center of the page.
4. Select the desired script by clicking on the script name.
5. Select the remote devices where TeamViewer should execute the script, and click Next.
Note: Remote devices require the "Execute script" manager permission to be enabled.
6. Confirm by clicking Execute. You'll be informed that the script has been executed.
Go to the Devices menu.
Navigate to All managed devices and Select the device you want to execute remotely.
Click the </> Execute a script button.
Option A:
In the command bar, navigate to Remote Management > Monitoring > Execute Script.
Option B:
In the 3-dot menu on the device row, navigate to the Remote Management tab and then Monitoring > Execute Script.
Option C:
In the device details side-panel, navigate to the monitoring tab and select Execute Script.
Select the desired script by clicking on the script name, and click Continue.
5. Enter the Username and Password of the user for the device where the script will be executed (or only Username if the user is logged in).
6. Click Execute.