<p/> <HEAD> </HEAD> <BODY BGCOLOR="#ffffff" TEXT="#000000"> <a class="libraryIndexlink" href="index.aspx?pid=31159&BookID=23931&PageIndex=116&Language=3">[Previous]</A> <a class="libraryIndexlink" href="index.aspx?pid=31159&BookID=23931&PageIndex=118&Language=3">[Next]</A><p/><A NAME="697"><H1>Lesson 3: Sharing a Folder Using the Shared Folders Snap-In</H1></A> <p/>You can use either the Computer Management snap-in or the Shared Folders snap-in to share an existing folder or to create a new folder and share it on the local computer or on a remote computer. You can also modify the shared folder and NTFS permissions when you share the folder.<p/><blockquote> <b>After this lesson, you will be able to</b> <ul> <p/><li>Share a folder by using the Shared Folders snap-in.</li><p/><li>Stop sharing a folder by using the Shared Folders snap-in.</li><p/></ul> <p/><b>Estimated lesson time: 15 minutes</b><p/></blockquote><p/>From either the Computer Management snap-in or the Shared Folders snap-in, you can run the Create Shared Folder wizard to create a new folder and share it. When you use the Shared Folders snap-in to share an existing folder or to create a new shared folder, Windows 2000 assigns the Full Control shared folder permission to the Everyone group by default. You can also assign NTFS permissions when you share the folder. Table 20.4 describes the basic share permissions you can assign to a newly created shared folder when you use the Create Shared Folder wizard.<p/><b>Table 20.4</b> <i>Basic Share Permissions</i><p/><table valign="top" cellpadding="5" width="95%"> <tr> <th>Option</th> <th>Description</th> </tr> <tr> <td valign="top">All Users Have Full Control</td> <td valign="top">The Create Shared Folder wizard assigns the Full Control share permission to the Everyone group and the Full Control NTFS permission for the folder to the Everyone group. This is the default.</td> </tr> <tr> <td valign="top">Administrators Have Full Control, Other Users Have Read-Only Access</td> <td valign="top">The Create Shared Folder wizard assigns the Full Control Share permission to the Administrators group, and the Read share permission to the Everyone group. The wizard also assigns the Full Control NTFS permis- sion for the folder to the Everyone group.</td> </tr> <tr> <td valign="top">Administrators Have Full Control, Other Users Have No Access</td> <td valign="top">The Create Shared Folder wizard assigns the Full Control share permission and the Full Control NTFS permission to the Administrators group for the folder.</td> </tr> <tr> <td valign="top">Customize Share And Folder Permissions</td> <td valign="top">Select this option to create your own custom permissions. </td> </tr> </table> <p/><blockquote><b>NOTE</b><HR>Using either the Computer Management snap-in or the Shared Folders snap-in is the only way to create a shared folder on a remote computer. Otherwise, you need to be physically located at the computer where the folder resides to share it.</blockquote><p/><img src="/image/library/english/10219_practic.JPG" width=92 height=74 border="0"> <p/><A NAME="698"><H2>Practice: Creating a Shared Folder</H2></A> <p/>In this practice, you will use the Shared Folders snap-in to create a new shared folder on your computer.<p/><li> <b>To create a new shared folder on your computer</b></li><p/><ol> <p/><li> In the console tree, under Shared Folders, click Shares.</li><p/><li> On the Action menu, click New File Share.</li><p/>The Create Shared Folder wizard starts.<p/><li> In the Create Shared Folder wizard, type <b>C:\Library</b> in the Folder To Share box.</li><p/><li> Type <b>Library</b> in the Share Name box.</li><p/><li> Click Next.</li><p/>A message box appears asking you whether you want to create C:\Library.<p/><li> Click Yes.</li><p/>The Create Shared Folder wizard displays a final page of four basic share permission options. These options are described in Table 20.4 earlier. You can use one of the basic share permissions or you can create custom permissions.<p/><li> Click Finish to accept the default permissions.</li><p/>A Create Shared Folders dialog box appears, telling you that the share has been successfully created and asking whether you want to create another shared folder.<p/><li> Click No.</li><p/>You can also use the Shared Folders snap-in to stop sharing a shared folder.<p/></ol> <p/><li> <b>To stop sharing a folder</b></li><p/><ol> <p/><li> In the console tree, under Shared Folders, click Shares.</li><p/><li> Select the Library folder in the details pane.</li><p/><li> On the Action menu, click Stop Sharing.</li><p/>A message box appears asking whether you are sure you want to stop sharing the folder.<p/><li> Click OK.</li><p/>The Library share disappears from the list of shared folders.<p/><li> Close the Computer Management window.</li><p/></ol> <p/><blockquote><b>CAUTION</b><hr> If you stop sharing a folder while a user has a file open, the user might lose data.</blockquote><p/><A NAME="699"><H2>Sharing a Folder on a Remote Computer</H2></A> <p/>If you want to share a folder on a remote computer, you run the MMC and add the Shared Folders snap-in to it. When you add the Shared Folders snap-in, point it to the remote computer on which you want to create and manage shared folders.<p/>You can create a Shared Folder console to use on a remote computer, as follows:<p/><ol> <p/><li> On the Start menu, click Run, type <b>MMC</b> and then click OK.</li><p/>A custom console appears.<p/><li> On the Console menu, click Add/Remove Snap-In.</li><p/>The Add/Remove Snap-In dialog box appears.<p/><li> In the Add/Remove Snap-In dialog box, click Add.</li><p/><li> In the Add Standalone Snap-In dialog box, click Shared Folders and then click Add.</li><p/>The Shared Folders dialog box appears. See Figure 20.3.<p/><A HREF="'F20tk03x')"> <img src="/image/library/english/10219_F20tk03.JPG" width=404 height=270 border=0 > </A> <p/><!-- caption --><b>Figure 20.3</b> <i>The Shared Folders dialog box, which allows you to specify a remote computer</i><!-- /caption --> <p/><li> In the Shared Folders dialog box, select Another Computer and then type in the name of the remote computer.</li><p/></ol> <p/><blockquote><b>NOTE</b><hr> If you select the Allow The Selected Computer To Be Changed When Launching From The Command Line check box, you can choose which remote computer on which you want to create and manage shares. If you don't select this check box, the console is always directed to the same remote computer. </blockquote><p/><ol> <p/><li> Click Finish.</li><p/><li> Close the Add/Remove Snap-In and Add Standalone Snap-In dialog boxes.</li><p/></ol> <p/><blockquote><b>NOTE</b><HR>If you want to create and manage shared folders on remote computers and you aren't in a domain, you must create the same user account with the same password on each computer. In workgroups, you don't have a central database that contains all user accounts; instead, each computer in the workgroup has its own local security database. For more information on local security databases, see <a class="libraryIndexlink" href="index.aspx?pid=31159&BookID=23931&PageIndex=54&Language=3">Chapter 10</A>, &quot;Setting Up and Managing User Accounts.&quot;</blockquote><p/><A NAME="700"><H2>Lesson Summary</H2></A> <p/>In this lesson, you learned that you use the Computer Management snap-in or the Shared Folders snap-in to share an existing folder or to create a new folder and share it on the local computer or on a remote computer. You can set the shared folder and NTFS permissions when you share the folder. The Computer Management snap-in or the Shared Folders snap-in is the only tool available in Windows 2000 that allows you to create a shared folder on a remote computer.<p/>You also learned that to create and manage shared folders on a remote computer, you create a custom console using the MMC and add the Computer Management snap-in or the Shared Folders snap-in. When creating a custom console for creating and managing shares on remote computers, you can specify one remote computer or you can allow the remote computer to be specified when the custom console is launched.<p/> - Microsoft Windows 1002000 Professional E2 [Electronic resources] نسخه متنی

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

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

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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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






[Previous] [Next]

Lesson 3: Sharing a Folder Using the Shared Folders Snap-In


You can use either the Computer Management snap-in or the Shared Folders snap-in to share an existing folder or to create a new folder and share it on the local computer or on a remote computer. You can also modify the shared folder and NTFS permissions when you share the folder.


After this lesson, you will be able to

  • Share a folder by using the Shared Folders snap-in.
  • Stop sharing a folder by using the Shared Folders snap-in.

Estimated lesson time: 15 minutes

From either the Computer Management snap-in or the Shared Folders snap-in, you can run the Create Shared Folder wizard to create a new folder and share it. When you use the Shared Folders snap-in to share an existing folder or to create a new shared folder, Windows 2000 assigns the Full Control shared folder permission to the Everyone group by default. You can also assign NTFS permissions when you share the folder. Table 20.4 describes the basic share permissions you can assign to a newly created shared folder when you use the Create Shared Folder wizard.

Table 20.4 Basic Share Permissions






















OptionDescription
All Users Have Full ControlThe Create Shared Folder wizard assigns the Full
Control share permission to the Everyone group and
the Full Control NTFS permission for the folder to the
Everyone group. This is the default.
Administrators Have Full Control, Other Users Have Read-Only AccessThe Create Shared Folder wizard assigns the Full
Control Share permission to the Administrators group,
and the Read share permission to the Everyone group.
The wizard also assigns the Full Control NTFS permis-
sion for the folder to the Everyone group.
Administrators Have Full Control, Other Users Have No AccessThe Create Shared Folder wizard assigns the Full
Control share permission and the Full Control NTFS
permission to the Administrators group for the folder.
Customize Share And Folder PermissionsSelect this option to create your own custom permissions.

NOTE
Using either the Computer Management snap-in or the Shared Folders snap-in is the only way to create a shared folder on a remote computer. Otherwise, you need to be physically located at the computer where the folder resides to share it.


Practice: Creating a Shared Folder


In this practice, you will use the Shared Folders snap-in to create a new shared folder on your computer.

  • To create a new shared folder on your computer

    1. In the console tree, under Shared Folders, click Shares.
    2. On the Action menu, click New File Share.
    3. The Create Shared Folder wizard starts.

    4. In the Create Shared Folder wizard, type C:\Library in the Folder To Share box.
    5. Type Library in the Share Name box.
    6. Click Next.
    7. A message box appears asking you whether you want to create C:\Library.

    8. Click Yes.
    9. The Create Shared Folder wizard displays a final page of four basic share permission options. These options are described in Table 20.4 earlier. You can use one of the basic share permissions or you can create custom permissions.

    10. Click Finish to accept the default permissions.
    11. A Create Shared Folders dialog box appears, telling you that the share has been successfully created and asking whether you want to create another shared folder.

    12. Click No.
    13. You can also use the Shared Folders snap-in to stop sharing a shared folder.


  • To stop sharing a folder

    1. In the console tree, under Shared Folders, click Shares.
    2. Select the Library folder in the details pane.
    3. On the Action menu, click Stop Sharing.
    4. A message box appears asking whether you are sure you want to stop sharing the folder.

    5. Click OK.
    6. The Library share disappears from the list of shared folders.

    7. Close the Computer Management window.

    CAUTION

    If you stop sharing a folder while a user has a file open, the user might lose data.

    Sharing a Folder on a Remote Computer


    If you want to share a folder on a remote computer, you run the MMC and add the Shared Folders snap-in to it. When you add the Shared Folders snap-in, point it to the remote computer on which you want to create and manage shared folders.

    You can create a Shared Folder console to use on a remote computer, as follows:


    1. On the Start menu, click Run, type MMC and then click OK.
    2. A custom console appears.

    3. On the Console menu, click Add/Remove Snap-In.
    4. The Add/Remove Snap-In dialog box appears.

    5. In the Add/Remove Snap-In dialog box, click Add.
    6. In the Add Standalone Snap-In dialog box, click Shared Folders and then click Add.
    7. The Shared Folders dialog box appears. See Figure 20.3.


      Figure 20.3 The Shared Folders dialog box, which allows you to specify a remote computer

    8. In the Shared Folders dialog box, select Another Computer and then type in the name of the remote computer.

    NOTE

    If you select the Allow The Selected Computer To Be Changed When Launching From The Command Line check box, you can choose which
    remote computer on which you want to create and manage shares. If you don't select this check box, the console is always directed to the same remote computer.


    1. Click Finish.
    2. Close the Add/Remove Snap-In and Add Standalone Snap-In dialog boxes.

    NOTE
    If you want to create and manage shared folders on remote computers and you aren't in a domain, you must create the same user account with the same password on each computer. In workgroups, you don't have a central database that contains all user accounts; instead, each computer in the workgroup has its own local security database. For more information on local security databases, see Chapter 10, "Setting Up and Managing User Accounts."

    Lesson Summary


    In this lesson, you learned that you use the Computer Management snap-in or the Shared Folders snap-in to share an existing folder or to create a new folder and share it on the local computer or on a remote computer. You can set the shared folder and NTFS permissions when you share the folder. The Computer Management snap-in or the Shared Folders snap-in is the only tool available in Windows 2000 that allows you to create a shared folder on a remote computer.

    You also learned that to create and manage shared folders on a remote computer, you create a custom console using the MMC and add the Computer Management snap-in or the Shared Folders snap-in. When creating a custom console for creating and managing shares on remote computers, you can specify one remote computer or you can allow the remote computer to be specified when the custom console is launched.

    / 156