Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dump ACLs to a text file

Posted on 2006-07-18
5
Medium Priority
?
1,051 Views
Last Modified: 2012-05-05
I want to use WMI to list all the DACLs for a particular path and all of it's subfolders.  I don't want to have to enumerate the whole drive and then filter for what I want (that takes too long). How do I do a recursive/iterative listing of all the folder and subfolders on a Windows 2000/XP/2003 machine starting from a certain location. I also need this to work across a network connection and not just on the local computer (i.e. get the DACLs set on \\server\share\foldername or "server,c:\winnt" -- whichever way works).

DumpACL is not an option. I need it to work via a script.
0
Comment
Question by:victornegri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 41

Accepted Solution

by:
graye earned 2000 total points
ID: 17205637
Doing this with WMI would be a pig....

You can still write a script that uses external tools, so what's the problem?

I've got an entire application called List_ACLs that's written in VB.Net that does what you're asking for.  It records it's results to a Microsoft Access database.   You're welcome to look at the source code for inspiration/plagiarism

http://home.hot.rr.com/graye/AdminTools.htm
0
 

Expert Comment

by:kstech
ID: 36436244
0
 
LVL 41

Expert Comment

by:graye
ID: 36436363
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Simple Linear Regression

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question