Applications Systems
Windows Script monitor is blocked when running VBScript on agent machines
An Access Denied error is displayed when testing or polling a Windows Script monitor with VBScript on a Windows agent.
First published date
Last published date
Overview
Access Denied error is displayed when testing or polling a Windows Script monitor with VBScript on a Windows agent. Product section
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.