Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 388
  • Last Modified:

How do I do a net share command from a server to list all shares and ACL on a server?

Something got corrupt on a server and now we have to restore from a backup. However, because there are shares on this server, I have to make the comparison from the current state and the restored server. How do I run a command that will give me what shares are on this server and ACL?
0
5itface
Asked:
5itface
1 Solution
 
Emmanuel AdebayoCommented:
You can use net share and icacls command

At the command prompt on the server enter net share
After you get the list of shares, you can now use icacls for each share to list the permission.

Let me know if you need more assistance.

Regards
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now