Hi,
Trying to comply with some SOX stuff.
I need to come up with a list of shared folders, users or groups, and rights.
I can get the list of shared objects using objWMIService.ExecQuery("Select *
from win32_Share"). This generates a list of shared objects on our 2000 or
above computers. It's a start.
Is there anything generic to both NT and 2000+ ?
Also how would I take the "objShare's" in the query and get the list of
users and rights?
Thanks for any help.
Vance

Re: VBS to list groups/users and authorities on a shared folder by Torgeir

Torgeir
Mon Mar 14 10:03:00 CST 2005

vholt wrote:

> Hi,
> Trying to comply with some SOX stuff.
> I need to come up with a list of shared folders, users or groups, and rights.
> I can get the list of shared objects using objWMIService.ExecQuery("Select *
> from win32_Share"). This generates a list of shared objects on our 2000 or
> above computers. It's a start.
> Is there anything generic to both NT and 2000+ ?
> Also how would I take the "objShare's" in the query and get the list of
> users and rights?
> Thanks for any help.
> Vance
Hi

This one might be an option:

DumpSec (formerly known as DumpAcl)
Free, has command line interface as well
http://www.somarsoft.com/


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx