Detailed steps to build a file server in Windows Server 2012

Detailed steps to build a file server in Windows Server 2012

The file server is one of the most commonly used servers in an enterprise, and is mainly used to provide file sharing.

Let's build it step by step~

1. Open the Windows Server Management Panel and select Add Roles and Features

When you reach the server role step, select File Server and File Server Resource Manager

Next, go to installation and wait for the installation to complete. You may need to restart after the installation.

After the installation is complete, there will be a file and storage service in the server management interface.

Open File and Storage Services - Shares - Click to create a file share to start the New Share Wizard

Five ways to share:
SMB share - the quickest and easiest way, similar to simple sharing, and similar to the public directory, that is, everyone has full control permissions

SMB Share - Advanced allows you to set the corresponding file types and quota limits. Here I would like to talk about file types and quota limits. File types: This file type feature is a new feature added in Windows Server 2012. Its main purpose is to automatically or manually classify files according to different file types. We will explain the details in detail later.
Quota restrictions: In Windows Server 2003, quota restrictions can only be applied to disks, while in Windows Server 2012 R2, quota restrictions can be applied to both folders and disks.

SMB Share - Application In fact, in my opinion, this function is developed specifically for Hyper-V. If you use a file server as storage, and then store all Hyper-V virtual machine systems on the file server, and then make a load and redundancy, it is also a good choice.

NFS Sharing - Fast and NFS Sharing - Advanced are mainly used for sharing on Linux servers. We will not explain them in detail here.

Select SMB Share - Advanced

Select the folders to be shared by this server:

Enter a name for the shared folder

Functional description:

Enable accessor-based enumeration:
To put it simply, if user A can only access directory A, he will not see directory B under the share, and there will be no prompt that he does not have access rights to directory B. This enhances the user experience and also strengthens the security of the file server.

To allow shared cache:
There are two modes: distributed cache mode and hosted cache mode. The former is mainly used in offices and other places without servers, while the latter is mainly used in branches to centrally manage all cached file information.

Encrypted data access:
When shared files are transmitted, the data will be encrypted to improve the security of data transmission. (It is recommended not to check this option for WIN7 system)

Here we check

Permission Settings--Click Custom Permissions

We first disable inheritance, and then add the user permissions we want to set

Add permissions

Select Subject

Select the permissions you want to give. I am giving full control permissions to the IT Support group.

One thing to note here is that when configuring permissions, you must configure a user/group with full control permissions. Otherwise, the subsequent creation of SMB will fail.

Don't forget to enable inheritance

Check the following information to continue

Do not apply quota, and apply it later. Next step

If the creation is successful, the following prompt will be displayed:

Returning to the management interface, we can see the basic information of the shared disk:

Set the shared folder's permission properties:

This concludes this article on the detailed steps for setting up a file server in Windows Server 2012. For more information about Windows Server 2012 file server, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Detailed steps to build a DNS server in the latest Windows Server 2012
  • Complete steps to configure FTP service on Alibaba Cloud Windows Server 2019
  • Windows Server 2008 R2 IIS7.5 FTP Configuration Graphics Tutorial
  • Tutorial on setting up FTP service under Windows Server 2008 R2 ent
  • Detailed steps to build FTP service in the latest window server 2012

<<:  Super detailed tutorial to implement Vue bottom navigation bar TabBar

>>:  Click on the lower right corner of the css pseudo-class to see a check mark to indicate the selected sample code

Recommend

Alibaba Cloud Server Ubuntu Configuration Tutorial

Since Alibaba Cloud's import of custom Ubuntu...

Detailed explanation of MySql slow query analysis and opening slow query log

I have also been researching MySQL performance op...

HTML+CSS+JS realizes the scrolling gradient effect of the navigation bar

Table of contents First look at the effect: accom...

How to support full Unicode in MySQL/MariaDB

Table of contents Introduction to utf8mb4 UTF8 by...

Docker Data Storage Volumes Detailed Explanation

By default, the reading and writing of container ...

Detailed explanation of the steps to create a web server with node.js

Preface It is very simple to create a server in n...

Tomcat components illustrate the architectural evolution of a web server

1. Who is tomcat? 2. What can tomcat do? Tomcat i...

How to set default value for datetime type in MySQL

I encountered a problem when modifying the defaul...

How to set the default value of a MySQL field

Table of contents Preface: 1. Default value relat...

How to use JS code compiler Monaco

Preface My needs are syntax highlighting, functio...

Java uses Apache.POI to export HSSFWorkbook to Excel

Use HSSFWorkbook in Apache.POI to export to Excel...

52 SQL statements to teach you performance optimization

1. To optimize the query, try to avoid full table...

A Brief Analysis of MySQL PHP Syntax

Let's first look at the basic syntax of the c...