- 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.
08-10-2020 06:07 AM
Dear All,
Can someone help me with the script for launching batch file? I tried with some of the script replacing the path, launching method etc. of ASDM dispatcher. However, it dint work.
I dont want to send any username, password or IP address. Just want to launch a batch file and start recording the session.
Thanks in advance!
08-12-2020 03:25 PM
Simple cmdline parameters should work, try modifying the sql plus or ssms connection components, if you have applocker and hardening done then remember to make relevant applocker rules for the bat file
08-12-2020 03:25 PM
Simple cmdline parameters should work, try modifying the sql plus or ssms connection components, if you have applocker and hardening done then remember to make relevant applocker rules for the bat file
08-16-2020 02:03 AM
@Ankush Agarwal - Thank you for your reply!
As you suggested, tried with sql Plus components, unfortunately, its not working. Have created one allow rule for filename.bat file in the app locker, no luck!
Getting below logs -
[08/16/20 | 10:58:34] | :Trace: | New command line: [C:\Program Files (x86)\CyberArk\PSM\Components\Hplus\hPlus.bat]
[08/16/20 | 10:58:34] | :Trace: | Log Mask: [7]
[08/16/20 | 10:58:34] | :Trace: | Sleeping for 100 milliseconds before concealing...
[08/16/20 | 10:58:34] | :Trace: | Calling HideCommandLine() with PID=7128
[08/16/20 | 10:58:34] | :Trace: | HideCommandLine() ended succesfully.
08-18-2020 09:22 PM
@Krishndev Vishwakarma Hi Krish, i have similar requirement, would you mind sharing what needs to be taken care while duplicating the connection component ? like what fields are to be updated ?
08-19-2020 09:29 PM
@Ankush Agarwal @Krishndev Vishwakarma Hi Ankush, Krish, can you help me with the connection component parameters ?
08-20-2020 02:00 AM
Hi @BR . Sorry for the delayed response.
Am still looking for the solution. I tried with above mentioned connection components but no luck. With regards to your query, we can copy the whole connection component and change the respective path of execution i.e. the path of your abc.bat file instead of SSMS.exe etc.
08-20-2020 03:31 AM
@Krishndev Vishwakarma Thank you for your response Krish, does the abc.bat file needs to be in Components folder of PSM Server ? can you share how the entry for bat file looks in applocker file
08-20-2020 03:55 AM
@Krishndev Vishwakarma Thanks Krish, when i click on connect, PSM window opens and i see cmd window at background and the PSM session is getting closed
08-20-2020 07:20 PM
@Krishndev Vishwakarma Thanks Krish
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!

