Home » Microsoft, Networking, Technology, Windows Server

Map Network Drives with Group Policy Preferences

Author: Mark Menges 1 February 2011 32,913 views 2 Comments
Tags: , ,

Courtesy of lusi at rgbstock​.com

One of Windows 2008 Active Directory’s most under-utilized features is the ability to precisely target computers with Group Policy Preferences. Group Policy Preferences are different than traditional policy settings because they can be reversed by a user and not reapplied when Group Policy is refreshed. Windows 2008, Vista, and Windows 7 all have special Client Side Extensions (CSEs) for preference settings. You can download KB943729 from the Microsoft Download Center to retrofit Windows XP.

There are many preference settings available. One of the most widely used maps network drives for users, which is usually done by scripts that run when a user logs on. The Group Policy Drive Maps Preference with item-level targeting is easier to create than a script and has more configurable options.

To create a Group Policy with a Drive Map Preference:

  • Open the Group Policy Management Console and expand the Forest and Domain nodes
  • Expand the Computer Configuration\Preferences\Windows Settings node
  • Select Drive Maps then “New”>“Mapped Drive”, and a New Drive Properties window will open
  • In the window’s General tab, select “Create” from the drop down menu next to the “Action” label
  • In the “Location” text box, type the UNC path to the network share location using the \\Servername\Sharename format. You can specify a drive letter or allow Windows to use the next available letter and input alternate user accounts credentials to connect the drive
  • Now that the basic drive map is complete, select the “Common” tab, and check the box for Item-Level targeting
  • Click on the “Targeting” button, and a new Targeting Editor window will appear
  • In the “New Item” drop down list, select “User”, and a text box will appear
  • Enter the user’s name for the drive mapping. The * wildcard character can be used to specify multiple users

Link the Group Policy to the user accounts location in Active Directory, and the drive will be mapped at the next logon. You can map multiple drives to multiple users in a single GPO, and that GPO can be applied to other Preferences such as Network Printers.

Check out Microsoft’s white paper on Preferences here.

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 4.33 out of 5)
Loading ... Loading ...

2 Comments »

  • ahuvah said:

    Unfortunately Windows is know to be an unstable environment.

    We publish an Audit report annually and in 100,000 + endpoints from over 50 organizations, 100% of org have security & compliance issues , 23% of endpoints were missing patch management or lifecycle management agents and 16% did not have the latest Microsoft service packs or Hotfixes.

    frightening statistics for a CIO.

  • Arthur said:

    This was key factor in my case:

    “You can download KB943729 from the Microsoft Download Center to retrofit Windows XP.”

    Thanks.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.