Possible to get a listing of all folder permissions/access on Windows Server 2008 R2?

16,052

There is a blog post on how to audit NTFS Permissions with PowerShell. It will export all the info out into a CSV.

Share:
16,052

Related videos on Youtube

ProfessionalAmateur
Author by

ProfessionalAmateur

Updated on September 18, 2022

Comments

  • ProfessionalAmateur
    ProfessionalAmateur over 1 year

    We are migrating one of our legacy servers at work to a new data center (different domain, etc...). This server has a folder with MANY nested folders inside of it. Each of the nested folders may have different explicit permissions granted to different users. There are hundreds of folders.

    Is there a way I can get all the permissions in a report using PowerShell or something similar for all the folders & nested folders? Im looking for an easy-as-possible way to replicate the folder permissions or get some output where I can manually recreate it?

    Any ideas?

    • Giordano Ferrari
      Giordano Ferrari over 11 years
      Any reason you want to manually recreate folder permissions and not use ADMT? microsoft.com/en-us/download/details.aspx?id=8377
    • ProfessionalAmateur
      ProfessionalAmateur over 11 years
      I had not heard of ADMT before. Can it be selective with what it replicates (i.e. just this one folder and all it's children)?
    • Giordano Ferrari
      Giordano Ferrari over 11 years
      IIRC, you can just copy what folders you want over. ADMT will take care of the security translation. This way you're not manually recreating users, groups and permissions.
    • ProfessionalAmateur
      ProfessionalAmateur over 11 years
      Very cool. Ill have to read into it because we are coming from a different domain the user IDs may not match precisely but it's good to know this tool exists.
  • ProfessionalAmateur
    ProfessionalAmateur over 11 years
    Thanks, I ended up using this one, very similar but I only needed it for 1 folder on 1 server.