Troubleshoot the error message "execution of scripts is disabled" while configuring a PowerShell plugin
When the error message "execution of scripts is disabled" shows up while configuring a PowerShell plugin, it means that the execution policy of PowerShell on your system is set to restrict the running of scripts.
To fix it, update the execution policy to unrestricted.
To do this, follow the steps below:
- Login to your server.
- Run the PowerShell prompt as Admin and execute the following:
Set-ExecutionPolicy unrestricted - Restart the plugin agent service.
Related Articles:
Related Articles
How to troubleshoot my Windows PowerShell Plugin?
By default, the Site24x7 monitoring Windows agent will run as a SYSTEM user. In case, if you would like to verify if the plugin script is giving the output properly as SYSTEM user, follow these steps: Download PsExec from this link and extract the ...
Troubleshoot Error 404, Error 111, and "no host given" error when installing the Apache plugin
When installing the Apache monitoring plugin, you may encounter the following errors: Error_code : URL Error no host given: The "no host given" error message typically indicates an issue with a URL or request that lacks a hostname. If you encounter ...
Troubleshoot connection errors in the MySQL plugin
When configuring the MySQL plugin, you may encounter the following errors: Error : Connection Error - This error typically indicates that there is a problem establishing a connection to the database. Sometimes, this message is supplemented with an ...
Troubleshoot the Error 404 and Error 99 for RabbitMQ
When installing the RabbitMQ plugin, you may encounter the following errors: HTTP Error 404: Not Found: This error usually occurs when Site24x7's RabbitMQ monitoring plugin attempts to access the /api/overview page of RabbitMQ, but the resource ...
Troubleshoot Error 401 (Unauthorized error) for RabbitMQ
When installing the RabbitMQ monitoring plugins, you may encounter the following error: HTTP Error 401: Unauthorized: This error occurs when the user attempts to access the /api/overview endpoint of RabbitMQ server, which requires authentication, but ...