Scripting Share Permissions

From: Bruce Pettus (bruce.pettus_at_disney.com)
Date: 09/02/04


Date: Wed, 1 Sep 2004 16:59:18 -0700

How can I list share permissions via command line
utility, WMI or any other built-in non-GUI OS
functionality for Windows 2000 and 2003?

I need to enumerate all existing shares and who has
permissions on those shares so I can migrate them from
server to server.



Relevant Pages

  • Re: removing user from domain users group doesnt help
    ... What I would do is to give that global group deny access this computer from ... only access shares on that server. ... give that group deny permissions for other shares on that server. ...
    (microsoft.public.windows.server.security)
  • Re: Domain Controller Not Sharing, Workgroup Inaccessible - Please Help :)
    ... permissions). ... The server has stopped sharing properly. ... All shares are visible using a 'net share' command, ... I.e, under Explorer from a client, you can go to the ...
    (microsoft.public.windows.server.general)
  • Re: VBScript to audit shares and share permissions
    ... You can also use SRVCHECK tool included in Windows Server Resources Kit. ... A simple script will allow you to scan all your network. ... see all shares. ... VBScript to audit shares and share permissions ...
    (Focus-Microsoft)
  • Re: Auditing a Domain from a Guest Account
    ... In NT4 Guests can enumerate users & groups and shares, ... NTFS permissions usually not; you can only enumerate what you can ... Am I nuts for even entertaining the notion that a guest account ...
    (comp.os.ms-windows.nt.admin.security)
  • Re: Read Only Shares
    ... all new shares on the SBS server will be "read only" ... why this would be affected joining the Win2K3 server to the domain. ... You have two types of permissions and both need to be set properly to gain ... Security Permissions ...
    (microsoft.public.windows.server.sbs)