IT:如何通过组策略在Windows客户端上映射网络驱动器

本文介绍了网络管理员如何通过组策略在Windows客户端上方便地映射网络驱动器,从而避免使用脚本。这是一个适用于IT基础教学的教程,详细说明了创建和编辑组策略对象(GPO),包括指定用户设置、命名策略、设置驱动器映射以及选择驱动器字母的过程。
摘要由CSDN通过智能技术生成

sshot-10

Mapping network drives is one of the most common jobs for a network administrator. In the past we used to use a script, but there is a group policy setting that can save us the scripting effort.

映射网络驱动器是网络管理员最常见的工作之一。 过去我们曾经使用脚本,但是有一个组策略设置可以节省脚本编写工作。

Note: this is part of our ongoing series teaching IT administration basics, and might not apply to everybody.

注意:这是我们正在进行的系列教学IT管理基础知识的一部分,可能并不适用于所有人。

使用组策略映射网络驱动器 (Mapping Network Drives Using Group Policy)

Open the Group Policy Management Console by searching for it from the Start Menu.

通过从“开始”菜单中搜索来打开组策略管理控制台。

sshot-26

You’ll want to drill down into your domain until you reach the Machines object, where you can right-click and choose to Create a GPO.

您将需要向下钻取域,直到到达“机器”对象,您可以在其中右键单击并选择“创建GPO”。

Note: Although the OU in our example is called the Machines OU it also contains some users. The Group Policy Setting that allows you to map drives is a User setting and is therefore assigned at logon, this means that the OU that you tie the GPO to should contain Users rather than only computers.

注意:尽管在我们的示例中OU被称为Machines OU,但它也包含 一些用户。 允许您映射驱动器的组策略设置是一个用户设置,因此是在登录时分配的,这意味着将GPO绑定到的OU应该包含用户,而不仅仅是计算机。

sshot-4

We have to give our new policy a name, we will name ours Mapped Drives (General).

我们必须给我们的新策略起一个名字,我们将命名我们的映射驱动器(常规)。

sshot-5

Now we can right click on the policy and choose edit.

现在,我们可以右键单击该策略,然后选择“编辑”。

sshot-6

The policy that controls mapped drives is located at

控制映射驱动器的策略位于

User Configuration\Preferences\Drive Maps

用户配置\首选项\驱动器映射

We need to select the policy and right click in the white space and select new mapped drive.

我们需要选择策略,然后在空白处单击鼠标右键,然后选择新的映射驱动器。

sshot-7

Change the action to create, and type a location for your shared folder.

更改操作以创建,然后键入共享文件夹的位置。

sshot-8

Now set the label, this is the name that will appear on the drive in my computer. You will also need to choose a drive letter, it is a best practice to choose a static letter across the board, the last thing you need to do is change the radio button at the bottom to Show this drive.

现在设置标签,这是将出现在我计算机的驱动器上的名称。 您还需要选择一个驱动器号,最佳做法是全盘选择一个静态字母,最后要做的就是更改底部的单选按钮以显示该驱动器。

sshot-9

Now when the users logon the drives will be effortlessly mapped.

现在,当用户登录时,将轻松映射驱动器。

翻译自: https://www.howtogeek.com/99403/it-how-to-map-network-drives-on-windows-clients-via-group-policy/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值