Deleting Shadow Profile User

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Deleting Shadow Profile User

L1 Bithead

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?

 

 

 

1 accepted solution

Accepted Solutions

L6 Presenter

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

 

Field_Content_versions_oct20__068Ht00000UMzbNIAT.png 

Nino

View solution in original post

5 REPLIES 5

L6 Presenter

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

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 '-' .

Hi @Yudrie Bin Jalil​,

 

tomorrow I will to test the configuration in my lab.

 

Nino

 

L6 Presenter

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

 

Field_Content_versions_oct20__068Ht00000UMzbNIAT.png 

Nino

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.

  • 1 accepted solution
  • 1426 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!