Server Share Check (SrvCheck) is a command-line tool that lists nonhidden shares on a computer and enumerates the access control lists (ACLs) for each share.
1.1.1 Corresponding Operating System Features
The operating system provides no GUI functionality that corresponds to this tool.
1.1.2 Concepts
The ACL is a list associated with a file or a resource that contains information about the users or groups that have permissions to access a resource or modify the file.
1.2 System Requirements
The following are the system requirements for this tool:
· Windows 2000, Windows XP Professional, or Windows Server 2003 operating system
1.2.1 File Required
· Srvchk.exe
1.3 SrvCheck Remarks
1.3.1 Share Permissions
Sharing is initiated from the Properties menu of the object. A shared resource refers to any resource that is made available to network users, such as directories, files, printers, and named pipes.
Share permissions are used to restrict the availability of a shared resource over the network to specific users.
Permissions available:
1. No Access
2. Read: read files and execute programs
3. Change: read, execute, modify, and delete items
4. Full Control
Administrative shares are created for maintenance and support issues. They are hidden shares and cannot be unshared. Deleting administrative shares can cause the system to crash, and/or not participate in browsing or other network activities.
1.4 SrvCheck Syntax
Srvcheck uses the following syntax:
srvcheck [\\ComputerName] [/?]
Parameters
\\ComputerName
Indicates the computer on which to run SrvCheck. If not specified, the default is the local computer.
/?
Displays command-line usage.
1.5 SrvCheck Examples
Example: Enumerate the ACL for a Share
To enumerate the ACL for a share, type the following at the command line.
srvcheck \\aseanl-test1
Press ENTER. Output similar to the following is displayed:
\\aseanl-test1\latestbuild$ Everyone ReadC:\Documents and Settings\Administrator>