PSM session closing after launching the Java based application using AutoIT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PSM session closing after launching the Java based application using AutoIT

L1 Bithead

PSM session closing after launching the Java based application using AutoIT

 

Using AutoIT VNC dispatcher and AppLocker set in Audit mode..

Event Viewer: PSMSR163E Failed to open process (process id: 20924) (Codes: -1, 87)

Field_Content_versions_oct20__068Vy00001J1VwFIAV.png 

Please sugggest what can be done to sort this

3 REPLIES 3

L5 Sessionator

@Shudansu Singh​ Try adding some additional logwrites to your au3 to see which step is failing specifically. Also, try testing the au3 manually (https://community.cyberark.com/s/article/00004913). Use procmon to check the process and see if something else is preventing it from launching, etc.

L4 Transporter

Hi,

The error code 87 is related to ERROR_INVALID_PARAMETER.

It may be a user right issue or a missing/bad parameter.

Add a log that reflects the program call and check the syntax to verify the java is launched like the application needs.

Regards,

 

L1 Bithead

This is the typical problem with the process id and AutoIt.

What is being sent and what is expected are not matching, and you'll will see that error and the app will close.

In the AutoIt code, you'll need to create a way to deal with the process id.

The idea is similar to the one that is being discussed in the Cisco ASDM topic: https://community.cyberark.com/s/question/0D52J00009aSkN4SAK/cisco-asdm

  • 61 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!