Questions

Answer for:

Auditing file server

Message 7 of 7

View entire thread
+
0 Votes
trantanthoai

Hi All.
I am new comer. I'm from Viet Nam. I read your concern. I have a suggest. You can try!
1. You can use script follow: cscript.vbs at link: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0ad33a24-0616-473c-b103-c35bc2820bda&DisplayLang=en
2. After download file XCacls_Installer.exe and install this file. It will extract to file xcacls.vbs.
3. Change the default scripting engine from Wscript to Cscript (The Xcacls.vbs script works best in Cscript). To do this, type the following at a command prompt, and then press ENTER:

Cscript.exe /h:cscript

4. Enter follow command-line:
C:\>cscript xcacls.vbs "path directory or filename" /S /F /T >"filename.txt"
Note: save xcacls.vbs file at currency root directory.
Explain:
filename [Required] If used alone, it Displays ACLs.
(Filename can be a filename, directory name or
wildcard characters and can include the entire
path. If path is missing, its assumed to be
under the current directory.
Notes:
- Put filename in quotes if it has spaces or
special characters such as &, $, #, etc.
- If Filename is a directory, all files and
sub directories under it will NOT be changed
unless the /F or /S is present.

/F [Used with Directory or Wildcard] This will change all
files under the inputed directory but will NOT
traverse sub directories unless /T is also present.
If filename is a directory, and /F is not used, no
files will be touched.

/S [Used with Directory or Wildcard] This will change all
sub folders under the inputed directory but will NOT
traverse sub directories unless /T is also present.
If filename is a directory, and /S is not used, no
sub directories will be touched.

/T [Used only with a Directory] Traverses each
subdirectory and makes the same changes.
This switch will traverse directories only if the
filename is a directory or is using wildcards.

Hope that helps

Email:trantanthoai@gmail.com
www.thp.com.vn