Credential Provider: AIM script produces "Could not read command line structure, Error code: 0" error
109
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:56 PM
Symptom
While running an AIM script to generate a hash, the following error is produced:
CASCU095E Failed to find out application script file path. (Error: Could not read command line structure, Error code: 0)
Environment
11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted) Credential Provider
Cause
While calling a program like AIMGetAppInfo.exe, Powershell and full path to the program are required.
Resolution
Call the program using absolute path:
powershell.exe C:\the\full\path\to\script.ps1
Additional Information
Details
SYMPTOM:
While running an AIM script to generate a hash, the following error is produced:
CASCU095E Failed to find out application script file path. (Error: Could not read command line structure, Error code: 0)
PROBLEM:
While calling a program like AIMGetAppInfo.exe, powershell and full path to the program is required.
SOLUTION:
Call the program using absolute path. powershell.exe C:\the\full\path\to\script.ps1