When deploying a file server, we often use the method of ing network drives to access shared files. However, if a new employee leaves, transfers a job, or changes a computer, he or she has to remap the network drive, to a certain extent, it increases the workload of the system administrator and affects the work of employees to a certain extent. Although it is not difficult to access the network drive, for ordinary employees, it is still a headache. For example, Mr. Wang of the finance department can access the financial shared reports on pc1. in PC2, he also hopes to access the reports normally. How can he Add a new ing, isn't it very troublesome? The most convenient way to solve this problem is to use powerful group policy functions.
Setp1: first, create an OU of the finance department in the domain control, and add employee Wang Xiaoming
Figure: 1Step2: In [start]-[management tools], find [Group Policy Management], open it, right-click the OU Finance Department, and create a new GPO: ing drive,
Figure: 2Setp3: edit the Group Policy and publish the ing drive. Right-click the policy "ing drive" under the Organization's Finance Department and expand it, after you find the "drive ing" option under "user configuration"> "Preferences"> "window settings", right-click the option in the window on the right, in the right-click menu, choose new ing drive. The new Drive Properties window is displayed.
Figure: 3Step3: edit the new drive attributes. The setting in this attribute is directly related to whether the drive can be correctly published. Therefore, we need to analyze it in detail.
Figure 4 [operation]: Four options are available in the drop-down list of this type: Create, replace, update, and delete. The application result of the Group Policy varies depending on the selected operation and whether the drive letter already exists. [Create]: Create a New ing drive for the user. [Replace]: delete and recreate the user's ing drive. The final result of the replace operation is to overwrite all existing settings related to the ing drive. If the drive ing does not exist, the "replace" operation creates a new drive ing. [Update]: Modify the user's existing ing drive settings. Unlike "replace", this operation only updates the settings defined in this preference. All other settings are maintained as configured on the ing drive. If the drive ing does not exist, the "Update" operation creates a new drive ing. [Delete]: delete a user's ing drive. Because the client does not have a mapped network drive, here we select the [Create] option, we can also select different options based on the actual situation. [Location]: in this item, we must enter a UNC path (such as \ server \ sharename, \ server \ hiddenshare $ or \ server \ sharename \ foldername ), if the above operation options are created, replaced, or updated, this location has to be added. If it is deleted, it is not required. Here, we must remember to authorize the shared folder to the user; otherwise, the user will not be authorized to use it after the ing is successful! [Drive letter]: Configure an identifier for the drive to be mapped. This is relatively simple. I used to use it from Z. Step 4: You can omit the options next to [connection identity]. Click the [common] tab, select the [project-level target], and click the [target] tab, open the target Editor (6)
Figure 5: Click the [new project] button in the upper left corner of the [target Editor] window. A long string menu is displayed, the menu contains all the objects we want to apply the policy to. Since we mentioned previously that the driver is mapped to employee Wang Xiaoming, we select the [user] at the bottom of the menu.
Figure: 6Step5: select the target user of the Policy Application
Figure: 7 after selecting the user who wants to map the drive, click OK to return to the "New Drive Properties" window (5), and click OK to apply the policy, at this time, we will find that there is a change in the right window in the Group Policy Editor. In turn, we can release several drives according to different requirements.
Figure 8: When we log on with Wang Xiaoming's account, we will find that the shared folder we mapped already exists in the resource manager, in this way, no matter the employee Wang Xiaoming logs on to that PC, he can access his network drive without any access.
Figure: 9
This article is from the blog "Mr. Sun ".