- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-05-2024 05:10 PM
Hi CyberArkers,
1) When user is in a Session, and the configuration for deleting Shadow Profile user is running, will it affect the current session user is in or Administrator manually delete the profile on PSM? eg. Will user be kicked out?
2) For the Shadow Profile user, the deletion will delete the user from Users and Groups OR it will delete the Shadow profile user folder in C:\ Drive?
3) Any recommended best practise for housekeeping the shadow profile user?
We are having any issue where user A logins to PVWA. Connects to a web URL, but was not redirected to the next URL after authentication. User B logins to PVWA, and he was able to be redirected to the next URL after authentication. Both are connecting using the same platform and Safe. And what we did, we narrow down the issue to be probably related to the User account, we deleted the shadow profile in PSM (Users and Groups) , restarted PSM service and it resolved the issue. Any possibilities that this issue could be related to the browser cache issue?
03-09-2024 03:32 AM
Hi @Yudrie Bin Jalil,
I reproduced the environment in my laboratory with following values.
CleanupInterval = 1 (in hours)
CleanupFolders = - (Entire profile deleted)
The cleanup process deleted the directory (C:\Users\PSM-0200000000000000), user account, and profile keys
Nino
03-05-2024 11:55 PM
Hi @Yudrie Bin Jalil,
1) If the Shadows User files are busy they cannot be deleted
2) Only the data on the disk is deleted
3) Perform the activity outside business hours or in agreement with the end user
If the PSM has not been hardened, the user may have stored something that prevents correct operation. To clean the Shadows User it is not necessary to restart the PSM service
Nino
03-06-2024 01:45 AM
Hi Nino,
Thank you for the reply. For point 2 , when you refer to the only the data on the disk is deleted, you are referring to the User folder in C:\ drive?
And if yes, then most probably the shadow profile is not deleted on the Users and groups. We were thinking to set the "CleanupFolders" to the value of '-' .
03-06-2024 08:05 AM
Hi @Yudrie Bin Jalil,
tomorrow I will to test the configuration in my lab.
Nino
03-09-2024 03:32 AM
Hi @Yudrie Bin Jalil,
I reproduced the environment in my laboratory with following values.
CleanupInterval = 1 (in hours)
CleanupFolders = - (Entire profile deleted)
The cleanup process deleted the directory (C:\Users\PSM-0200000000000000), user account, and profile keys
Nino
03-11-2024 06:31 PM
HI Nino,
Thanks a lot for the testing done. Most probably we will configure the cleanupinterval to either 3 or 6 and set to '-' value.
Just to ask.. For suspected corrupted shadow profile users, what would be the best advice for cleanup on a daily basis..? for eg. lower the threshold, cleanupinterval and setting parameter value to '-' . We suspected that the shadow profile could be corrupted( But I cant confirm as the logs not showing anything). We cleared the shadow profile and it was resolved.
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!

