Logo
CAR REVIEW
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows Server

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

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
- SharePoint 2013 : Health and Monitoring (part 2) - Correlation IDs, The Logging Database
- SharePoint 2013 : Health and Monitoring (part 1) - Logging
- SharePoint 2013 Request Management (part 2) - Request Management Administration
- SharePoint 2013 Request Management (part 1) - The Request Management Process
- Windows Server 2012 : Deploying Storage Spaces (part 5) - Implementing Storage Spaces, Using Windows PowerShell
- Windows Server 2012 : Deploying Storage Spaces (part 4) - Planning a Storage Spaces deployment - Availability, Management
- Windows Server 2012 : Deploying Storage Spaces (part 3) - Planning a Storage Spaces deployment - Hardware, Performance, Resiliency
- Windows Server 2012 : Deploying Storage Spaces (part 2) - Understanding Storage Spaces - Fixed vs. thin provisioning
- Windows Server 2012 : Deploying Storage Spaces (part 1) - Understanding Storage Spaces - Concepts and terminology
- Microsoft Exchange Server 2010 : Working with SMTP Connectors, Sites, and Links (part 8) - Connecting to Exchange 2003 Routing Groups
 
 
Most view of day
- Microsoft Excel 2010 : Protecting and Securing a Workbook - Marking a Workbook as Read-Only
- Windows Phone 8 : Phone-Specific Design (part 2) - Using the Panorama Control in Blend
- SharePoint 2010 : Farm Governance - Installing a feature and activating it
- What's new and improved in SharePoint 2013 : Customizing the interface
- Planning Deployment : Installing BDD 2007
- Microsoft Project 2010 : Fine-Tuning Task Details (part 4) - Adjusting Working Time for Individual Tasks
- SharePoint 2010 : Building Composite Solutions (part 2) - External Data Search, External Data and User Profiles
- Windows Phone 8 : Developing for the Phone - The Phone Experience (part 3) - Application Client Area, Application Bar
- Microsoft Excel 2010 : Using Formulas - Entering a Formula
- Microsoft Access 2010 : Using Reports to Print Information - Opening and Viewing a Report
Top 10
- Windows Phone 8 : Scheduled Tasks - Scheduled Task API Limitations
- Windows Phone 8 : Scheduled Tasks - Updating Tiles Using a Scheduled Task Agent
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 5) - Editing an Existing To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 4) - Creating the To-Do Item Shell Tile, Saving a To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 3) - Debugging Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 2) - TodoService, TodoItemViewModel
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 1) - TodoItem,TodoDataContext
- Windows Phone 8 : Scheduled Tasks - Using Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - Background Agent Types
- Windows Phone 8 : Windows Phone Toolkit Animated Page Transitions - Reusing the Transition Attached Properties
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro