PVWA -Multiple 0kb pa*.tmp files in C:\Windows\Temp
Symptom
Multiple pa*.tmp files are being created in the C:\Windows\Temp directory of the PVWA.
Environment
12.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access
Password Vault Web Access
Cause
There are two possible causes of this:-
1. Old tmp files affecting cache re-validation/re-generation and creation of new ones
2. Broken user preferences files stored in a PVWAPrivateUserPrefs safe.
Resolution
Try the following
- Delete all the pa***. tmp files and restart IIS / PVWA
If you observe the tmp files are still growing / not getting deleted,:-
- Check the PVWA.App.Log for entries like the following:-
2024-11-12 03:27:26,170 || TRACE || 36 || user1 || FD34E || dc1196e3-d957-4511-b1f4-4995d23990e1 || IC002D Failed to load data from source Safe: PVWAPrivateUserPrefs Folder: Root File: dXNlcjE=. Reason: ITAPE281E Error while retrieving file (Code 15, 0, 0).
-
Check the timestamps of the .tmp files in the C:\Windwows\Temp directory to verify if they match with the timestamps of the PVWA.App.Log entries
- Log into the PrivateArk client
- Open the PVWAprivateuserprefs safe
- Find the file with the 'Root File' name mentioned in the log entry and delete it
- Repeat for each affected Root File