Pages

Saturday, July 22, 2017

Setting up SMB file share in fresh Windows Server 2012-R2


Open "Server Manager" and Navigate to File and Storage Services > Volumes



In Volumes view, you can find SHARES section, click on "Start the Add Roles and Features Wizard" for feature installation wizard.

Under Server Roles tab, select "File and iSCSI Services" as shown below and click Next.




Click Next to reach Confirmation tab, which will list down installed server roles as follows. Click Install to install them.


Click Close to complete the installation.



Now, create SMB share. Navigate to File and Storage Services > Volumes
Then click New Share to start New Share Wizard under TASKS in SHARES section.




Select the "SMB Share - Quick" as file share profile and click Next




Browse to the directory shared or Select relevant volume in Share Location tab. Then click Next



Provide Share Name and click Next



Keep default settings in Other settings tab, if not needed, and click Next to navigate to Permissions tab.
Click Customize Permissions 


In Advanced Security settings view, under Share tab, you can find permission entries. By default, it contains Read-only rights for everyone. 
Here, I'm adding permission entry to provide full-control (RW) to Administrator user. To perform that click Add to add new permission entry.



 Click Select a principal in Permission Entry view


Provide User name or group name under "Enter the object name to select" text box. Here I'm providing Administrator (user name) and click OK


Then select relevant permission level under Permissions section and click OK


Newly added permission entry will list down as follows.


Click OK and click Next to Confirm changes and complete New Share wizard


After closing the wizard, newly created SMB file share will be listed under Share tab as follows



Now you can access SMB share from a remote machine within the network with URI smb://[Host/IP]/[Share_Name]. eg: smb://192.168.58.5/SMB_SHARE 

ENJOY FILE SHARING !!

Thanks,
Mili





No comments:

Post a Comment