?
Solved

WMI Class for NTFS Shares Permissions

Posted on 2009-04-29
3
Medium Priority
?
603 Views
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.

Thanks
0
Comment
Question by:ansa45
  • 2
3 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 24273518
I believe that should be Win32_SecurityDescriptor.

Example:

Create Share and setup Share Permissions
http://cwashington.netreach.net/depo/view.asp?Index=1068
0
 

Accepted Solution

by:
ansa45 earned 0 total points
ID: 24299403
TheLearnedOne...

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.
0
 
LVL 96

Expert Comment

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

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

750 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