Jerold
Thu Mar 16 06:42:29 CST 2006
On 15 Mar 2006 21:56:29 -0800, "sd_haf" <hafeez.sd@gmail.com> wrote:
>hi all,
> I need some help in writing a script which can retrieve share
>permissions of a folder. This will run on NT machine so i cannot use
>WMI service. AdsSecurity is not helpful in dealing with share
>permissions.
>
>Can anyone give some other idea of doing this.
>
>Any Script on this can do more good to me
You can use the run method to execute SubInACL, tip 8530 » Corrected version of SubInAcl.
in the 'Tips & Tricks' at
http://www.jsifaq.com
subinacl /nostatistic /share \\computer\share
You can use the run method to execute 6353 » RMTShare.exe is in the public domain.
rmtShare \\computer\share
will return permissions.
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com