Windows 2000 includes the Shared Folders snap-in so that you can easily monitor access to network resources and send administrative messages to users. You monitor access to network resources to assess and manage current usage on network servers.
After this lesson, you will be able to
Estimated lesson time: 20 minutes
Some of the reasons it is important to assess and manage network resources are the following:
Microsoft Windows 2000 includes the Shared Folders snap-in so that you can easily monitor access to network resources and send administrative messages to users. The Shared Folders snap-in is preconfigured in the Computer Management console, allowing you to monitor resources on the local computer. If you add the Shared Folders snap-in to an MMC, you can specify whether you want to monitor the resources on the local computer or a remote computer.
Not all users can monitor access to network resources. Table 19.10 lists the group membership requirements for monitoring access to network resources.
Table 19.10 Groups that Can Access Network Resources
A member of these groups | Can monitor |
---|---|
Administrators or Server Operators for the domain | All computers in the domain |
Administrators or Power Users for a member server, stand-alone server, or computer running Microsoft Windows 2000 Professional | That computer |
You use the Shares folder in the Shared Folders snap-in to view a list of all shared folders on the computer and to determine how many users have a connection to each folder. In Figure 19.14, the Shares folder has been selected in the Computer Management console tree and all the shared folders on that computer are shown in the details pane.
Figure 19.14 The Shares folder of the Shared Folders snap-in
Table 19.11 explains the information provided in the details pane shown in Figure 19.14.
Table 19.11 Fields in the Details Pane for the Shares Folder
Column name | Description |
---|---|
Shared Folder | The name of the shared folders on the computer. |
Shared Path | The path to the shared folder. |
Type | The operating system that must be running on a computer so that it can be used to gain access to the shared folder. |
# Client Redirections | The number of clients who have made a remote connection to the shared folder. |
Comment | Descriptive text about the folder. This comment was provided when the folder was shared. |
NOTE
Windows 2000 does not update the list of shared folders, open files, and user sessions automatically. To update these lists, on the Action menu, click Refresh.
You can use the Shared Folders snap-in to determine the maximum number of users that are permitted to gain access to a folder. In the Shared Folders details pane, click the shared folder for which you want to determine the maximum number of concurrent users that can access the folder. On the Action menu, click Properties, and the Properties dialog box for the shared folder appears. The General tab shows you the user limit.
You can also use the Shared Folders snap-in to determine if the maximum number of users that are permitted to gain access to a folder has been reached. This is an easy way to troubleshoot connectivity problems. If a user cannot connect to a share, determine the number of connections to the share and the maximum connections allowed. If the maximum number of connections has already been made, the user cannot connect to the shared resource.
You can modify existing shared folders, including shared folder permissions, from the Shares folder. To change a shared folder's properties, click the shared folder, and then on the Action menu, click Properties. The General tab of the Properties dialog box shows you the share name, the path to the shared folder, and any comment that has been entered. The General tab also allows you to view and set a user limit for accessing the shared folder. The Security tab allows you to view and change the shared folders permissions.
Use the Open Files folder in the Shared Folders snap-in to view a list of open files that are located in shared folders and the users who have a current connection to each file (see Figure 19.15). You can use this information when you need to contact users to notify them that you are shutting down the system. Additionally, you can determine which users have a current connection and should be contacted when another user is trying to gain access to a file that is in use.
Figure 19.15 The Open Files folder of the Shared Folders snap-in
Table 19.12 describes the information that is available in the Open Files folder.
Table 19.12 Information Available in the Open Files Folder
Column name | Description |
---|---|
Open File | The name of the open files on the computer. |
Accessed By | The logon name of the user who has the file open. |
Type | The operating system running on the computer where the user is logged on. |
# Locks | The number of locks on the file. Programs can request the operating system to lock a file to gain exclusive access and prevent other programs from making changes to the file. |
Open Mode | The type of access that the user's application requested when it opened the file, such as Read or Write. |
You can disconnect users from one open file or from all open files. If you make changes to NTFS permissions for a file that is currently opened by a user, the new permissions will not affect the user until he or she closes and then attempts to reopen the file.
You can force these changes to take place immediately by doing either of the following:
CAUTION
Disconnecting users from open files can result in data loss.
To avoid data loss, you can send a message to some or all users who have an active session with the shared folders that you are managing.
Follow these steps to send a console message to a connected user:
If a user is logged on to more than one computer, only the computer that has its name in the recipient list will receive the message.
If any recipients do not successfully receive the message, you are returned to the Send Console Message dialog box. Recipients that did not successfully receive the message are the only computer names remaining in the list. You should check to see if the computer names are valid or if the computers are unavailable.
In this practice, you use the Shared Folders snap-in to view the shared folders and open files on your server. Then you disconnect all users from all open files.
In this exercise, you will determine which folders on your computer are shared.
Notice that the details pane shows a list of the existing Shared Folders on your computer.
In this exercise, you will determine which shared files on your computer are currently being used by someone else.
If you are working on a computer that is not connected to a network, there will not be any open files because the open files only show connections from a remote computer to a share on your computer.
In this exercise, you will disconnect anyone currently using a shared file on your computer.
If you are not on a network, there will not be any open files to disconnect.
In this lesson, you learned that Windows 2000 includes the Shared Folders snap-in so that you can monitor access to network resources. You can monitor resources on the local computer or on a remote computer. To monitor resources on a remote computer, you specify the computer on which you want to monitor resources when you add the Shared Folders snap-in to the MMC.
You also learned that you use the Shares folder in the Shared Folders snap-in to view a list of all shared folders on the computer and to determine how many users have a connection to each folder. The General tab of the Properties page for a shared folder shows you the user limit, or maximum number of users that can concurrently connect to that share. You use the Open Files folder in the Shared Folders snap-in to view a list of open files that are located in shared folders and the users who have a current connection to each file.
In the practice portion of this lesson, you viewed the shared folders, opened files on your server, and disconnected all users from all open files.