Networking Forums

Networking Forums > Computer Networking > Windows Networking > Enumerate shares and permissions

Reply
Thread Tools Display Modes

Enumerate shares and permissions

 
 
=?Utf-8?B?ZmNydXNvbg==?=
Guest
Posts: n/a

 
      04-01-2005, 10:11 PM
I need to document shares and there permissions (groups and users) that have
access on my servers. I was seeing if we can use WMI to collect this
information on several servers?
 
Reply With Quote
 
 
 
 
Todd J Heron
Guest
Posts: n/a

 
      04-02-2005, 12:43 AM
"fcruson" <(E-Mail Removed)> wrote in message
news:95DF3D7D-3699-453E-AE10-(E-Mail Removed)...
>I need to document shares and there permissions (groups and users) that
>have
>access on my servers. I was seeing if we can use WMI to collect this
>information on several servers?


1) Ideal Migration can export all the shared folders and permissions into
..csv files). It is downloadable at http://www.pointdev.com. Click Databases
> Shares, export into a Microsoft

Access database. This will list all shared folders and permissions in the
domain.

2) If you have Hyena (www.systemtools.com), this can be done in a couple of
different ways:

- In Hyena, right click on the Shares object for a server and select View
All Access Rights. This will display of all shares and their rights. Sort
on the access right column. This can be exported into Access or
Control-A/Control-C to export into Excel.

- For many computers at once, use the File->Export option to export the
shares and their permissions to a text file. Then use the Exporter utility
which is a free separate component to Hyena.

If you have any questions, Hyena offers free support
((E-Mail Removed))

3) See tip 6353 in the 'Tips & Tricks' at http://www.jsiinc.com

--
Todd J Heron, MCSE
Windows Server 2003/2000/NT; CCA
----------------------------------------------------------------------------
This posting is provided "as is" with no warranties and confers no rights

 
Reply With Quote
 
Herb Martin
Guest
Posts: n/a

 
      04-02-2005, 02:11 AM
"fcruson" <(E-Mail Removed)> wrote in message
news:95DF3D7D-3699-453E-AE10-(E-Mail Removed)...
> I need to document shares and there permissions (groups and users) that

have
> access on my servers. I was seeing if we can use WMI to collect this
> information on several servers?


Todd gave you some commercial solutions.

A simple batch file (run as a Startup) script could
do something like the following:

(First create a Computer$ share on your "CentralServer".)

net share >\\CentralServer\Computers$\%computername%_shares. txt


A Perl or other script could then run through the list and format
it however you wish, e.g., for Excel etc.



 
Reply With Quote
 
=?Utf-8?B?ZmNydXNvbg==?=
Guest
Posts: n/a

 
      04-04-2005, 07:11 PM
Thank you for the idea,
I do not know how to get the needed information using Perl, I looked into
cscript and jscript with no luck. Would you have an example?

"Herb Martin" wrote:

> "fcruson" <(E-Mail Removed)> wrote in message
> news:95DF3D7D-3699-453E-AE10-(E-Mail Removed)...
> > I need to document shares and there permissions (groups and users) that

> have
> > access on my servers. I was seeing if we can use WMI to collect this
> > information on several servers?

>
> Todd gave you some commercial solutions.
>
> A simple batch file (run as a Startup) script could
> do something like the following:
>
> (First create a Computer$ share on your "CentralServer".)
>
> net share >\\CentralServer\Computers$\%computername%_shares. txt
>
>
> A Perl or other script could then run through the list and format
> it however you wish, e.g., for Excel etc.
>
>
>
>

 
Reply With Quote
 
Herb Martin
Guest
Posts: n/a

 
      04-05-2005, 02:20 AM
"fcruson" <(E-Mail Removed)> wrote in message
news:88519631-FA97-4CD2-9855-(E-Mail Removed)...
> Thank you for the idea,
> I do not know how to get the needed information using Perl, I looked into
> cscript and jscript with no luck. Would you have an example?


It can be done with "any" available programming language
but Perl is ideally suited for such parsing and text conversion
work -- if you know someone who can help.

I don't have time to do it this week since I am teaching but I
might be able to write a PARTIAL example next week if you
remind me (and think you will benefit from a quick incomplete
example.)

> > "fcruson" <(E-Mail Removed)> wrote in message
> > news:95DF3D7D-3699-453E-AE10-(E-Mail Removed)...
> > > I need to document shares and there permissions (groups and users)

that
> > have
> > > access on my servers. I was seeing if we can use WMI to collect this
> > > information on several servers?

> >
> > Todd gave you some commercial solutions.
> >
> > A simple batch file (run as a Startup) script could
> > do something like the following:
> >
> > (First create a Computer$ share on your "CentralServer".)
> >
> > net share >\\CentralServer\Computers$\%computername%_shares. txt
> >
> >
> > A Perl or other script could then run through the list and format
> > it however you wish, e.g., for Excel etc.
> >
> >
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba shares keep reverting permissions and ownership Mark Adams Linux Networking 0 05-09-2006 10:24 PM
NLB : how to enumerate connections guru perplexe Windows Networking 0 10-06-2005 12:47 PM
Problems with shares and permissions Josh Windows Networking 1 03-16-2005 03:41 PM
SMB shares with Linspire / WinXP permissions stefanj Linux Networking 1 03-09-2005 10:55 PM
Need to enumerate user accts. on our domains Clayton Sutton Windows Networking 2 01-11-2005 05:00 PM



1 2 3 4 5 6 7 8 9 10 11