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

Optimization methods when Mysql occupies too high CPU (must read)

When Mysql occupies too much CPU, where should we...

Three methods of automatically completing commands in MySQL database

Note: The third method is only used in XSell and ...

Tips for turning pixels into comprehensive brand experiences

Editor: This article discusses the role that inte...

Tomcat multi-instance deployment and configuration principles

1. Turn off the firewall and transfer the softwar...

Nine advanced methods for deduplicating JS arrays (proven and effective)

Preface The general methods are not listed here, ...

Detailed explanation of JavaScript prototype and examples

Table of contents The relationship between the co...

A few things about favicon.ico (it’s best to put it in the root directory)

Open any web page: for example, http://www.baidu....

W3C Tutorial (4): W3C XHTML Activities

HTML is a hybrid language used for publishing on ...

How to start the spring-boot project using the built-in linux system in win10

1. Install the built-in Linux subsystem of win10 ...

Simple comparison of meta tags in html

The meta tag is used to define file information an...

Tutorial on installing AutoFs mount service under Linux

Whether it is Samba service or NFS service, the m...

Several magical uses of JS ES6 spread operator

Table of contents 1. Add attributes 2. Merge mult...