Solved

CMD to list Security Groups assigned to a share folder

Posted on 2016-09-22
6
62 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
  • 3
  • 2
6 Comments
 
LVL 53

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 53

Accepted Solution

by:
McKnife earned 500 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 53

Expert Comment

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

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

910 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

22 Experts available now in Live!

Get 1:1 Help Now