<p/> <HEAD> </HEAD> <BODY BGCOLOR="#ffffff" TEXT="#000000"> <a class="libraryIndexlink" href="index.aspx?pid=31159&BookID=23931&PageIndex=115&Language=3">[Previous]</A> <a class="libraryIndexlink" href="index.aspx?pid=31159&BookID=23931&PageIndex=117&Language=3">[Next]</A><p/><A NAME="689"><H1>Lesson 2: Monitoring Access to Shared Folders</H1></A> <p/>You monitor access to shared folders to determine how many users currently have a connection to each folder. You can also monitor open files to determine which users are gaining access to the files, and you can disconnect users from one open file or from all open files.<p/><blockquote> <b>After this lesson, you will be able to</b> <ul> <p/><li>Determine the shared folders on a computer.</li><p/><li>Monitor shared folders.</li><p/><li>View and modify the properties of a shared folder.</li><p/><li>Monitor open files.</li><p/><li>Disconnect users from one or all open files.</li><p/></ul> <p/><b>Estimated lesson time: 15 minutes</b><p/></blockquote><p/><A NAME="690"><H2>Monitoring Shared Folders</H2></A> <p/>You use the Shares folder in either the Computer Management snap-in or 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 20.1, 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.<p/><A HREF="'F20tk01x')"> <img src="/image/library/english/10219_F20tk01.JPG" width=404 height=280 border=0 > </A> <p/><!-- caption --><b>Figure 20.1</b> <i>The Shares folder in the Computer Management window</i><!-- /caption --> <p/>Table 20.2 explains the information provided in the details pane shown in Figure 20.1.<p/><b>Table 20.2</b> <i>Information Available in the Shares Folder</i><p/><table valign="top" cellpadding="5" width="95%"> <tr> <th>Column name</th> <th>Description</th> </tr> <tr> <td valign="top">Shared Folder</td> <td valign="top">The shared folders on the computer. This is the name that was given to the folder when it was shared.</td> </tr> <tr> <td valign="top">Shared Path</td> <td valign="top">The path to the shared folder.</td> </tr> <tr> <td valign="top">Type</td> <td valign="top">The operating system that must be running on a computer so that it can be used to gain access to the shared folder.</td> </tr> <tr> <td valign="top"># Client Redirections</td> <td valign="top">The number of clients who have made a remote connection to the shared folder.</td> </tr> <tr> <td valign="top">Comment</td> <td valign="top">Descriptive text about the folder. This comment was provided when the folder was shared.</td> </tr> </table> <p/><blockquote><b>NOTE</b><HR>Microsoft Windows 2000 doesn't update the list of shared folders, open files, and user sessions automatically. To update these lists, on the Action menu, click Refresh.</blockquote><p/><A NAME="691"><H3>Determining How Many Users Can Access a Shared Folder Concurrently</H3></A> <p/>You can use the Computer Management snap-in or 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. In Windows 2000 Professional, the maximum is 10. However, you can set this to a lower value.<p/>You can also use the Computer Management snap-in or Shared Folders snap-in to determine whether the maximum number of users that are permitted to gain access to a folder has been reached. This is one quick and easy way to troubleshoot connectivity problems. If a user can't connect to a share, determine the number of connections to the share and the maximum connections allowed. If the maximum number of connections have already been made, the user can't connect to the shared resource.<p/><A NAME="692"><H3>Modifying Shared Folder Properties</H3></A> <p/>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.<p/><A NAME="693"><H2>Monitoring Open Files</H2></A> <p/>Use the Open Files folder in either the Computer Management snap-in or 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 20.2). 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.<p/><A HREF="'F20tk02x')"> <img src="/image/library/english/10219_F20tk02.JPG" width=404 height=235 border=0 > </A> <p/><!-- caption --><b>Figure 20.2</b> <i>The Open Files folder in the Computer Management window</i><!-- /caption --> <p/>Table 20.3 describes the information that is available in the Open Files folder.<p/><b>Table 20.3</b> <i>Information Available in the Open Files Folder</i><p/><table valign="top" cellpadding="5" width="95%"> <tr> <th>Column name</th> <th>Description</th> </tr> <tr> <td valign="top">Open File</td> <td valign="top">The name of the open file on the computer.</td> </tr> <tr> <td valign="top">Accessed By</td> <td valign="top">The logon name of the user who has the file open.</td> </tr> <tr> <td valign="top">Type</td> <td valign="top">The operating system running on the computer where the user is logged on.</td> </tr> <tr> <td valign="top"># Locks</td> <td valign="top">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.</td> </tr> <tr> <td valign="top">Open Mode</td> <td valign="top">The type of access that the user's application requested when it opened the file, such as Read or Write.</td> </tr> </table> <p/><A NAME="694"><H2>Disconnecting Users from Open Files</H2></A> <p/>You can disconnect users from one open file or from all open files. If you make changes to the Microsoft Windows 2000 File System (NTFS) permissions for a file that is currently opened by a user, the new permissions won't affect the user until he or she closes and then attempts to reopen the file.<p/>You can force these changes to take place immediately by doing either of the following:<p/><ul> <p/><li>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.</li><p/><li>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.</li><p/></ul> <p/><blockquote> <b>CAUTION</b><hr>Disconnecting users from open files can result in data loss. </blockquote><p/><img src="/image/library/english/10219_practic.JPG" width=92 height=74 border="0"><p/><A NAME="695"><H2>Practice: Managing Shared Folders</H2></A> <p/>In this practice, you will use the Computer Management window to view the shared folders and open files on your computer. You will disconnect all users from all open files.<p/><li> <b>To view the shared folders on your computer</b></li><p/><ol> <p/><li> Click the Start button, point to Programs, point to Administrative Tools, and then click Computer Management.</li><p/><li> In the console tree of Computer Management, expand System Tools, and then expand Shared Folders.</li><p/><li> In the console tree, click Shares under Shared Folders.</li><p/>Notice that the details pane shows a list of the existing Shared Folders on your computer.<p/></ol> <p/><li> <b>To view the open files on your computer</b></li><p/><ul> <p/><li>In the console tree, click Open Files under Shared Folders.</li><p/>If you are working on a computer that isn't connected to a network, there won't be any open files because the open files show only connections from a remote computer to a share on your computer.<p/></ul> <p/><li> <b>To disconnect all users from open files on your computer</b></li><p/><ol> <p/><li> In the console tree, select Open Files under Shared Folders, and then click Disconnect All Open Files on the Action menu.</li><p/>If you aren't on a network, there won't be any open files to disconnect. If you are on a network, a Microsoft Management Console message box appears and prompts for whether you're sure you wish to close all resources.</li><p/><li>Click OK.</li><p/><li> Leave Computer Management open. You'll use it in the next practice.</li><p/></ol> <A NAME="696"><H2>Lesson Summary</H2></A> <p/>In this lesson, you learned that you use the Shares folder in either the Computer Management snap-in or 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 dialog box for a shared folder shows you the user limit, or maximum number of users that can concurrently connect to that share.<p/>You also learned that you can modify existing shared folders, including shared folder permissions. 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 lets you view and change the user limit for accessing the shared folder. The Security tab allows you to view and change the shared folders permissions.<p/> - Microsoft Windows 1002000 Professional E2 [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Microsoft Windows 1002000 Professional E2 [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






[Previous] [Next]

Lesson 2: Monitoring Access to Shared Folders


You monitor access to shared folders to determine how many users currently have a connection to each folder. You can also monitor open files to determine which users are gaining access to the files, and you can disconnect users from one open file or from all open files.


After this lesson, you will be able to

  • Determine the shared folders on a computer.
  • Monitor shared folders.
  • View and modify the properties of a shared folder.
  • Monitor open files.
  • Disconnect users from one or all open files.

Estimated lesson time: 15 minutes

Monitoring Shared Folders


You use the Shares folder in either the Computer Management snap-in or 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 20.1, 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 20.1 The Shares folder in the Computer Management window

Table 20.2 explains the information provided in the details pane shown in
Figure 20.1.

Table 20.2 Information Available in the Shares Folder


























Column nameDescription
Shared FolderThe shared folders on the computer. This is the name that was
given to the folder when it was shared.
Shared PathThe path to the shared folder.
TypeThe operating system that must be running on a computer so
that it can be used to gain access to the shared folder.
# Client RedirectionsThe number of clients who have made a remote connection to
the shared folder.
CommentDescriptive text about the folder. This comment was provided
when the folder was shared.

NOTE
Microsoft Windows 2000 doesn't 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 Computer Management snap-in or 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. In
Windows 2000 Professional, the maximum is 10. However, you can set this to
a lower value.

You can also use the Computer Management snap-in or Shared Folders snap-in to determine whether the maximum number of users that are permitted to gain access to a folder has been reached. This is one quick and easy way to troubleshoot connectivity problems. If a user can't connect to a share, determine the number of connections to the share and the maximum connections allowed. If the maximum number of connections have already been made, the user can't 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 either the Computer Management snap-in or 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 20.2). 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 20.2 The Open Files folder in the Computer Management window

Table 20.3 describes the information that is available in the Open Files folder.

Table 20.3 Information Available in the Open Files Folder


























Column nameDescription
Open FileThe name of the open file on the computer.
Accessed ByThe logon name of the user who has the file open.
TypeThe operating system running on the computer where the user
is logged on.
# LocksThe 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 ModeThe 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 the Microsoft Windows 2000 File System (NTFS) permissions for a file that is currently opened by a user, the new permissions won't 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.

Practice: Managing Shared Folders


In this practice, you will use the Computer Management window to view the shared folders and open files on your computer. You will disconnect all users from all open files.

  • To view the shared folders on your computer

    1. Click the Start button, 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.
    4. Notice that the details pane shows a list of the existing Shared Folders on your computer.


  • To view the open files on your computer

    • In the console tree, click Open Files under Shared Folders.
    • If you are working on a computer that isn't connected to a network, there won't be any open files because the open files show only connections from a remote computer to a share on your computer.


  • To disconnect all users from open files 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.
    2. If you aren't on a network, there won't be any open files to disconnect. If you are on a network, a Microsoft Management Console message box appears and prompts for whether you're sure you wish to close all resources.

    3. Click OK.
    4. Leave Computer Management open. You'll use it in the next practice.

    Lesson Summary


    In this lesson, you learned that you use the Shares folder in either the Computer Management snap-in or 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 dialog box for a shared folder shows you the user limit, or maximum number of users that can concurrently connect to that share.

    You also learned that you can modify existing shared folders, including shared folder permissions. 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 lets you view and change the user limit for accessing the shared folder. The Security tab allows you to view and change the shared folders permissions.

    / 156