How to set up folder sharing and access in Windows server 2012

Introduction: Sometimes we need to share files to other computers, so we need to use the file sharing function of Windows system. Next, Xiaoxing will share how to share files in the Windows system.

First, we create a new folder share (simulated shared folder) that needs to be shared, then right-click the folder, click Properties: insert image description here
switch to the Sharing tab, click Share:
insert image description here
Now enter the file sharing window, first click the inverted triangle and select the required Shared user, I selected the xiaoxing user here, then click Add, and finally click Share:
insert image description here
Now we can see that the folder has been shared:
insert image description here

We can now open the shared folder in the win10 system

We win+R to open the running window, and then enter \IP address of the shared folder\folder name, my IP address here is 10.10.31.51, and the folder name is share, so I enter \10.10.31.52\share here: then it
insert image description here
will Let you enter your network credentials, just enter your user name and password, you can check remember my credentials, and then you can access the shared folder: but after
insert image description here
entering, we can't see anything, it is an empty folder:
insert image description here
Because there is no file in our shared folder:
insert image description here
we add a file in the shared folder:
insert image description here
after adding it, we return to the win10 system, and we can see the added file immediately, but our win10 system, that is, is blocked The shared client cannot add files, saying that we do not have permission:
insert image description here
this is the whole process of our shared folder and access, we can also create a shared folder in another way.

First, we right-click the win window in the lower left corner to enter computer management:
insert image description here
click on the shared folder, then right-click on the share, and finally click on the new share:
insert image description here
the next step:
insert image description here
enter the folder path or browse to select the folder, I entered here:
insert image description here
because I This is input here, so there is no such folder, but the system is still considerate. If you can’t find it, you can create it for you. Click to create a folder and continue to the next step: you can add a description here, or you don’t need to add it.
insert image description here
Download Just one step:
insert image description here
here we have several options, I choose administrators to have full access rights, other users have read-only rights (here you can also choose other, such as custom is good, but you have to set it up yourself , otherwise you will not be able to access it if you share it) Finally click Finish:
insert image description here
At this point, our sharing is complete again:
insert image description here
we can now go back to win10 and check our new shared folder:
insert image description here
click in and find that it is still the same No file:
insert image description here
Go back to Windows server 2012, create a new text document:
insert image description here
Go back to win10 again, and you can see the file:
insert image description here
Here Xiaoxing will share another method to enter the shared folder, which is to use the name of the computer to enter the shared folder , that is, we change the IP address of the computer to the name of the computer, just like this (because my computer name is xiaoxing1, so the IP address is changed to xiaoxing1): still the same input password,
insert image description here
here I log in with an administrator account:
insert image description here
here we enter the shared folder:
insert image description here
you will find a problem, you can create files in the shared folder logged in with the administrator account (this is the account permission problem):
insert image description here
above we access the shared folder The folder method is UNC path, now Xiaoxing introduces another method to access the shared folder, which is to access the shared folder by mapping a network drive.

Use the "net use" command to establish a mapped network drive connection to a specific share in the format:

net user 本地盘符 \\目标计算机名\共享名 /user:用户名 密码

Here we open the running window, then enter cmd to enter the command line window, enter: net use X \xiaoxing\public /user:xiaoxing a123456A, and press Enter: because I have logged in with the user xiaoxing before, I can no longer
insert image description here
connect , Just use the administrator account again, and then you can. In the white area below, you can see that the share shared folder has been successfully mapped to the network drive letter X disk in the wi10 operating system. Click it to access the shared resources: this is the method of sharing folders in Windows server 2012
insert image description here
. , Is it detailed enough, let’s try it after learning it! ! !

Still the same sentence, we are destined to see you again, but if you think my content is good, you can also give me a follow. Your attention and likes are the biggest motivation for me to write articles, hahahahaha! ! !

Guess you like

Origin blog.csdn.net/weixin_43635067/article/details/127684978