You can press F3 to see all of available variables for use. Pro Tip: You can also use this method to create individual user folders by creating shared folders for each user in your domain named after their username and using the %LogonUser% variable in your share path to point the mapped drive to their matching folder. In my case, I have created an Accounting folder on the file server FileServer1 and shared it with the Accounting Dept security group read/write access to it. Enter the location of the shared folder you are wanting to push to your users.In the box that opens, choose Update for the Action (since we want to push a new drive rather than replace an existing drive).Right click on Drive Mappings and then click on New -> Mapped Drive.Expand User Configuration -> Preferences-> Windows Settings -> Drive Mappings.Right click the OU that you want to link the new GPO to and click on “Create a GPO in this domain, and Link it here….” This will be a user GPO so you’ll want to link it to the OU that contains your user accounts.Open Group Policy Management with a privileged account.You could just as easily use item level targeting to push out drives by OU or a number of other things, which we’ll get into during the tutorial. Here we are going to a create a group policy using item level targeting to push out a mapped network drive for Accounting based on a user’s membership to the Accounting security group. How to Map a Drive for Departmental Use with Group Policy Let’s take a look at the most common use for mapping network drives with group policy, departmental network shares. Since group policy is tightly integrated with your Active Directory, it’s very scalable. This lets you control exactly who and what gets your policy to push out your drive. The ability to use item level targeting is also huge for the group policy method. It can decrease logon times since scripts have to run every time the user logs in. Using group policy over scripting is also more efficient. Mapping Drives with Group Policy vs Logon ScriptsĪs mentioned earlier, group policy tends to be much easier for most admins to understand than scripting. This guide will walk you through each step of pushing out a mapped drive as well as taking advantage of item level targeting to make sure that drive only goes to who and what you want it to. Not only is it easier to understand for people who aren’t into scripting, it’s also easier to keep track of and audit. Using group policy is the ideal method of mapping network drives.
0 Comments
Leave a Reply. |