- 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.
07-20-2023 02:40 AM
Hi Everybody, now i'm building custom PSM plugin to call Microsoft MMC using AutoIT but stuck with some errors below
In command prompt with command
will result error Invalid number of command
with command
will result error Failed to load dll
Please help guys
07-28-2023 06:22 AM
Hi Everybody,
I did below step to solve my problem :
1. write the program path and the as per picture below
2. Create file SmartConsole.LoginParams and save in c:\cp_smartconsole_config\ :
<?xml version="1.0" encoding="utf-8"?>
<RemoteLaunchParemeters xmlns:xsi="http/www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http/www.w3.org/2001/XMLSchema">
<Username>cybrk</Username>
<ServerIP>ip.address.server.tujuan</ServerIP>
<DomainName></DomainName>
<ReadOnly>False</ReadOnly>
<CloudDemoMode>False</CloudDemoMode>
<Password>the_password</Password>
</RemoteLaunchParemeters>
3. Create the executable of the au3 file. The executable created & au3 file script are put in the PSM Components folder
4. open SmartConsole using command see picture below
5. Run 2 commands below, see picture below
Note : all steps executed in the PSM Server. The command written in the CMD executable using domain admin or a domain user is a member of Domain Admins group in AD
07-20-2023 02:46 AM
Have you verified that the account has access to the directory?
Is Applocker Enforced or in Audit mode?
07-20-2023 03:52 AM
You're running from the command line - it will be expecting some input variables.
Have a look at:
Article Detail (force.com) if you want to test with live credentials,
07-20-2023 07:35 PM
my AppLocker configuration is Enforced for all rules
07-22-2023 09:09 AM
Hi Mal,
I follow https://community.cyberark.com/s/article/00004913 but when i step into no. 3 i can't run cmd as PSM Shadow User and i believe the username & password i typed for PSM Shadow User is correct. there is error this program is blocked by group policy. but when i try to run cmd with other user, this user can login succesfully
07-22-2023 10:06 AM
Applocker is probably blocking cmd.exe.
Assuming you're testing in a dev environment, either disable applocker while testing or add it to the list of excepted programs and re-run the applocker hardening script.
07-23-2023 11:39 PM
Hi Mal or Everybody,
I have added cmd.exe in PSMConfigureAppLocker.xml -> run PSMConfigureAppLocker.ps1 -> set AppLocker with Audit Mode -> reset PSM Shadow User password. the result is command prompt is able to be opened by PSM Shadow User but command executed still display 2 errors above
Please help guys
07-23-2023 11:48 PM
Hi,
1) You are not passing the expected parameters. Either you hardcode the values or put it in the xml file while you are testing
2) Open CMD as Admin
Thank you!
07-23-2023 11:48 PM
Hi,
1) You are not passing the expected parameters. Either you hardcode the values or put it in the xml file while you are testing
2) Open CMD as Admin
Thank you!
07-23-2023 11:55 PM
Hi Vamshi,
What parameter do you mean, any example ?
07-24-2023 12:16 AM
Hi,
How you are passing the Username and Password?
Thank you
07-24-2023 12:20 AM
I write in PSMGenericClientDriver.xml file
note : i create 2 PSM plugin, 1 is MMC 1 is checkpoint smart console. 10.0.7.187 is windows server target (not psm server). 10.0.7.237 is checkpoint device, smartconsole had been installed in psm server
07-28-2023 06:22 AM
Hi Everybody,
I did below step to solve my problem :
1. write the program path and the as per picture below
2. Create file SmartConsole.LoginParams and save in c:\cp_smartconsole_config\ :
<?xml version="1.0" encoding="utf-8"?>
<RemoteLaunchParemeters xmlns:xsi="http/www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http/www.w3.org/2001/XMLSchema">
<Username>cybrk</Username>
<ServerIP>ip.address.server.tujuan</ServerIP>
<DomainName></DomainName>
<ReadOnly>False</ReadOnly>
<CloudDemoMode>False</CloudDemoMode>
<Password>the_password</Password>
</RemoteLaunchParemeters>
3. Create the executable of the au3 file. The executable created & au3 file script are put in the PSM Components folder
4. open SmartConsole using command see picture below
5. Run 2 commands below, see picture below
Note : all steps executed in the PSM Server. The command written in the CMD executable using domain admin or a domain user is a member of Domain Admins group in AD
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!

