- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
03-31-2026 01:03 PM
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)
Please sugggest what can be done to sort this
04-01-2026 08:33 AM
@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.
04-02-2026 02:38 PM
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,
04-10-2026 06:20 AM
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
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!

