Before beginning this exercise take some time to review the Using your Practice-Lab section of the website.
In this tutorial you will be introduced to you to Windows Server 2008 R2 group policy management. Follow the exercise below to get some hands on understanding of this technology and view Microsoft Technet to gain some additional information.
In this exercise you will be required to Power On and connect to the following servers from your Practice-Lab application:
Domain Controller
Domain Server
If this is the first time you are accessing a Practice-Lab why not take a few minutes to watch our video on getting started, or if you are still having difficulty connecting to your Practice-Lab device please refer to our help pages.
Overview
In This Exercise you will create a drive mapping using GPO preferences. The Drive Maps preference extension provides the ability to create, replace, update, and delete network drive mappings. This extension enables you to map network drives without writing logon scripts. Additionally, mapped network drives deployed using the Drive Maps preference extension work more consistently than those deployed using logon scripts.
Step 1 From the Practice-Labs application start and launch access to the Domain Controller device.
Click Start , from the Run menu or search bar type gpmc.msc and the Group Policy Management Console snap in should appear.
Step 2
Expand Forest: PRACTICELABS.COM expand Domains , then expand the domain Practicelabs.com , then click on group policy objects .Right click this and choose new .
Give the new policy the name Mapped Drive and click OK .
Right click the new policy and select Edit
Expand User Configuration , then Preferences and Windows Settings .
Select Drive Maps and right click then choose New Mapped Drive .
On the General Tab in the action pane choose Create .
In the Location textbox type the unc path \\plabdm01\shared_data
( Note : The share will be created later in this exercise on the Domain Server Practice-Lab device)
Choose a drive letter i.e. Z:
Choose the Common tab. You need to tick the Item-level targeting checkbox to enable the button. Once you open Targeting , click new item and then select Security Group .
When the new dialog window appears, click the button next to the Group textbox in the bottom panel.
Type in the security group Domain Admins and then click Check Names , then press OK
Click OK to confirm and you will be taken back to the new drive properties dialog.
Click OK
Close the editor and link the GPO Mapped Drive to the domain.
Step 3
To link the GPO by right the PRACTICE.LABS domain and right click.
Then select link GPO from the menu.
Select the Mapped Drive group policy object and click OK.
Testing the configuration
Step 1 From the Practice-Labs application start and launch access to the Domain Server device.
Open Windows Explorer to confirm that the drive has been mapped.
You can deploy multiple Drive Maps preference items within a single GPO. You can also target individual Drive Maps preference items to specific departments, locations, and so on. Using Group Policy preferences to deploy mapped network drives provides just as much flexibility as scripting but with less work and with fewer problems.
Summary
Think about the configurations you could use in a single GPO with item-level targeting on different settings defined Create multiple GPP mapped drives in one GPO and have them apply based on Group membership (easier than scripting!).
Have different GPP applied to targets depending on what time it is (working hours vs. non-working hours!). Create and deploy different printers/shortcuts/files depending on the users site or IP address. Apply GPP on a given date in a certain time range. Copy files based on the users language. Its very useful and saves a lot of work.
Learn more about this and similar topics
If you are interested in more topics like the above have a look at the topics in our Windows Server 2008 Practice-Labs courses:
Alternatively look at purchasing access to our Practice-Lab library that covers all of our supported technologies.
If you wish to comment on this Practice-Lab send an email to Support@Practice-IT.co.uk with your feedback.