Question : List Share & ntfs permissions command line

Command line that will list me all the shares on PC is

net share

How can I find out what share and ntfs permissions are set for a particular share?

I need this to be done with command line, OS XP/2003.

Thanks,
Goran

Answer : List Share & ntfs permissions command line

I think ShareEnum from Systernals is what you need:

http://technet.microsoft.com/en-us/sysinternals/bb897442.aspx

An aspect of Windows NT/2000/XP network security that's often overlooked is file shares. A common security flaw occurs when users define file shares with lax security, allowing unauthorized users to see sensitive files. There are no built-in tools to list shares viewable on a network and their security settings, but ShareEnum fills the void and allows you to lock down file shares in your network.

When you run ShareEnum it uses NetBIOS enumeration to scan all the computers within the domains accessible to it, showing file and print shares and their security settings. Because only a domain adminstrator has the ability to view all network resources, ShareEnum is most effective when you run it from a domain adminstrator account.

ShareEnum works on Windows NT/2000/XP.

Random Solutions  
 
programming4us programming4us