Lesson 8: Monitoring Access to Shared Folders

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

  • Identify the tool included with Windows 2000 to monitor access to network resources and to send administrative messages
  • Identify who can monitor access to network resources
  • Determine the shared folders on a computer
  • Monitor shared folders
  • Monitor open files
  • Disconnect users from one or all open files

Estimated lesson time: 20 minutes


Why Monitor Network Resources?

Some of the reasons it is important to assess and manage network resources are the following:

  • Maintenance. You should determine which users are currently using a resource so that you can notify them before making the resource temporarily or permanently unavailable.
  • Security. You should monitor user access to resources that are confidential or need to be secure to verify that only authorized users are accessing them.
  • Planning. You should determine which resources are being used and how much they are being used so that you can plan for future system growth.

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.

Network Resource Monitoring Requirements

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

Monitoring Access to Shared Folders

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.

Determining How Many Users Can Access a Shared Folder Concurrently

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.

Modifying Shared Folder Properties

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.

Monitoring Open Files

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.

Disconnecting Users from Open Files

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:

  • Disconnecting all users from all open files. To disconnect all users from all open files, in the Shared Folders snap-in console tree, click Open Files, and then on the Action menu, click Disconnect All Open Files.
  • Disconnecting all users from one open file. To disconnect users from one open file, in the Shared Folders snap-in console tree, click Open Files. In the details pane select the open file, and then on the Action menu, click Close Open File.

CAUTION


Disconnecting users from open files can result in data loss.

Sending Console Messages

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:

  1. Click the Shared Folders snap-in, click the Action menu, select All Tasks, and then click Send Console Message.
  2. In the Send Console Message dialog box, type the message you want to send to users in the Message box.
  3. Select the computer name that will receive the message in the Recipients box, and then click Send.

    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.

Practice: Managing Shared Folders

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.

Exercise 1: View the Shared Folders on Your Computer

In this exercise, you will determine which folders on your computer are shared.

  1. Click Start, point to Programs, point to Administrative Tools, and then click Computer Management.
  2. In the console tree of Computer Management, expand System Tools, and then expand Shared Folders.
  3. In the console tree, click Shares under Shared Folders.

    Notice that the details pane shows a list of the existing Shared Folders on your computer.

Exercise 2: View the Open Files on Your Computer

In this exercise, you will determine which shared files on your computer are currently being used by someone else.

  1. In the console tree, click Open Files under Shared Folders.

    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.

Exercise 3: Disconnect All Users from Open Files on Your Computer

In this exercise, you will disconnect anyone currently using a shared file on your computer.

  1. In the console tree, select Open Files under Shared Folders, and then click Disconnect All Open Files on the Action menu.

    If you are not on a network, there will not be any open files to disconnect.

  2. Close Computer Management.

Lesson Summary

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.



MCSE Training Kit(c) Microsoft Windows 2000 Accelerated 2000
MCSE Training Kit(c) Microsoft Windows 2000 Accelerated 2000
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 244

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net