Jump to content

List NTFS Permissions


Recommended Posts

Posted

What is the best way for me to capture and report the NTFS permissions for

ONLY the folders in a file server?

 

RKM

  • Replies 1
  • Created
  • Last Reply

Popular Days

Guest Pegasus \(MVP\)
Posted

Re: List NTFS Permissions

 

 

"RKM" <RKM@hotmail.com> wrote in message

news:usfriQZeIHA.5208@TK2MSFTNGP04.phx.gbl...

> What is the best way for me to capture and report the NTFS permissions for

> ONLY the folders in a file server?

>

> RKM

>

 

You could run this batch file:

 

@echo off

dir /s /ad /b "d:\User Files" > c:\dir.tmp

if exist c:\cacls.txt del c:\cacls.txt

for /F "tokens=*" %%* in (c:\dir.tmp) do cacls "%%*" >> c:\cacls.txt

notepad c:\cacls.txt

del c:\dir.tmp


×
×
  • Create New...