PVWA - User unable to add to favorites
Symptom
User in PVWA gets the following pop-up error message when trying to add an account to Favourites
In some cases the file name will not be specified
A correlating log message appears in the CyberArk.Webconsole.log file on the PVWA similar to this:
[21/08/2024 | 18:07:54.034746] | {pid= 5908} | {tid= 3460} | :: | ITAPE282E File/Object C:\PrivateArk\Safes\Data\PVWAPrivateUserPrefs
oot\ZG9tbW9z.#000000000004574# not found. (Vault [CAMainVault] safe [PVWAPrivateUserPrefs] user [PVWAAppUser])
Entries similar to the following may also appear in the vault logs:-
2024-08-21 18:07:24.652 00004244 START PE 149810085 PVWAAppUser[00] ServiceName=GetFileBlockServSafeName=PVWAPrivateUserPrefsFileName=Root\ZG9tbW9z=OpenFileToken=3646D3465B3C85399F9B448744A1677AAD1DC2FD0FF428E10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303030303030303030303030303030000000000000000000000000000000000000303030303030303031343833353435000000000000000000000000000000000000DataBlockOffset=0DataBlockSize=5695RecordsPerSend=3932460UseDirectRead=NFileTable=000000001483545CheckVirus=0GetOptions=0
2024-08-21 18:07:24.662 00004240 END PE 149810084 PasswordMngCN1[00] ServiceName=FilesListSafeName=PasswordManagerSharedFileName=Root\Policies\History=NPrefered=NSubFolders=0FileTable=ShowDeletedFolders=NShowDeletedFiles=N OK - Output Size = 257770 Output Records Count = 348
2024-08-21 18:07:24.664 00004244 ITAPE282E File/Object C:\PrivateArk\Safes\Data\PVWAPrivateUserPrefs\root\ZG9tbW9z.#000000000004574# not found.
2024-08-21 18:07:24.664 00004244 END PE 149810085 PVWAAppUser[00] ServiceName=GetFileBlockServSafeName=PVWAPrivateUserPrefsFileName=Root\ZG9tbW9z=OpenFileToken=3646D3465B3C85399F9B448744A1677AAD1DC2FD0FF428E10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303030303030303030303030303030000000000000000000000000000000000000303030303030303031343833353435000000000000000000000000000000000000DataBlockOffset=0DataBlockSize=5695RecordsPerSend=3932460UseDirectRead=NFileTable=000000001483545CheckVirus=0GetOptions=0 ERR ITAPE282E File/Object C:\PrivateArk\Safes\Data\PVWAPrivateUserPrefs\root\ZG9tbW9z.#000000000004574# not found.
Output Size = 0 Output Records Count = 0
Environment
11.5;12.2;12.6;13.0;13.2;14.0;14.2 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
Password Vault Web Access
Cause
The user preference file version expected by PVWA is not present in the vault.
Resolution
This can be resolved by one of the following methods:-
- Restore the file from a backup back into the C:\PrivateArk\Safes\Data\PVWAPrivateUserPrefs\root folder
- If a DR vault is present in the environment, find the file in the directory as above and copy across to the primary vault
- Find a file with the same name but with a different number as the extension in C:\PrivateArk\Safes\Data\PVWAPrivateUserPrefs\root and rename it to the missing one.
(i.e. if the missing file is ZG9tbW9z.#000000000004574# and a file named ZG9tbW9z.#000000000004573# is present, rename it)
- If a similar named file is not present, copy another existing file and rename it to the same as the missing one.
(PLEASE NOTE: this last step is a last resort and may not work. As it is a user preference file, please check its content to ensure no sensitive information is present. If possible find a file that contains little or no custom configurations. Strip out any unnecessary entries. This of course will result in the affected user going back to a default or minimal set of preferences.)