Common iMacro Errors

Common iMacro Errors

143
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 13:02 PM


Symptom


When running an iMacros based plugins, an error may be encountered due to one of several components malfunctioning. Please find below a list of common problems and solutions experienced by our customers when working with iMacros.
 
***NOTE***: Please note that many problems can be resolved by installing the latest version of iMacros. Please see the 'Install iMacros' section of the PAS Installation Guide for more information.

SYMPTOM 1:
When attempting to verify or change password for a web based Plugin, you receive an error stating that iMacro failed to initialize or "Failed to initialize iMacros Browser. Check that the iMacros Browser is installed on the machine. code: 8011" 
 
SYMPTOM 2:
iMacros text extractions are not returning expected results.
 
 
SYMPTOM 3:
CPM returns a "Failed to read from third party logs" message.

Q:
I need to use iMacros recorder. How do I use the recorder with the new version?
 
A:
By default, the installation allows running the trial version of iMacros, which allows both recording and playback of macros (after displaying a splash screen). This trial version is initially used to record new macros from the CPM for a plugin, since the license provided by Idira for the full version of iMacros does not include 'Record' capabilities.
 
You can also use the recorder from other nodes by downloading a trial version from http://download.imacros.net and use the recorder for 30 days.


Environment


N/A

Cause


CAUSE 1:
1) The iMacros license may not be installed (correctly).
2) iMacros execution may be prevented by locally installed Anti-Virus or EndPoint Protection solutions.

CAUSE 2:
There may be an issue with the script - sometimes due to changes in the target device's HTML source.

CAUSE 3:
The process of running the macro is comprised of several different components, some of which could be missing.  Validate the various components exist.


Resolution


SOLUTION 1:
1) Open a command prompt as the System user and verify that the trial version splash screen does not appear. If so, confirm with support that the correct and most up-to-date license key is in license.txt.
  1. Install the latest Sysinternals Suite from Microsoft (https://technet.microsoft.com/en-us/sysinternals/)
  2. Open an administrative prompt (cmd)
  3. Run the following command, to get a System prompt: > psexec -i -s cmd.exe
  4. From the System prompt, run iMacros.exe
***NOTE***: iMacros 10 on Win2k8 requires license activation per user (unlike on Win2k12).  Since iMacros is run by CPM with the System user, the license needs to be applied to the System user.

2) You could temporarily disable such solutions to validate if they are causing interference with iMacros operation.  If confirmed, work with your local or third party AV/Endpoint Protection resource to address.

SOLUTION 2:
Run macro manually from the iMacros browser (replace any variables with their respective values).

SOLUTION 3:
  1. CPM - Executes PMTerminal.exe (like most standard plugins)
  2. PMTerminal.exe - Executes cscript.exe (a Microsoft executable that can run VisualBasic scripts)
  3. cscript.exe - Executes the PMWebAppController VB script that can run iMacros macros and returns output
  4. PMTerminal.exe must be able to run cscript.exe. In order to do so one of the following is required:
    1. Disabling DEP on the CPM machine
    2. Adding PMTerminal.exe and/or cscript.exe to the list of DEP exceptions


Additional Information


Details

When running an iMacros based plugins, an error may be encountered due to one of several components malfunctioning. Please find below a list of common problems and solutions experienced by our customers when working with iMacros.
 
***NOTE***: Please note that many problems can be resolved by installing the latest version of iMacros. Please see the 'Install iMacros' section of the PAS Installation Guide for more information.
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001D9oCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail