Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Windows Server 2012 : Provisioning and managing shared storage (part 5) - Provisioning SMB shares - Creating general-purpose SMB shares

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
3/14/2014 2:46:25 AM

2.3 Creating general-purpose SMB shares

To create a new general-purpose SMB share on a volume using Server Manager, perform the following steps:

  1. Launch the New Share Wizard—for example, by right-clicking on the volume named Archive Volume in Figure 9.

  2. Select the SMB Share - Quick option shown previously in Figure 8.

  3. Select a volume on a file server—for example, the 2-TB volume named Archive Volume that was provisioned using Storage Spaces in the previous section of this lesson.

  4. Type a name for the new share. By default, a new local folder will be created for the share in the following location:

    <volume>\Shares\<share_name>

    For example, if you specify Archive Share as the name for the new share being created on the E volume, the following local folder will be created for the new share:

    E:\Shares\Archive Share

  5. If access-based enumeration is desired, enable it on the share.

  6. If you want to, disable caching on the share. (Caching is enabled by default.) If you leave caching enabled and the BranchCache feature is installed on the server, you can enable BranchCache on the share if desired.

  7. If you want to, enable encrypted data access on the share.

  8. Review the permissions for the new share. If you want to, open the Advanced Security Settings dialog box and modify the permissions as needed.

  9. Click Next, and complete the remaining steps of the wizard to create the new share.

You can right-click on volume E to create a new share on the volume.
Figure 8. You can right-click on volume E to create a new share on the volume.

You can also use Windows PowerShell to create new general-purpose SMB shares on a volume. For example, you could start by using the New-Item cmdlet to create a local folder named E:\Shares\Archived Content for your new share:

PS C:\> New-Item -Path "E:\Shares\Archived Content" -ItemType Directory

Directory: E:\Shares

Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 8/20/2012 8:55 PM Archived Content

You could then use the New-SmbShare cmdlet to create a new share named Archive Share that maps to the local folder and assign the shared folder permission Change to the CONTOSO\Sales group as follows:

PS C:\> New-SmbShare -Name "Archive Share" -Path "E:\Shares\Archived Content" `
-ChangeAccess CONTOSO\Sales

Name ScopeName Path Description
---- --------- ---- -----------
Archive Share * E:\Shares\Archived Content

If you later decide you want to enable access-based enumeration on your new share, you could use the Set-SmbShare cmdlet to do it like this:

PS C:\> Set-SmbShare -Name "Archive Share" -FolderEnumerationMode AccessBased `
-Confirm:$false

The –Confirm:$false portion of the preceding command suppresses the “Are you sure you want to perform this action?” confirmation prompt that the Set-SmbShare cmdlet usually displays.

You can then use the Get-SmbShare cmdlet to verify that access-based enumeration has been enabled on the share:

PS C:\> Get-SmbShare -Name "Archive Share" | select FolderEnumerationMode | fl

FolderEnumerationMode : AccessBased

2.4 Creating advanced SMB shares

The procedure for creating an advanced SMB share using Server Manager is similar to creating a general-purpose share but includes the following additional steps:

  • You can use the options on the Management Properties page to specify the type of usage for the folder. You can select one or more of the following values:

    • User Files

    • Group Files

    • Application Files

    • Backup And Archival Files

  • You can also specify one or more email addresses for the folder owner or owners.

The Quota page shown in Figure 9 lets you apply a quota to the folder by selecting from a list of available templates.

Configuring a quota on a new share.
Figure 9. Configuring a quota on a new share.
Other -----------------
- Microsoft Exchange Server 2010 : Completing Transport Server Setup (part 8) - Configuring Transport Rules
- Microsoft Exchange Server 2010 : Completing Transport Server Setup (part 7) - Configuring Journal Rules
- Microsoft Exchange Server 2010 : Completing Transport Server Setup (part 6) - Verifying Edge Subscriptions, Removing Edge Subscriptions
- Microsoft Exchange Server 2010 : Completing Transport Server Setup (part 5) - Getting Edge Subscription Details, Synchronizing Edge Subscriptions
- Microsoft Exchange Server 2010 : Completing Transport Server Setup (part 4) - Creating an Edge Subscription
- Microsoft Exchange Server 2010 : Completing Transport Server Setup (part 3) - Enabling Anti-Spam Features
- Microsoft Exchange Server 2010 : Completing Transport Server Setup (part 2) - Configuring the Transport Dumpster , Configuring Shadow Redundancy
- Microsoft Exchange Server 2010 : Completing Transport Server Setup (part 1) - Configuring Transport Limits
- SharePoint 2013 : Health and Monitoring (part 4) - Timer Jobs, The Developer Dashboard
- SharePoint 2013 : Health and Monitoring (part 3) - Analytics, The Health Analyzer
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server