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

Quickly master how to get started with Vuex state management in Vue3.0

Vuex is a state management pattern developed spec...

How to manually upgrade the node version under CentOs

1. Find the corresponding nodejs package, refer t...

Detailed explanation of docker's high availability configuration

Docker Compose Docker Compose divides the managed...

JavaScript BOM Explained

Table of contents 1. BOM Introduction 1. JavaScri...

Summary of nginx configuration location method

location matching order 1. "=" prefix i...

MySQL batch removes spaces in a certain field

Is there any way to remove spaces from a certain ...

How Database SQL SELECT Queries Work

As Web developers, although we are not profession...

Introduction to HTML for front-end developers

1 Introduction to HTML 1.1 First experience with ...

Pros and Cons of Vite and Vue CLI

There is a new build tool in the Vue ecosystem ca...

Centos7 installation of MySQL8 tutorial

MySQL 8 new features: My personal opinion on MySQ...

JS, CSS and HTML to implement the registration page

A registration page template implemented with HTM...

How to install and configure the Apache Web server

Learn how to host your own website on Apache, a r...