FAILED-TO-INITIATE-WINDOWS-SESSION-AUDIT-WIN-AUDIT-AGENT
Symptom
FAILED-TO-INITIATE-WINDOWS-SESSION-AUDIT for Windows Targets
If the target account does not have local administrator privileges on the target machine, the default PSMWinAudit agent will not function as expected. To address this, CyberArk R&D has developed a community version of the audit agent that supports a least privilege model. This allows non-administrative accounts to utilize PSM Windows Audit functionality.
This new agent, called PSM WinAudit Local Agent, is available on the CyberArk Marketplace. It must be manually installed on each target server that will be accessed through PSM.
After installing the PSMWLAInstaller (located in the PSM WinAudit Local Agent/LocalAgent directory) on the target machine, you may encounter the following error:
PSMWinAgent.exe - System ErrorThe code execution cannot proceed because MSVCR120.dll
was not found. Reinstalling the program may fix this problem
Environment
12.2;12.6;13.0;13.2;13.1;14.0;13.3;14.2;14.3;14.4;13.4;13.5 Privilege Cloud Privilege Cloud PSM
PAS
PSM
Pcloud
Cause
The code execution cannot proceed because MSVCR120.dll was not found
Resolution
To Resolve this Download and Install the Required Redistributable: Go to the official Microsoft page:
https://www.microsoft.com/en-us/download/details.aspx?id=40784Download Visual C++ Redistributable Packages for Visual Studio 2013.Choose the appropriate version:vcredist_x64.exe for 64-bit OSvcredist_x86.exe for 32-bit OSRun the installer and complete the setup.
Restart the system (or at least the PSM services) after installation.