Windows 7 How to find files+folders with access perm.not equal to owner?

pstein

Extraordinary Member
Joined
Mar 20, 2010
Messages
454
Assume I have a big directory tree.

1.) How can I find out all (non-inherited) access permissions of user unequal to the current owner?

2.) How can I find out all (non-inherited) access permissions of users which are unequal to "Administrators" and "peter'?

3.) How can I find out all (non-inherited) access permissions of users which are equal to "foobar"'?

Peter
 

Last edited:
Solution
Powershell technically is running binary code. You can simply force garbage collection to keep memory usage down.

Regardless of how you do it data will be stored in memory and if you have extreme memory constraints you will need to write custom code or script to keep from exhausting memory.

How much memory do you have and how many objects are you processing?

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,998
You could accomplish this pretty easily with Powershell from the Get-ACL cmdlet. I can write some examples when I have some time later today.
 

pstein

Extraordinary Member
Joined
Mar 20, 2010
Messages
454
Nice suggestion. Thank you

Unfortunately I have out-of-memory problems when running Powershell scripts over huge directory trees.

So I would prefer a binary tool
 

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,998
Powershell technically is running binary code. You can simply force garbage collection to keep memory usage down.

Regardless of how you do it data will be stored in memory and if you have extreme memory constraints you will need to write custom code or script to keep from exhausting memory.

How much memory do you have and how many objects are you processing?
 

Solution

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,998
You wouldn't run out of memory then and even then you can add explicated memory clean up code.
 

Back
Top