- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-19-2025 08:19 AM
We are trying to integrate PSM connector for Microsoft Active Directory Users and Computers Management Console in our environment, available at CyberArk Marketplace
(https://community.cyberark.com/marketplace/s/#a352J000000eHDrQAM-a392J000003BS5RQAW)
After importing, when I try to launch this connection, I get below error -
PSMGeneriClientWrapper Error : Failed to load DLL
D:\Program Files (x86)\CyberArk\PSM\Components\PSMDispatcherUtils.dll
I have already checked ShadowUser permission, tried modifying the PSMAppConfigureAppLocker.xml and rerunning AppLocker script and all possible solutions that could help with this error but all of no use.
Has anyone made it work successfully?
02-19-2025 09:57 AM
Considering your installation is in the D drive, have you confirmed that the PSMDispatcherUtils.dll entry in AppLocker (if it's there), points to the right path for you and not the default C drive?
And ensure that the connection component in the PVWA points to all the right paths for your case (D drive)
02-20-2025 01:22 AM
Yes, its pointing towards right path.
02-24-2025 03:53 AM
Hi @Himanshu Prahari
I have encountered the same error previously, this was following a PSM Upgrade so not starting from the beginning like you have, I will share below steps taken to resolve the issue, hopefully this will apply to you also.
System Variables...
This should ensure that when searching for .exe & .dll's, the system will find the version of the file in PSM\Components directory before others.
Rename dll's...
Hope this helps
Thanks
Michael
02-25-2025 04:26 AM
Thanks a lot, this suggestion helped to move forward from the PSMGeneriClientWrapper Error : Failed to load DLL error.
However, then I encountered another error - 'An attempt was made to reference a token that does not exist', for which I came across this article - ( https://community.cyberark.com/s/article/PSM-ADUC-connector-displaying-An-attempt-was-made-to-refere... ), I thought this will be it and now session would launch.
But now the session fails without any error. I initiate session, then I get a little message that says 'Initializing', I also get pop up that says 'You are being recorded' and then suddenly the session window disappears.
Interesting enough, the Console log, Trace log or Component logs...show no information which would help, its like as if nothing has happened.
In event however, I see this event - 'PSMPP097E Call to CreateVirtualChannel of the wrapped Protocol Connection failed with code: 2147944165', but no resolution is available on this it seems.
02-25-2025 10:01 AM
Hi @Himanshu Prahari
Interesting that you are getting the message to saying "You are being recorded" and then disappears.
My first thought and you may have done this already but have you tried putting AppLocker in Audit Mode?
Thanks
Michael
02-26-2025 04:12 AM
Hi @Michael C L McAughey
Yes, I tried that.
After putting it in Audit Mode, I don't get the 'You are being recorded' message, however the behavior is same. After a little 'Initializing' message the session window disappears.
Thanks,
Himanshu
03-05-2025 01:41 AM
Hi @Himanshu Prahari
I thinking you should get some sort of error if it fails, can I ask if you have the feature RemoteApp enabled? please see screenshot below but this would apply if you are not going through the HTML5 GW.
If it is enabled, turn it off, restart the PSM Service and try again.
Other than that, we will need to start looking deeper at generated logs to give us an Idea, In this case I would recommend raising a ticket with support and uploading the x-ray logs for deeper investigations.
If you are not familiar with the X-Ray, please see below link, this has the tool and demonstrates how to use it.
X-Ray - https://community.cyberark.com/marketplace/s/#a352J000000ptyOQAQ-a392J000001h53gQAA
Lastly, before you generate the logs, I would personally ensure you have all Trace Levels enabled, once these are enabled, restart the PSM Service, see below on where these are set, once you have finished return the Trace Levels to 0
Go to Administration -> Options -> Privileged Session Management -> General settings and set the following:
*Server settings, TraceLevels 1,2,3,4,5,6,7
*Recorder Settings, TraceLevels=1,2
*Connection client settings, TraceLevels=1,2
Thanks
Michael
03-07-2025 01:22 AM
Hi @Michael C L McAughey
The settings seem to be all fine, I have reverified.
Unfortunately, no log file is capturing any relevant information related to the logs...because session just vanishes.
I have raised a Support Case, hopefully I would get some resolution on it.
03-18-2025 03:20 PM
Hello,
Have you heard back from support? I'm having the same problem.
03-20-2025 05:27 AM
I managed to find a workaround for it by myself.
The PSM Connector package available at (https://community.cyberark.com/marketplace/s/#a352J000000eHDrQAM-a392J000003BS5RQAW) has some problem and does not work, at-least not in my environment.
I came across another PSM Connector package for same AD tools at (https://community.cyberark.com/marketplace/s/#a352J000000GWAZQA4-a392J000002tNgLQAU) and this worked for me.
However the details says that it is for Privileged Cloud but for On-prem below links are helpful -
https://community.cyberark.com/s/article/Quick-Wins-on-Protecting-Active-Directory-Credentials-with-CyberArk-PAM-Privilege-Session-Manager-PSM
https://community.cyberark.com/s/question/0D5Ht0000ABrmuaKQB/microsoft-active-directory-users-and-computers-management-console-developed-by-cyberark-psm-plugin
https://medium.com/@leo.magallon/quick-wins-on-protecting-active-directory-credentials-using-cyberark-privilege-session-manager-a2fd005dadb4
03-20-2025 06:28 AM
@Himanshu Prahari
This is how I solve it too, thank you very much.
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!

