ActiveXperts Knowledge Base Article 6960040

Our mission at ActiveXperts Software is to deliver high quality Network Monitoring solutions and Windows Development components. Our goal is to supplement these solutions with timely support resources that can help at many different levels.
The first thing you want to do is try to find the answer to your problem in the Knowledge Base. If you cannot find an answer to your question in our Knowledge Base, or if you need additional information or assistance, please use our Contact Support form.


Q6960040 - I get the message "Timeout occurred when executing command" in my PowerShell check. What's the reason?

A possible reason is that one of the include files (activexperts.ps1, activexperts-wmi-dcom.ps1, or activexperts-wmi-winrm.ps1) is blocked by Microsoft. Or the script (e.g. Cpu-wmi-winrm.ps1) itself is blocked.

The best way to check this is to run the script from the command line.

If the script is blocked, you will receive a message like this:

Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\ProgramData\ActiveXperts\Network Monitor\Scripts\Include (ps1)\activexperts.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"):

In other words, user intervention is required, which isn't possible in a background process (ActiveXperts Network Monitor Engine service). Therefore, the PowerShell check in ActiveXperts eventually times out.

This can be resolved by manually checking the properties of one of these files and checking the "Unblock" checkbox.
Or from the PowerShell command prompt using the Set-Content command, like this:

Set-Content -Path "activexperts.ps1:Zone.Identifier" -Value "[ZoneTransfer]`nZoneId=0"

Other possible values ​​for ZoneId are:


If you cannot find an answer to your question(s) in our Knowledge Base, or if you need additional information or assistance, please contact our Customer Support using our Contact Support Form

M