I need to collect the NTFS directory permission

D

David Chow

Dear,

Is there any good method for me to collect the Driectory Permission or I
spot a user to get the effective right on the Server HDD? Windows 2000
Server SP4. Thanks!

-david
 
P

Pegasus \(MVP\)

David Chow said:
Dear,

Is there any good method for me to collect the Driectory Permission or I
spot a user to get the effective right on the Server HDD? Windows 2000
Server SP4. Thanks!

-david


You could run this command from the Command Prompt:

cacls /t d:\SomeShare\*.xls /t > c:\Permissions.txt
 
Ø

Øp«r

thanks very much! I will try this!

-david

Pegasus (MVP) said:
or


You could run this command from the Command Prompt:

cacls /t d:\SomeShare\*.xls /t > c:\Permissions.txt
 
P

Pegasus \(MVP\)

Try this:

@echo off
if exist c:\permissions.txt del c:\permissions.txt
for /F "tokens=*" %%* in ('dir /s /ad /b d:\Shares') do cacls "%%*" >>
c:\permissions.txt
 
M

Michael Bednarek

Is there any good method for me to collect the Driectory Permission or I
spot a user to get the effective right on the Server HDD? Windows 2000
Server SP4. Thanks!

Try AccessEnum by Bryce Cogswell (Sysinternals).
 
D

David Chow

thanks very much!!

-david

Pegasus (MVP) said:
Try this:

@echo off
if exist c:\permissions.txt del c:\permissions.txt
for /F "tokens=*" %%* in ('dir /s /ad /b d:\Shares') do cacls "%%*" >>
c:\permissions.txt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top