Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

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

Tags

Classifications

Public