WMI Class for NTFS Shares Permissions

Posted on 2009-04-29
Last Modified: 2013-12-17
Does anyone know the WMI Class that can get NTFS Shares and permissions on a computer where I can run the script on?  I know the Win32_Share class will get me all the shares, but it doesn't pick up the permissions on that share.

Question by:ansa45
    LVL 96

    Expert Comment

    by:Bob Learned
    I believe that should be Win32_SecurityDescriptor.


    Create Share and setup Share Permissions

    Accepted Solution


    Thanks for the information.  Unfortunetly, that class didn't work.  However, I did find some other .Net classes I could use my in my application that worked.  I'm still using the WMI class Win32_Share to get my shared, but .Net classes to get the permissions.

    Thank you though.
    LVL 96

    Expert Comment

    by:Bob Learned
    It would be nice to know how you got it solved.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now