Solved

Disable Drive Mapping GPO when a user logs into a workstation in a particular subnet

Posted on 2014-04-23
5
514 Views
Last Modified: 2014-04-25
We are running Windows 2008 R2 Native AD and use GPOs to map drives.  This works great, but now I've been asked by a user group to not map drives when they log into a workstation in a particular subnet. Is there any way to do this using GPMC? Or is there a registry hack to tell the workstation not to apply GPOs for every user logging into the workstation??
0
Comment
Question by:gobears1294
  • 2
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
brendanmeyer earned 350 total points
ID: 40018978
on each drive map, go to the common tab,
click Item Level Targeting
click  Targeting
New Item-> IP Address Range
type your IP range
click Item Options
select Is Not

You can add multiple ranges and have different options
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 40019913
Are you using Group Policy Preferences or logon script?

If you are using GPP just follow what  BrendanMeyer suggested.

If you are using logon scripts (Which at this point you probably should switch to GPP) you can use WMI Filtering.

Select * FROM Win32_IP4RouteTable WHERE Mask='255.255.255.0' AND Destination Like '192.168.10.%'
0
 

Author Comment

by:gobears1294
ID: 40020848
Thanks brendanmeyer and yo_bee

I do use GPO preferences and I will take a look at the Item Level Targeting for each GPO.  I have over 50 drive mapping GPOs.  Do you know if there is a powershell command to configure this item?
0
 
LVL 22

Assisted Solution

by:yo_bee
yo_bee earned 150 total points
ID: 40022321
Are you looking to consolidate your 50 GPO's into a single GPO leverage GPP w/ ILT?

I just looked and I do not see any commands to create GPP within GPO via Powershell.

There are cmdlets to create GPO's and set Reg values, but GPP is XML based.

You most likely will need to create each mapping 1 by 1.  
I had to do it for my 107 Printers.
:(

Sorry.
0
 

Author Closing Comment

by:gobears1294
ID: 40023063
Thanks to both brendanmeyer and yo_bee for their insight.  I'll be addressing this issue on a drive mapping by drive mapping basis.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

[b]Ok so now I will show you how to add a user name to the description at login. [/b] First connect to your DC (Domain Controller / Active Directory Server) SET PERMISSIONS FOR SCRIPT TO UPDATE COMPUTER DESCRIPTION TO USERNAME 1. Open Active …
Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question