View information about shared resources

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To view information about shared resources

  • Using Shared Folders

  • Using a command line

Using Shared Folders

  1. Open Computer Management.

  2. In the console tree, click one of the following folders:

    • To view information about the shared resources on the selected computer, click Shares.

    • To view information about open sessions, click Sessions.

    • To view information about open files, click Open Files.

    Where?

    • Computer Management/System Tools/Shared Folders/Shares, Sessions, Open Files

Note

  • To open Computer Management, click Start, click Control Panel, double-click Administrative Tools, and then double-click Computer Management.

Using a command line

  1. Open Command Prompt.

  2. Type one of the following:

    net share

    net session

    net file

Value Description

net share

Displays information about all shared resources on the local computer.

net session

Displays information about all open sessions between the local computer and other computers on the network.

net file

Displays information about all open files on shared resources.

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • To view the complete syntax for these commands, at the command prompt, type one of the following:

    net help share

    net help session

    net help file

Notes

  • You must be logged on as a member of the Administrators group, Server Operators group, or Power Users group to complete this procedure. If your computer is connected to a network, network policy settings might also prevent you from completing this procedure.

  • When you administer another computer remotely, your connection appears as an open named pipe. It cannot be closed.

  • Only files that are open on the selected computer are visible.

  • For information about how to connect to another computer, see Related Topics.

  • File sharing options may be limited if simple file sharing is enabled. For more information about simple file sharing, see article Q304040, "Description of File Sharing and Permissions in Windows XP," in the Microsoft Knowledge Base.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Shared Folders overview Microsoft Management Console Connect to another computer

Other Resources

Net share Net session Net file Send a console message to all connected computers Send a console message to a computer that you are managing