Submit a ticketCall us

Announcing NPM 12.2
With NPM 12.2 you can monitor your Cisco ASA firewalls, to monitor VPN tunnels for basic visibility and troubleshooting tunnels. NPM 12.2 also uses the SolarWinds Orion Installer so you can easily install and upgrade one or more Orion Platform products simultaneously.
See new features and improvements.

Home > Success Center > Server & Application Monitor (SAM) > Windows Script monitor is blocked when running VBScript on agent machines

Windows Script monitor is blocked when running VBScript on agent machines

Updated May 23, 2017

Overview

An Access Denied error is displayed when testing or polling a Windows Script monitor with VBScript on a Windows agent. 

Environment

SAM 6.2 and later

Cause 

The error occurs because of security policies in the antivirus program. In McAfee, there is a security policy that blocks the execution of these scripts from the TEMP directory. This policy is under Access Protection Policies > Anti-spyware Maximum Protection.

 

Other vendors may have similar policies which can affect the execution of scripts.

Resolution

As a workaround, remove the servers, where the scripts are executed, from the policy. If this is not possible, you may look into other methods of gathering information, such as PowerShell scripting.

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third-party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

 

Last modified
20:46, 22 May 2017

Tags

Classifications

Public