Sharing folders makes them accessible to network users. After you have configured the
disks on a file server, you must create shares to enable network users to access those disks.
As noted in the planning discussions in, “Installing and configuring servers,” you
should have a sharing strategy in place by the time you are ready to create your shares. This
strategy should consist of the following information:
– What folders you will share
– What names you will assign to the shares
– What permissions you will grant users to the shares
– What Offline Files settings you will use for the shares
If you have the necessary permissions for a folder, you can share it on a Windows Server
2012 R2 computer by right-clicking the folder in any File Explorer window, selecting Share
With, Specific People from the shortcut menu, and following the instructions in the File Sharing
dialog box, as shown in Figure 2-1.
FIGURE 2-1 The File Sharing dialog box
This method of creating shares provides a simplified interface that contains only limited
control over elements such as share permissions. You can specify only that the share users
receive Read permissions or Read/Write permissions to the share. If you are not the Creator
Owner of the folder, you can access the Sharing tab of the folder’s Properties sheet instead.
Clicking the Share button launches the same File Sharing dialog box. Clicking the Advanced
Sharing button displays the Advanced Sharing dialog box, shown in Figure 2-2, which
provides greater control over share permissions.
FIGURE 2-2 The Advanced Sharing dialog box
NOTE: NETWORK DISCOVERY
For the users on the network to be able to browse the shares you create on the file server
in File Explorer, you must make sure the Network Discovery settings and the File Sharing
settings are turned on in the Network and Sharing Center control panel.
To take control of the shares on all your disks on all your servers and exercise granular
control over their properties, you can use the File and Storage Services home page in
Windows Server 2012 R2 supports two types of folder shares:
– Server Message Blocks (SMB) SMB is the standard file sharing protocol used by all
versions of Windows.
– Network File System (NFS) NFS is the standard file sharing protocol used by most
UNIX and Linux distributions.
When you install Windows Server 2012 R2, the setup program installs the Storage Services
role service in the File and Storage Services role by default. However, before you can create
and manage SMB shares by using Server Manager, you must install the File Server role
service; to create NFS shares, you must install the Server for NFS role service.
To create a folder share by using Server Manager, use the following procedure
1. In Server Manager, click the File and Storage Services icon and, in the submenu that
appears, click Shares. The Shares home page appears.
2. From the Tasks menu, select New Share. The New Share Wizard starts, displaying the
Select The Profile For This Share page, as shown in Figure 2-3.
FIGURE 2-3 Configuring the Select The Profile For This Share page in the New Share Wizard
3. From the File Share Profile list, select one of the following options:
– SMB Share–Quick Provides basic SMB sharing with full share and NTFS permissions
– SMB Share–Advanced Provides SMB sharing with full share and NTFS permissions
and access to services provided by File Server Resource Manager
– SMB Share–Applications Provides SMB sharing with settings suitable for
Hyper-V and other applications
– NFS Share–Quick Provides basic NFS sharing with authentication and permissions
– NFS Share–Advanced Provides NFS sharing with authentication and permissions
and access to services provided by File Server Resource Manager
4. Click Next. The Select The Server And Path For This Share page appears.
5. Select the server on which you want to create the share and either select a volume on
the server or specify a path to the folder you want to share. Click Next. The Specify
Share Name page appears.
Note: NFS SHARING
Selecting one of the NFS share profiles adds two pages to the wizard: The Specify Authentication
Methods page and the Specify The Share Permissions page. Each page provides access to functions implemented by the Server for NFS role service, as covered in Objective 2.1, “Configure Advanced File Services,” in Exam 70-412, “Configuring Advanced Windows Server 2012 R2 Services.”
6. In the Share Name text box, specify the name you want to assign to the share and click
Next. The Configure Share Settings page appears, as shown in Figure 2-4.
FIGURE 2-4 Configuring Other Settings on the Configure Share Settings page of the New Share
7. Select any or all of the following options:
– Enable Access-Based Enumeration Prevents users from seeing files and folders
they do not have permission to access
– Allow Caching Of Share Enables offline users to access the contents of this share
– Enable BranchCache On The File Share Enables BranchCache servers to cache
files accessed from this share
– Encrypt Data Access Causes the server to encrypt remote file access to this share
Access-based enumeration (ABE), a feature first introduced in Windows Server 2003 R2,
applies filters to shared folders based on the individual user’s permissions to the files and
subfolders in the share. Simply put, users who cannot access a particular shared resource
are unable to see that resource on the network. This feature prevents users from seeing
files and folders they cannot access. You can enable or disable ABE for a share at any time
by opening the share’s Properties sheet in the Sharing and Storage Management console
and clicking Advanced, which displays the same Advanced dialog box displayed by the
Provision a Shared Folder Wizard.
NOTE: OFFLINE FILES
Offline Files, also known as client-side caching, is a Windows feature that enables client
systems to maintain local copies of files they access from server shares. When a client
selects the Always Available Offline option for a server-based file, folder, or share, the client
system copies the selected data to the local drive and updates it regularly so the client
user can always access it, even if the server is offline. To enable clients to use the Offline
Files feature, the share must have the Allow Caching Of Share check box selected. Windows
Server 2012 R2 and Windows 8.1 also have an Always Offline mode for the Offline Files
feature that causes clients to always use the cached copy of server files, providing better
performance. To implement this mode, you must set the Configure slow-link mode Group
Policy setting on the client to a value of 1 millisecond.
8. Click Next to move to the Specify Permissions To Control Access page.
9. Modify the default share and NTFS permissions as needed and click Next. The Confirm
Selections page appears.
NOTE: ADVANCED SHARE PROFILES
Selecting one of the Advanced share profiles on the Select The Profile For This Share page
adds two more pages to the wizard: The Specify Folder Management Properties page and the
Apply A Quota To A Folder Or Volume page. Each page provides access to functions of the
File Server Resource Manager application, as covered in Objective 2.2, “Configure File Server
Resource Manager (FSRM),” in Exam 70-411, “Administering Windows Server 2012 R2.”
10. Click Create. The View Results page appears as the wizard creates the share.
11. Close the New Share Wizard.
After you create a share by using the wizard, the new share appears in the Shares tile on
the Shares home page in Server Manager. You can now use the tile to manage a share by
right-clicking it and opening its Properties sheet or by clicking Stop Sharing.
This article is a part of 70-410 Installing and Configuring Windows Server 2012 Prep course, more articles in this course are :
70-410 Installing and Configuring Windows Server 2012 Prep course includes following practice tests: