Submit a ticketCall us

AnnouncementsAre You “Flying Blind?”

When it comes to your complex IT infrastructure, you want to ensure you have a good grasp of what’s going on to avoid any fire drills that result from guesswork. Read our white paper to learn how proactively monitoring your IT environment can help your organization while giving you peace of mind.

Get your free white paper.

Home > Success Center > Orion Platform > Orion - Knowledgebase Articles > Tips for executing external scripts and batch files with alerts

Tips for executing external scripts and batch files with alerts

Table of contents
Created by Aileen de Lara_ret, last modified by Harry Griffiths on Jan 29, 2019

Views: 8,132 Votes: 1 Revisions: 5

Updated: 29-1-2019


This article provides tips to prevent errors if you are using either the Execute an external program or the Execute external VB script actions with an Orion alert.


All Orion Core products


  • Basic alerts and advanced alerts fire alert action scripts differently. Generally, if a batch or VBS script runs correctly from the desktop of your Orion server, it will most likely fire correctly from a basic alert.
  • Run all external batch files and scripts from the C: drive of your Orion server.
  • Remove all spaces in VB script names.
  • In some cases, quotation marks may be required around script names and any variables that are passed to the called script.
  • Microsoft locks down the way scripts run by default for a service so that applications with graphical user interfaces cannot be launched. It is possible, however, to configure services to interact with the desktop, as shown in the following procedure:

Note: Running a process under the Local Account may be considered a security risk.

a. Click Start > Control Panel > Administrative Tools > Services.


  • SolarWindsAlertingServiceV2 runs the Orion Alerts.
  • OrionModuleEngine runs the Orion Alerting Actions.

b. Right-click the service you want to configure, and then click Properties.

c. On the Log On tab, select Local System account, and then check Allow service to interact with the desktop.

  • If a script does not run as expected from the Advanced Alert Manager, even if it runs correctly from the desktop, confirm that the user under which the Advanced Alert manager is running has permission to run the desired script, as shown in the following procedure:

a. Click Start > Control Panel > Administrative Tools > Services.

b. If the account listed under User Name is not able to restart the service, the service will fail to launch.


The Advanced Alert Manager was discontinued and functionality was rolled into the Orion Platform. For the latest information about alerts, see Alerting resources for Orion Platform products.

  • If the service is launched by a non-Administrator user, complete the following steps to launch the service as an Administrator:

a. Right-click the service, and then click Properties.

b. On the Log On tab, select This account.

c. Provide or Browse to a user with administrative privileges, and then provide and confirm the administrative user password.

d. Click OK.




Last modified