VB Script to check special permission for shared folders in different servers.
-
Tuesday, March 13, 2012 10:18 AM
Hello,
I need a VB script, that should check and display whether the shared folder in a server has a Special permission.
Only displaying Special permission is very helpful for me..
Please help me on this.
Thanks in advance
All Replies
-
Tuesday, March 13, 2012 10:46 AM
You could have a look at this script, just filter the output you get from this script to only list the special permissions:
http://gallery.technet.microsoft.com/scriptcenter/405a12f6-fb57-4078-92fc-ff495f3e98be
- Proposed As Answer by Richard MuellerMVP, Moderator Saturday, March 17, 2012 8:12 PM
- Marked As Answer by Richard MuellerMVP, Moderator Tuesday, March 20, 2012 3:27 PM
-
Tuesday, March 13, 2012 11:17 AM
I always use Xcacls to look at file permissions. Something like
strcommand = "c:\xcacls.exe \\server\path"
Set objWshScriptExec = objShell.Exec(strcommand)
Set objStdOut = objWshScriptExec.StdOutDo Until objStdOut.AtEndOfStream
Put scripting for testing the output.
Loop
- Proposed As Answer by Richard MuellerMVP, Moderator Saturday, March 17, 2012 8:12 PM
- Marked As Answer by Richard MuellerMVP, Moderator Tuesday, March 20, 2012 3:27 PM

