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

Re: retrieving share permissions in NT (Urgent) by Jerold

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

Re: retrieving share permissions in NT (Urgent) by sd_haf

sd_haf
Thu Mar 16 06:51:11 CST 2006

I have to get the permissions in a text doc by running the text or
script on the same NT machine. Will SubinAcl runs on NT box

Please tell how to get the permissions onto the text file


Re: Re: retrieving share permissions in NT (Urgent) by Jerold

Jerold
Thu Mar 16 09:32:13 CST 2006

On 16 Mar 2006 04:51:11 -0800, "sd_haf" <hafeez.sd@gmail.com> wrote:

>I have to get the permissions in a text doc by running the text or
>script on the same NT machine. Will SubinAcl runs on NT box
>
>Please tell how to get the permissions onto the text file

Try it????

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com