Announcement

Collapse
No announcement yet.

Determining Orphaned Home Folders

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Determining Orphaned Home Folders

    Hi All,

    I have a file server that contains the Home folders for users in one of our OU's. Each home folder has the same name as the users logon name, at least in theory. In fact, I have folders that dont match up with existing user ID's. So I need to determine which folders have been "orphaned", ie the folder exists but doesnt match up with any existing ID. Is there a report I can setup in Hyena to provide me information like this or does anyone have any suggestions?

    Cheers!

  • #2
    Re: Determining Orphaned Home Folders

    Go to Tools->Settings->View and check the box to Check if shares contain subdirectories in Tree View. Then find the server, expand it and expand Shares. The shares that no longer have the directory will show with a greyed out icon.

    Comment


    • #3
      Re: Determining Orphaned Home Folders

      Hmmm... Thats not exactly what Im looking for. I think what you are saying would help if the server has shares but no associated folders and you need to remove them. In my case, I have shares with associated folders, but the user ID that would be accessing it is no longer in the Active Directory, basically no one thought to remove the users home folder when they left the company. I need to figure out which of these folders can be safely removed ,or at least investigated more closely. If I take the complete list of folder names and then compare it to the AD, then those that dont match up to an actual user name are the folders I need to check. I hope I am making this clear. At any rate, thanks for the reply.

      Comment


      • #4
        Re: Determining Orphaned Home Folders

        Actually you spelled that out pretty well in the first post, I just didn't catch it.

        I can't see much way for Hyena to help you with that one. The only thought I have would be to dump a list of all the directory names, then a user list, and pull both into two different tables in an Access database. In Access you can join the two tables and have it show you the lines that don't match.

        I'm sure you'll have to spend some time doctoring up the files beforehand, but may be easier in the end trying to figure out which are no longer needed.

        Comment


        • #5
          Re: Determining Orphaned Home Folders

          Thats a thought. I guess the only thing with that will be that there are quite a number of accounts in the AD that are ony used as a service account or somesuch, and therefore wouldnt have a corresponding Home folder. This would increase the number of folders that dont match. It just occurred to me that I can get NTFS permission information from folders on a server. Folders that dont have an ID associated with them would probably have "Account Information Not Available" or just the SID of the account listed in the permissions. Those would definitely be folders I would want to look at. Can I do a report that shows folders that would have unknown account information displayed in the permissions?

          Comment

          Working...
          X