locked
Ghost Unknown accounts RRS feed

  • Question

  • If I right click on a folder on our server and go to permissions to view who has rights to the folder many of our folders have these “unknown accounts”.  I wish I could put a picture in.  They all do not have an icon of a user and just have a string instead of a account name.  It appears all start with         s-1-5-21- and then a long line of numbers. 

    I a fairly sure I know what it is.  When a user leaves our company they are removed from the domain.  Now that account still shows in the ntfs permissions but there is no name so it is just displaying the SID for the account that no longer exists. 

    Well I have been asked to clean up the server and remove these ghost accounts.

    There must be a simple batch or vbs script that can do this or even a simple way through the GUI.

    If it the way involves through a batch or VBS I would like to be able to see the changes fist if possible.

     

    Thanks in advance.

    Monday, August 24, 2009 8:04 PM

Answers

All replies