Get Folder and Share Permissions

Hi All,

I've been asked to setup DFS.  As part of the process I would like to re-jig the folder structure as currently its a bit of a mess.

Does anyone have a script or free utility that will loop through a folder and it's sub folders exporting the NTSF and Share permissions to a CSV file?

I found this Powershell link, but was unable to get it to work.
LVL 2
detox1978Asked:
Who is Participating?
 
Krzysztof PytkoConnect With a Mentor Senior Active Directory EngineerCommented:
Try with free AccessEnum and ShareEnum
http://technet.microsoft.com/en-us/sysinternals/bb897332.aspx
http://technet.microsoft.com/en-us/sysinternals/bb897442.aspx

for DFS links you can simply use cacls command

Go to server where DFS namespaces are stored and type
c:\
cd\
cd DFSRoots
cd <NameSpace>
cacls <DFSLink> >c:\link.log

Regards,
Krzysztof
0
 
XaelianConnect With a Mentor Commented:
Hi,

I use for this 2 scripts.

1 for an audit of NTFS permissions and 1 for an audit of Share permissions.

NTFS:
http://jfrmilner.wordpress.com/2011/05/01/audit-ntfs-permissions-powershell-script/

Share:
http://jfrmilner.wordpress.com/2011/05/02/audit-share-permissions-powershell-script/

Scripts are found in this post + also the way to use it in Powershell.
0
 
detox1978Author Commented:
Used the system internals one.  thanks for the suggestions.
0
 
Krzysztof PytkoSenior Active Directory EngineerCommented:
You're welcome :)

Krzysztof
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.