Link to home
Start Free TrialLog in
Avatar of ThermoPort
ThermoPortFlag for United States of America

asked on

Rights with Windows Folders

Hi, I was wandering if anyone knew of any software that I could use to export network folders with the permissions with them.
Avatar of tmx84
tmx84
Flag of United States of America image

You can use robocoy with /MIR switch, which will Mirror folder permissions... Here is an article that goes into more detail about files...

http://blogs.technet.com/b/filecab/archive/2008/07/31/robocopy-mir-switch-mirroring-file-permissions.aspx
Avatar of ThermoPort

ASKER

This is for copying files, what I need is something to export the persmissions for each folder on your network. I have to do audit and I don't want to  look at 1000's folders for the permissions for each one.

Here is an example:

Name of folder: Payroll 2013
Users or Group permissions:
     Payroll group
     Bill Smith
     Art South
     Admin Group
Avatar of Will Szymkowski
You can get this done very easily using Powershell. Use the following syntax below...

get-ChildItem -path "\\servername\share\directory" -recurse -Exclude *.* | get-acl | Select Path, Owner, Group, Access | out-file "c:\directoryPerms.csv"

Open in new window


I would also recommend Active  Directory Permissions Analyzer.

Solar Winds Active Directory Permissions Analyzer

Will.
Ok, so you're not trying to copy files over, you are wanting to export the actual permissions to like a CSV file?

I've never used this script, but here is an idea..

http://community.spiceworks.com/scripts/show/1070-export-folder-permissions-to-csv-file

Then, i have used a program called TreeSize, that will display the permissions for all folders as well, but it's typically all done on one line for each folder/file..
ASKER CERTIFIED SOLUTION
Avatar of Biniek
Biniek
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am trying DumpSec which I forgot I had and I am also downloading SolarWinds to try that too.
ThermoPort, You have tested DumpSec and what Your feeling ?

What kind of result will be well-satisfied for You ?
CACLS or ICACLS.
These are the command line tools for manipulating ACLs (Access Control Lists) on Windows.
Just run them without any argument to display some help message.


But are you interested in Network SHARES permissions or Folder permissions, or both?

This script may be useful too:
http://gallery.technet.microsoft.com/scriptcenter/Lists-all-the-shared-5ebb395a
DumpSec is working out to be the best solvation. I want to say Thank you to all the input I received on this issue. It was great