Providing Network Access To File Resources PDF
Providing Network Access To File Resources PDF
Overview 1
Introduction to Shared Folders 2
Creating Shared Folders 3
Combining NTFS and Shared Folder
Permissions 13
Using Administrative Shared Folders 14
Publishing a Shared Folder in Active
Directory 16
Lab A: Sharing and Securing Network
Resources 17
Configuring Shared Folders by Using Dfs 25
Lab B: Configuring Domain-based Dfs 34
Review 40
Information in this document is subject to change without notice. The names of companies,
products, people, characters, and/or data mentioned herein are fictitious and are in no way intended
to represent any real individual, company, product, or event, unless otherwise noted. Complying
with all applicable copyright laws is the responsibility of the user. No part of this document may
be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose, without the express written permission of Microsoft Corporation. If, however, your only
means of access is electronic, permission to print one copy is hereby granted.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.
Microsoft, Active Desktop, Active Directory, ActiveX, BackOffice, DirectX, FrontPage, JScript,
MS-DOS, NetMeeting, PowerPoint, Visual Basic, Visual Studio, Windows, Windows Media, and
Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the
U.S.A. and/or other countries.
Other product and company names mentioned herein may be the trademarks of their respective
owners.
Instructor Notes
Presentation: This module provides students with the knowledge and skill to set up shared
75 Minutes folders and to control access to the folders through permissions. This includes
combining shared folder permissions with NTFS file system permissions.
Labs:
60 Minutes At the end of this module, students will be able to:
! Explain the purpose and use of shared folders.
! Create shared folders.
! Combine NTFS permissions and shared folder permissions.
! Use Administrative shared folders.
! Publish a folder in the Active Directory™ directory service.
! Configure shared folders by using Distributed file system (Dfs).
Required Materials
To teach this module, you need the following:
• Microsoft® PowerPoint® file 2152B_07.ppt.
Preparation Tasks
To prepare for this module, you should:
! Read all of the materials for this module.
! Complete the labs.
! Study the review questions and prepare alternative answers to discuss.
! Anticipate questions that students may ask. Write out the questions and
provide the answers.
iv Module 7: Providing Network Access to File Resources
Module Strategy
Use the following strategy to present this module:
! Introduction to Shared Folders
Present an overview of shared folders, including their purpose and benefits.
! Creating Shared Folders
First, present the requirements for sharing a folder. Then, demonstrate
sharing a folder while explaining the options. Next, present shared folder
permissions. Emphasize that if there are conflicting permissions, being
denied a permission takes precedence over being granted the same
permission. Then, demonstrate how to grant shared folder permissions and
how to modify shared folder settings. Finally, demonstrate how to connect
to a shared folder using My Network Places, Map Network Drive, or the
Run command.
! Combining NTFS and Shared Folder Permissions
Present the information on combining NTFS and shared folder permissions.
Emphasize that the resulting permissions is the most restrictive of either the
combined NTFS permissions or the combined shared folder permissions.
! Using Administrative Shared Folders
Present the information about administrative shared folders. Emphasize that
these folders are automatically created by Microsoft Windows® 2000,
hidden from users who browse, and only accessible to users with
administrative privileges. In addition, mention that the Admin$ shared
folder is where Windows 2000 is installed.
! Publishing a Shared Folder in Active Directory
Present information on the benefits of publishing shared folders in Active
Directory. Emphasize that users can find a published shared folder even if
its physical location changes.
! Configuring Shared Folders by Using Dfs
First, provide an overview of Dfs, including its benefits. Emphasize that Dfs
provides a logical tree structures for folders and files that are physically
located anywhere on the network. Then, present the different types of Dfs
roots. Mention that a domain-based Dfs root provides fault tolerance. Next,
provide information on how a user gains access to files and folders in a Dfs
hierarchy. Emphasize that Dfs does not use separate NTFS permissions or
shared folder permissions for Dfs links.
Then, present information on creating a Dfs root. Demonstrate the process.
Follow this with information on adding Dfs links. Demonstrate the process.
Next, present information on configuring replicas. Mention the role of the
File Replication service (FRS) in keeping replicas automatically
synchronized.
Module 7: Providing Network Access to File Resources v
Customization Information
This section identifies the lab setup requirements for a module and the
configuration changes that occur on student computers during the labs. This
information is provided to assist you in replicating or customizing Microsoft
Official Curriculum (MOC) courseware.
Lab Setup
To prepare student computers for the labs in this module, complete module 1,
“Installing or Upgrading to Windows 2000,” in course 2152B, Implementing
Microsoft Windows 2000 Professional and Server.
Lab Results
There are no configuration changes on student computers that affect replication
or customization.
• Performing the labs in this module introduces no configuration changes.
Module 7: Providing Network Access to File Resources 1
Overview
Slide Objective
To provide an overview of
the module topics and
objectives. ! Introduction to Shared Folders
Lead-in ! Creating Shared Folders
In this module, you will learn
about providing network ! Combining NTFS and Shared Folder Permissions
access to files and network
resources in Windows 2000. ! Using Administrative Shared Folders
! Publishing a Shared Folder in Active Directory
! Configuring Shared Folders by Using Dfs
Defer any student questions As an administrator you must ensure that users can gain access to folders on the
about Dfs until the Dfs network that contain the files that they need to do their work. You can do this
section of this module. by sharing these folders. To enhance security, you can control who can gain
access to these shared folders. If the files and folders users need are stored
throughout the network, you can use Distributed file system (Dfs) to make it
easier for users to gain access to these files and folders.
At the end of this module, you will be able to:
! Explain the purpose and use of shared folders.
! Create shared folders.
! Combine NTFS file system permissions and shared folder permissions.
! Use Administrative shared folders.
! Publish a folder in the Active Directory™ directory service.
! Configure shared folders by using Dfs.
2 Module 7: Providing Network Access to File Resources
Server Hosting
Shared Folder
Shared Folders:
! Can Contain Applications, Data, or Users’ Personal Data
! Enable Centralized Administration
Use shared folders to provide users with access to files and folders across a
network. Users can connect to the shared folder over the network to access the
folders and files they contain. Shared folders can contain applications, data, or a
user’s personal data. Using shared application folders centralizes administration
by allowing you to install and maintain applications on a server instead of on
client computers. Using shared data folders provides a central location for users
to gain access to common files and makes it easier for you to back up data
contained in those files.
Module 7: Providing Network Access to File Resources 3
To share a folder, you must be a member of one of the groups that have the
rights to share folders on the type of computer where the folder resides.
When you share a folder, you can control access to the folder and its
contents by granting permissions to selected users and groups. You can also
control access to the folder by limiting the number of users who can
concurrently connect to the shared folder. After you create a shared folder,
you may want to modify the folder properties to stop sharing the folder,
change the shared folder name, or change user and group permissions to the
shared folder. Microsoft® Windows® 2000 also shares some folders
automatically for administrative purposes.
4 Module 7: Providing Network Access to File Resources
Administrators
Administratorsor
or
In
In aa Windows
Windows 2000
2000 Workgroup
Workgroup Power
PowerUsers
Users
On
On aa Client
Client Computer
Computer Running
Running Windows
Windows Administrators
Administratorsor
or
2000 Professional
2000 Professional Power
PowerUsers
Users
In Windows 2000, the only groups that can share folders are the Administrators,
Key Point Server Operators, and Power Users groups. These groups are default accounts
Groups with the ability to
share folders include the
that are installed in the User folder in Computer Management, or in the Builtin
Administrators, Server folder in Active Directory Users and Groups. The requirements for sharing
Operators, and Power Users folders are determined by the following:
groups.
! Whether the shared folder resides on a computer that is in a domain or in a
workgroup.
! The type of operating system running on the computer on which the shared
folder resides.
Sharing a Folder
Slide Objective Applications Properties
sharing folders. You can share this folder among other users on your
network. To enable sharing for this folder, click
Lead-in Share this folder.
The first step for sharing a Do not share this folder
folder is to assign it a Share this folder
shared folder name. Required
Required Share name: Applications
OK Cancel Apply
When you share a folder, you give it a shared folder name, provide a comment
Delivery Tip
to describe the folder and its contents, limit the number of users who have
Demonstrate the steps to access to the folder, and grant permissions. You also have the option to share
share a folder. the same folder multiple times. This enables you to consolidate multiple shared
folders into one folder, while allowing users to use the same shared folder name
Mention to students that that was used before the folders were consolidated.
because some client
computers only see a limited To create a shared folder, right-click the folder in Windows Explorer, and then
number of characters in a click Sharing. On the Sharing tab, configure the options described in the
shared folder name when following table.
they connect, they should
be sure that all of the client Option Description
computers on their network
Share this folder Click to share the folder.
can see the shared folder
names they set up. Share name Enter the name that users from remote locations use to make a
connection to the shared folder. The default shared folder name is
the folder name. This option is required.
Note: Some client computers that connect to a share point only
see a limited number of characters.
Comment Enter an optional description for the shared folder name. The
comment appears in addition to the shared folder name when users
at client computers browse the server for shared folders. You can
use this comment to identify the contents of the shared folder.
6 Module 7: Providing Network Access to File Resources
(continued)
Option Description
User Limit Enter the number of users who can concurrently connect to the
shared folder. This option is not required. If you click Maximum
Allowed, Windows 2000 Professional supports up to 10
connections. Windows 2000 Server can support as many
connections as the number of licenses purchased.
Permissions Click to set the shared folder permissions that apply only when the
folder is accessed over the network. This option is not required.
By default, the Everyone group is granted the Full Control
permission for all new shared folders.
Module 7: Providing Network Access to File Resources 7
Key Points Important If you want to give only some users permission to a shared folder,
If an administrator only remove the Everyone group, otherwise all users have the Full Control
wants certain users to gain permission to the folder. If you change the permission for the Everyone group
access to a shared folder, to Deny, then all users are denied access to the shared folder including the users
the administrator must you want to have access to the file.
remove the default
Everyone group.
Tip Use the Authenticated Users group instead of the Everyone group to assign
most rights and permissions. Doing so minimizes the risk of unauthorized
access because Windows 2000 makes only valid user accounts on the computer,
or in Active Directory, members of the Authenticated Users system group.
Module 7: Providing Network Access to File Resources 9
After you share a folder, you can control which user accounts, groups, and
computers have access to it by using shared folder permissions. You can also
modify the existing shared folder settings.
Important For users to gain access to a shared folder on a NTFS volume, they
need the appropriate NTFS permissions for each file and folder in addition to
the shared folder permissions. You set NTFS permissions for files and folders
that reside on a NTFS volume on the Security tab in the Properties dialog box.
Key Points Important If you stop sharing a folder while a user has a file open, the user
If an administrator stops may lose data. If you click Do not share this folder, and a user has a
sharing a folder while a user connection to the shared folder, Windows 2000 displays a dialog box notifying
has a file open, the user you that a user has a connection to the shared folder.
may lose data. In addition, if
a user is connected to the
shared folder when an
administrator stops sharing
it, Windows 2000 displays a
dialog box notifying the
administrator of this
situation.
Module 7: Providing Network Access to File Resources 11
After you share a folder, users can gain access to the folder across the network.
Delivery Tip Users can gain access to a shared folder on another computer by using My
Demonstrate connecting to
a shared folder by using the
Network Places, Map Network Drive, or the Run command.
three different methods. If
you are short of time, show Using My Network Places
only one of the methods.
In many instances, the easiest way to gain access to a shared folder is to use My
Network Places.
To connect to a shared folder by using My Network Places, perform the
following steps:
1. Double-click My Network Places.
2. Enter the network path of the shared folder you want to connect to or click
Browse to find the computer on which the shared folder is located.
3. Double-click the shared folder to open it.
Note When you open a shared folder over the network, Windows 2000
automatically adds it to My Network Places.
Admin$
Admin$ The
The C:\Winnt
C:\Winnt folder
folder isis shared
shared as
as Admin$
Admin$
The
The folder
folder containing
containing the
the printer
printer driver
driver files
files isis shared
shared
Print$
Print$ as
as Print$
Print$ (created
(created when
when the
the first
first printer
printer isis created)
created)
C$, D$, These shared folders are used to remotely connect to a computer and
E$, and so perform administrative tasks. The root of each partition on a hard disk is
on automatically shared. When you connect to this folder, you have access to
the entire partition.
Admin$ The systemroot folder, which is C:\Winnt by default. Administrators can
gain access to this shared folder to administer Windows 2000 without
knowing the folder in which it is installed.
Print$ This folder provides access to printer driver files for client computers.
When you install the first shared printer, the
Systemroot\System32\Spool\Drivers folder is shared as Print$. Only
members of the Administrators, Server Operators, and Print Operators
groups have Full Control permission. The Everyone group has Read
permission.
Hidden shared folders are not limited to those that Windows 2000 automatically
creates. You can share additional folders and append a dollar sign ($) to the
end of the shared folder name. Then, only users who know the folder name can
gain access to it. These hidden folders are not considered administrative shared
folders.
16 Module 7: Providing Network Access to File Resources
Prerequisites
Before working on this lab, you must have knowledge of how Windows 2000
uses shared folder and NTFS permissions to secure access to networks.
Lab Setup
To complete this lab, you need a computer running Windows 2000 Advanced
Server configured as a member server of the nwtraders.msft domain.
Exercise 1
Sharing Folders
Scenario
Users on your network need to gain access to a number of applications on a server that you
administer. You have already installed the applications in a folder, named Apps, and have assigned
NTFS permissions on all of the application folders within. You now need to share the Apps folder
and configure the permissions for it so that the users can access the folder from the network.
Goal
In this exercise, you will create share points on your member server to provide access to the Apps
folder from the network.
How does Windows Explorer change the appearance of the Apps folder to indicate that it is a shared folder?
(You may have to refresh your screen by pressing F5.)
Windows Explorer shows an icon of a hand holding the Apps folder. The icon indicates that the
folder is shared.
Module 7: Providing Network Access to File Resources 19
Exercise 2
Assigning Shared Folder Permissions
Scenario
You have shared the folder that contains the applications used by all the employees of your
company, giving users the ability to connect to it over the network. Even though you have
configured NTFS permissions to provide user rights, company policy dictates that the default
permissions for the folder be removed and replaced with the permissions listed in the company
policy.
To configure share permissions, you must determine what the current permissions are for the shared
applications folder, and then assign shared folder permissions to groups in your domain in
accordance with company policy.
Goal
In this exercise, you will modify the default share permissions on the Apps folder to limit access
rights to a specific group of users.
1. Determine the current a. Open the Properties dialog box for Apps.
permissions for the Apps b. On the Sharing tab, click Permissions.
shared folder.
What are the default permissions for the Apps shared folder?
Everyone has Full Control.
2. Remove the default a. In the Permissions for Apps dialog box, verify that Everyone is
permissions and assign the selected, and then click Remove.
Full Control permission to b. Click Add.
the local Administrators
group. c. In the Look in box, click Server (where Server is your assigned
computer name).
d. Under Name, click Administrators, click Add, and then click OK.
20 Module 7: Providing Network Access to File Resources
2. (continued) e. Under Permissions, allow the Administrators group the Full Control
permission, and then click OK.
f. Click OK to close the Apps Properties dialog box, and then close
Windows Explorer.
Module 7: Providing Network Access to File Resources 21
Exercise 3
Connecting to a Shared Folder
Scenario
You have installed a number of applications, configured NTFS permissions to limit access to the
different applications, and configured a share to provide your network users with access to those
applications across the network. You now need to verify that users can connect to the applications
folder from other computers on the network by using various methods to connect to the shared
applications folder.
Goal
In this exercise, you will log on as a user that should have limited access rights to the shares created
in earlier exercises in order to verify that access is limited as expected.
1. Connect to the shared Apps a. Click Start, and then click Run.
folder on your computer by b. In the Open box, type \\Server (where Server is your assigned
using the Run command. computer name), and then click OK.
Note: Normally you would connect to another computer to verify the functionality of a shared folder. For the
purpose of this lab, you will connect to your computer.
1. (continued) c. Double-click Apps to confirm that you can gain access to the folder.
d. Close the Apps on Server (where Server is your computer name)
window.
2. Map a network drive to the a. Right-click My Network Places, and then click Map Network Drive.
shared folder on the b. In the Drive box, click P.
instructor computer
\\London\Corpdata by using c. In the Folder box, type \\london\corpdata
Map Network Drive. d. Clear the Reconnect at logon check box.
Note: You will gain access to this shared folder in this exercise only. Disabling the option to reconnect will
ensure that Windows 2000 does not automatically attempt to reconnect to this shared folder later.
22 Module 7: Providing Network Access to File Resources
How does My Computer indicate that this drive points to a remote shared folder?
My Computer uses an icon that shows a network cable attached to the drive. The icon indicates a
mapped network drive.
3. Disconnect the mapped a. In My Computer, right-click CorpData on London (P:), and then
network drive from the click Disconnect.
shared CorpData folder on b. Close My Computer, and then log off.
the instructor computer
using My Computer.
4. Log on to nwtraders as a. Log on using the following information:
Studentx (where x is your User name: Studentx (where x is your assigned student number)
assigned student number) Password: domain
with the password of Log on to: nwtraders
domain and attempt to b. Right-click My Network Places, and then click Map Network Drive.
connect to the shared
CorpData folder on the c. In the Drive box, click P.
instructor computer. d. In the Folder box, type \\london\corpdata
e. Clear the Reconnect at logon check box if necessary, and then click
Finish.
(continued)
5. Connect to the shared a. Right-click My Network Places, and then click Map Network Drive.
CorpData folder as Adminx b. In the Drive box, click P:\London\Corpdata.
(where x is your assigned
student number) with the c. In the Folder box, type \\London \Corpdata
password of domain. d. Click Connect using a different user name.
e. In the Connect As dialog box, in the User name box, type Adminx
(where x is your assigned student number).
f. In the Password box, type domain and then click OK.
g. Clear the Reconnect at logon check box if necessary, and then click
Finish.
A message appears, indicating that drive P is already
connected. This is because there is an IPC connection from
the previous attempt.
h. Click Yes to replace the current connection.
In Windows Explorer, can you gain access to drive P? Why or why not?
Yes. The Adminx account has the appropriate permissions to gain access to the shared folder.
Exercise 4
Removing a Folder Share
Scenario
You need to perform extensive changes to the applications folder and need to prevent users
from accessing the files while you are making changes. You will stop sharing the folder in
order to prevent users from connecting.
Goal
In this exercise, you will stop sharing the Apps folder on your member server.
1. (continued) h. Click OK to close the message, click Cancel to close the Run dialog
box, and then log off.
Module 7: Providing Network Access to File Resources 25
With more and more files being distributed across local area networks (LANs),
administrators face growing problems as they try to provide users with the
access that they need. Dfs provides a mechanism for administrators to create
logical views of folders and files, regardless of where those files are physically
located on the network. Dfs also allows administrators to distribute shared
folders and workloads across several servers for more efficient network and
server resource use. Fault-tolerant network storage resources are also available
by using Dfs. Domain-based Dfs features ensure that users can continue to gain
access to shared folders even if a server becomes unavailable.
26 Module 7: Providing Network Access to File Resources
Introduction to Dfs
Slide Objective Dfs
Dfs Tree
Tree Structure
Structure Server1
To illustrate the structure of
Dfs. Sales Data
Sales Data
Lead-in North
Dfs
Dfs Root
Root
Dfs organizes shared North
folders and simplifies East
navigation to the shared Dfs
Dfs Links
Links
South East
folders.
West Server2
With
WithDfs
Dfsyou
youcan:
can: Sales Data
!! Organize
Organizeresource
resource South
!! Facilitate
Facilitatenavigation
navigation
West
!! Facilitate
Facilitateadministration
administration
!! Preserve
Preservepermissions
permissions
Explain to students that Dfs Dfs is a service that provides a single point of reference and a logical tree
provides a single network structure for file system resources that may be physically located anywhere on
access point that Dfs clients the network. Using Dfs to share network resources across the network, provides
can use for accessing the following benefits:
resources located on
several servers. ! Organizes resources. Dfs uses a tree structure that contains a root and Dfs
links. A Dfs link is a portion of the Dfs hierarchy. Each Dfs root can have
multiple links beneath it, each of which points to a shared folder.
! Facilitates navigation. A user who navigates through a Dfs tree does not
Key Point need to know the name of the server that physically stores the resource to
Users can easily navigate
through a Dfs tree without
locate a specific resource on the network. After connecting to a Dfs root,
knowing the physical users can browse and gain access to all resources below the root, regardless
location of the folder or file of the physical location of the server on which the resource is located.
they are seeking. ! Facilitates administration. Dfs simplifies the administration of multiple
shared folders. If a server fails, you can move the location of the shared
folder from one server to another without users being aware of the change.
Users continue to use the same path for the link.
! Preserves permissions. A user can gain access to a shared folder through
Dfs as long as the user has the required permission to gain access to the
shared folder.
Note Only client computers with Dfs client software can gain access to Dfs
resources. Computers running Windows 2000, Microsoft Windows NT®
version 4.0, and Microsoft Windows 98 include Dfs client software. You must
download and install a Dfs client on computers running Microsoft Windows 95.
Module 7: Providing Network Access to File Resources 27
A Dfs root is the highest level of the Dfs topology and is the starting point for
Key Points the hierarchy of shared folders. A Dfs root can be defined at the domain level or
A stand-alone Dfs root
provides no fault tolerance
at the server level. A domain may have any number of Dfs roots, but each
because the Dfs topology is server running Windows 2000 can host only one Dfs root. You can configure
stored on a single computer. the following types of Dfs roots:
Note You can only use domain-based Dfs roots on computers that are
members of a domain.
28 Module 7: Providing Network Access to File Resources
Dfs
Dfsclient
clientconnects
connectsto
tothe
theDfs
Dfslink
link
Explain the three steps on Because a Dfs hierarchy appears just as a regular folder hierarchy, users can
the slide. gain access to file resources through Dfs in the same way that they gain access
Key Points to regular shared folders. The difference is that Dfs provides users with a single
When a Dfs client connects access point for resources that can be located in several physical locations.
to a Dfs root, the Dfs client Users can navigate through Dfs by using Windows Explorer.
sees all first-level Dfs links.
When a user connects to a Dfs root, the user sees all first level Dfs links as
When a Dfs client connects folders in the Dfs root. The user can then connect to one of the Dfs links by
to a Dfs link, it requests the opening the folder that the link represents. The user can also directly connect to
location of the shared folder a Dfs link. Whenever a user accesses a Dfs link, the following happens:
representing the Dfs link.
1. The Dfs client establishes a connection to the server that hosts Dfs.
2. The server that hosts Dfs returns the physical location of the shared folder
that the Dfs link represents.
3. The Dfs client establishes a connection with the server that contains the
shared folder. The Dfs client then caches this referral so that it can continue
to connect to the shared folder represented by the Dfs link without
contacting the server hosting the Dfs root again. Periodically the Dfs client
contacts the server hosting the Dfs root to update the referral.
Important Dfs does not use separate NTFS permissions or shared folder
permissions for Dfs links. Windows 2000 applies all permissions that you
assign to the shared folder to which the Dfs link points.
Module 7: Providing Network Access to File Resources 29
When you create a Dfs root, you select the type of Dfs root, specify a host
domain or host server, assign a shared folder to host the Dfs root, and then
name the Dfs root. For a standalone Dfs root, client computers connect to a
server and shared folder. For a domain-based Dfs root, client computers connect
to a domain and a shared folder. To create a domain-based or stand-alone Dfs
root, perform the following steps:
1. On the Administrative Tools menu, click Distributed File System.
Delivery Tip
Demonstrate the steps for 2. On the Action menu, click New Dfs Root.
creating a Dfs root.
3. In the Create New Dfs wizard, configure the options that are described in
Explain that the steps for
the following table.
creating a domain-based Option Description
and stand-alone Dfs root are
similar. Select the Dfs root type Selects the type of Dfs root that you want to create.
Click Create a domain Dfs root or Create a
standalone Dfs root.
Specify the host domain for Specifies the domain that stores the Dfs topology.
the Dfs root A domain can host multiple Dfs roots.
-or-
Specify the host server for Specifies the first host server, which is the initial
the Dfs root connection point for all resources in the Dfs tree.
You can create a Dfs root on any server running
Windows 2000.
Specify the Dfs root share Specifies the shared folder to host the Dfs root.
You can choose an existing shared folder or create
a new shared folder.
Name the Dfs root Provides the descriptive name for the Dfs root that
Windows Explorer displays.
30 Module 7: Providing Network Access to File Resources
A link is mapped to a standard shared folder on the network. A new Dfs link
can refer to a shared folder with or without subfolders. A Dfs link can also point
to another Dfs root. This configuration allows you to create a large Dfs tree that
combines other Dfs trees.
To add a Dfs link, perform the following steps:
Delivery Tip
Demonstrate the steps for 1. In Distributed File System, click the Dfs root to which you will add a Dfs
adding a Dfs link. link.
2. On the Action menu, click New Dfs Link.
3. In the Add to Dfs dialog box, configure the options described in the
following table.
Option Description
Link name Specifies the logical name for a subfolder of a Dfs root.
The link name appears as a folder in the Dfs logical
hierarchy and is the name users will see when they
connect to Dfs.
Send the user to this Specifies the physical location of the shared folder to
shared folder which the link refers.
Comment Additional information (optional) to help keep track of
the shared folder.
Clients cache this Length of time for which client computers cache a
referral for x seconds referral to a Dfs link. After the referral time expires, a
client computer queries the Dfs server about the
location of the link, even if the client computer has
previously established a connection with the link.
Module 7: Providing Network Access to File Resources 31
East Server2
East
Configuring Replication
Slide Objective
Server1 Hosting
To illustrate the replication Sales
Sales Data
Data
Dfs Root
process. (Initial Master)
Lead-in North
You configure replication Active Directory
among multiple replicas of a
Dfs link to ensure that each East
replica contains the same
data.
Sales
Sales Data
Data
North
Server2 Hosting
Dfs Root East
When you configure multiple replicas of the same Dfs link, you need to ensure
Mention the role that FRS
that each replica always contains the same data. To automatically keep the
plays in automatic
replication.
contents of the replicas synchronized as changes to one or more of the replicas
occur, Windows 2000 provides the File Replication service. If you do not use
Key Points FRS, you must manually copy files that change to all replicas of a Dfs link.
You configure replication
among multiple replicas of a
Dfs link after creating the Setting Up Automatic Replication
replicas to keep the Enable automatic replication by using the Replication Policy window of the
contents of the replicas Distributed File System console. To set replication policy, select one of your
synchronized. Dfs shared folders as the initial master (master copy), which then replicates its
contents to the other Dfs shared folders in the set of Dfs shared folders.
Replication occurs as part of Active Directory replication.
To set replication policy, perform the following steps:
1. Open Distributed File System.
2. Right-click a Dfs root or Dfs link, and then click Replication Policy.
3. In the list of shared folders, click a Dfs shared folder that you want to use as
the master folder for replication.
By default, the first Dfs folder that you create becomes the master folder for
replication. If you want to change this default, click Initial Master.
After you have set a master for replication, the Initial Master button no
longer appears when you subsequently display this window. This is because
you only set a master once to initiate replication; from then on, the Dfs
shared folders replicate to one another whenever data in one of the Dfs
shared folders changes.
Module 7: Providing Network Access to File Resources 33
4. Click all of the replicas that will participate in replication, and then click
Enable.
5. To prevent a replica from participating in replication—for example when
you do not want Dfs replication to create network traffic—select the replica,
and then click Disable.
Prerequisites
Before working on this lab, you must have:
! Knowledge about how Microsoft Windows 2000 uses shared folder and
NTFS file system permissions to secure access to network resources.
! The knowledge and skills to share folders.
! Knowledge about the purpose of Dfs, including how Dfs provides fault
tolerance.
Lab Setup
To complete this lab, you need:
! A computer running Windows 2000 Advanced Server that is configured as a
member server of the nwtraders.msft domain.
! A folder, C:\Moc\Win2152b\Labfiles\Lab07\Site Reports, shared as
Reports.
Exercise 1
Create a New Root Replica
Scenario
Your corporation wants to distribute reports to each office in the corporation using Dfs. The
Corporate office has created a Dfs root called Corporate Reports. You must create a Dfs root replica
on your server to provide fault tolerance.
Goal
In this exercise, you will create a Domain-based Dfs root replica.
k. Click OK to close the error message, click Cancel to close the New
Dfs Root wizard, and then close Distributed File System.
36 Module 7: Providing Network Access to File Resources
(continued)
What permissions does a user account need in order to create a domain-based Dfs?
The user account must have domain-wide administrative rights. To gain these rights, a user account
must be a member of an administrative group such as the Domain Admins group.
2. Logged on as Adminx, use a. Click Start, point to Programs, point to Administrative Tools, hold
the secondary logon, the SHIFT key and right-click Distributed File System, and then click
[email protected] Run as.
with a password of domain, b. In the Run as Other User box, verify that Run the program as the
to create a new root following user is selected.
replica of
\\nwtraders.msft\corporate c. In the User name box, type DAdmin
data. Create a new shared d. In the Password box, type domain
folder on your server named e. In the Domain box, type nwtraders.msft and then click OK.
Corpdata for the share point
on your server to host the f. In Distributed File System, in the console tree, right-click Distributed
Dfs root. Configure your File System, and then click Display an Existing Dfs Root.
root replica to participate in g. In the Display an Existing Dfs Root dialog box, expand
automatic replication. nwtraders.msft, expand Domain Dfs roots, click Corporate Data,
and then click OK.
h. In Distributed File System, in the console tree, right-click
\\nwtraders.msft\Corporate Data, and then click New Root Replica.
i. On the Specify the Host Server for the Dfs Root page, verify that
your server’s FQDN is listed, and then click Next.
j. On the Specify the Dfs Root Share page, verify that Use an existing
share is selected, click Server Dfs Replica (where Server is your
assigned computer name) if necessary, and then click Finish.
Wait for the instructor before proceeding. The instructor must configure the initial replication settings before
you continue on with this exercise.
Note: In task 1, you created the shared folder on your server using the administrative rights associated with
the Adminx user account, but you could not create the Dfs root replica using that account. In task 2, you did
not have to create the share point on your server because you created the shared folder in task 1.
(continued)
3. View the data in the a. Click Start, and then click Run.
\\nwtraders.msft\corporate b. In the Open box, type \\nwtraders.msft\corporate data and then
data folder, and then verify click OK.
that the shared folder you
created on your server has A number of folders are listed in the Dfs shared folder.
the same data.
c. Click Start, and then click Run.
d. In the Open box, type \\Server\Server Dfs Replica (where Server is
your assigned computer name), and then click OK.
Is the content of the \\nwtraders.msft\corporate data share the same as the content of the \\server\server Dfs
Replica share? Why?
Yes. Replication of the domain-based Dfs has occurred.
Exercise 2
Adding a Dfs Link to an Existing Dfs Root
Scenario
To provide the entire corporation with a single share point for viewing corporate reports and remote
office reports, you must create a Dfs link for your site under the corporate Dfs root.
Goal
In this exercise, you will create a Dfs Link under the \\nwtraders.msft\Corporate Data Dfs root.
2. View the data in the a. Click Start, and then click Run.
\\nwtraders.msft\Corporate b. In the Open box, type \\nwtraders.msft\corporate data and then
Data Dfs share. click OK.
Why does your Dfs link show up as a folder when you open \\nwtraders.msft\Corporate Data? Is the Dfs link
fault-tolerant?
Your Dfs link shows up as a folder under the root so that the client who connects to the Dfs shared
folder sees one connection point with a number of subfolders. The Dfs link is not fault-tolerant, but a
link replica could be created on a different server to provide fault tolerance for the Dfs link.
Exercise 3
Removing a Dfs Link and Dfs Root Replica
Scenario
Your corporation has decided to use an Exchange mail server distribution list to provide access to
corporate reports. You must remove the Dfs link, and then remove the Dfs root replica.
Goal
In this exercise, you will remove the Dfs link that you created, and then remove the Dfs root replica
that you created.
The Dfs link for your server is removed from the console
tree.
2. Remove the Dfs root replica a. In Distributed File System, in the details pane, right-click
for your server. \\Server\Server Dfs Replica, and then click Remove Replica.
b. In the Distributed file system message, click Yes to proceed.
Review
Slide Objective
To reinforce module
objectives by reviewing key
points. ! Introduction to Shared Folders
Lead-in ! Creating Shared Folders
The review questions cover
some of the key concepts ! Combining NTFS and Shared Folder Permissions
taught in the module.
! Using Administrative Shared Folders
! Publishing a Shared Folder in Active Directory
! Configuring Shared Folders by Using Dfs
1. When a folder is shared, which folders and files within that folder does a
user with the Read permission have access to by default?
A user with the Read permission has access to all folders and files in the
shared folder. However, the user cannot change any files or folders.
2. What is the best way to secure files and folders that you share on NTFS
partitions?
Put the files that you want to share in a shared folder and retain the
default shared folder permission (the Everyone group with the Full
Control permission). Then grant the appropriate NTFS permissions to
users and groups for the files and folders within the shared folder.
5. You have shared and can access several folders on the server you
administer, but when you attempt to locate them by searching Active
Directory Users and Computers, they are not found. What could the problem
be? How could you resolve it?
You have not published the files in Active Directory. To do this, you
must open Active Directory Users and Computers, right-click the
domain in which you want to publish the shared folder, point to New,
and then click Shared Folder. You must then provide a shared folder
name and the path (UNC name) to publish a shared folder.
6. When users gain access to a Dfs link, how will they know that Dfs redirects
their requests to a different physical folder?
Users do not notice that the request is redirected. Dfs is completely
transparent to users.
THIS PAGE INTENTIONALLY LEFT BLANK