Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CMD to list Security Groups assigned to a share folder

Posted on 2016-09-22
6
Medium Priority
?
242 Views
Last Modified: 2016-10-01
Hello,

I am looking to see how I can use a cmd to pull all security groups that are assigned to a share folder.

Thanks,

nimdatx
0
Comment
Question by:nimdatx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 56

Expert Comment

by:McKnife
ID: 41810994
On an elevated command prompt, type:
Net share sharename
0
 
LVL 1

Author Comment

by:nimdatx
ID: 41811382
ran a net share sharename and I get, "This shared resource does not exist". I am looking to get security groups assigned to a share on WIN2K8. Thanks.
0
 
LVL 32

Expert Comment

by:nappy_d
ID: 41811790
Please use icacls from the command line.

Here is reference document for this and you can pipe the output to a file.

https://technet.microsoft.com/en-us/library/cc753525(v=ws.11).aspx
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 56

Accepted Solution

by:
McKnife earned 2000 total points
ID: 41812105
Icacls does NOT list share permissions.
net share works here, look at this output:
net share brenner
Share name        Brenner
Path              E:\
Remark
Maximum users     No limit
Users
Caching           Manual caching of documents
Permission        Everyone, READ

The command completed successfully.

Open in new window


Maybe you missed that (of course!) you need to substitute "sharename" with the name of the share in question?
0
 
LVL 1

Author Comment

by:nimdatx
ID: 41812475
Do u have to use it on the file server with share or can it be done from my desktop?
0
 
LVL 56

Expert Comment

by:McKnife
ID: 41812478
On the server itself.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

705 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