PSM- CASTM000S Transaction failed in the client side: PrivateArk cannot open file <Installation-Path>\PSM\Temp\Policies.xml to write to the Workspace
100
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM
Symptom
PSM Service is unable to start.
In the PSMConsole logs and well as in Windows-Application event viewer logs, we see:
In the PSMConsole logs and well as in Windows-Application event viewer logs, we see:
PSMSR037E Privileged Session Manager has been terminated. (Diagnostic information: PSMSR182E Failed to retrieve configuration file from Vault [Safe: PVWAConfig, Folder: Root, File: Policies.xml]
(Error: CASTM000S Transaction failed in the client side: PrivateArk cannot open file <Installation-Path>\PSM\Temp\Policies.xml to write to the Workspace), -1)
Environment
12.1;12.2;12.4;12.3;12.5;12.6;12.7;13.0;13.2 Privileged Access Manager (PAM, self-hosted) PSM
PSM
Cause
The permissions of the PSM\TEMP folder, or the whole \PSM\ folder and subfolders are having issues. Probably the whole ACL is corrupted in some way.
Even though permissions seem to be intact, we can notice that:
-
You will not be able to take over any ownership within the folders
-
You will not be able to make any changes to permissions for all the folders
-
Even though you can still create files within with the current logged-in admin user.
-
And you will also notice that PSM is actually able to retrieve the files from the vault. (Deleted files in this folder will appear again after service start-up attempt)
-
Turning off UAC for both users and admins also does not work.
Resolution
To resolve this issue:
-
Re-execute our PSMHardening.ps1 script to reconfigure all permissions for our Idira folders again.
**NOTE**
There may be a need to copy out the PSMHardening.ps1 script to another location outside of our Idira folders in order to successfully execute it.