Solved

Why won't Mapped Drives Group Policy apply?

Posted on 2010-11-28
3
613 Views
Last Modified: 2012-05-10
We've recently deployed several GPOs that map network shares based on group membership.  The policies were all set up exactly the same except for changing the drive and the group having access to it.  The shares have permissions configured the same.  And the security groups are set up the same.

The problem is that two of the GPOs work fine, with the network drives appearing for the appropriate people.  The other three policies don't seem to apply correctly and the mapped drives don't appear for the users in the respective groups.

Has anyone seen this before and if you have, can you help me?  Thanks.
0
Comment
Question by:cclausen1
3 Comments
 
LVL 27

Expert Comment

by:KenMcF
ID: 34227684
How are you mapping the drives, thought scripts or using GPP?

If you are using GPP and your clients are running XP do you have the client side extensions installed?

If you run gpresult as the user do you see the policy being applied?

Are the GPOs linked to the OU the users are in?

0
 

Author Comment

by:cclausen1
ID: 34233238
The drivers are being mapped using GPP.

We're working in a terminal services environment with all servers running 2008.

I'll run and check gpresult.

The GPOs are linked to the OUs the users are in (triple checked).
0
 
LVL 1

Accepted Solution

by:
fhp-na earned 500 total points
ID: 34239708
I'm sure you have checked this, but double check the destination folder permissions.  Win2k8 is smart and if permissions are not set properly, the drives will not map.  I have personally had this problem.  Even if NTFS permissions are set, something may not be propogating properly (file server reboot should fix this).  You can also try creating a vbs file that maps the same drives and apply it manually to test and verify that these paths can be mapped correctly.  Here is a sample vbs mapping script
Dim WSHNetwork, objNetwork, objShell, WshShell, regkey, SRegMarkerValue
Set objNetwork = WScript.CreateObject("WScript.Network")
Set objShell = WScript.CreateObject("WScript.Shell")
Set WSHNetwork = CreateObject("WScript.Network")


'Disconnect ALL mapped drives
Set clDrives = WshNetwork.EnumNetworkDrives
For i = 0 to clDrives.Count -1 Step 2
    WSHNetwork.RemoveNetworkDrive clDrives.Item(i), True, True
Next 


On Error Resume Next
'Map all drives
objNetwork.MapNetworkDrive "H:", "\\fileserver\path"

On Error Goto 0

'This is to set the autodisconnect for drive mapping to "Never"
Set WshShell = WScript.CreateObject("WScript.Shell")
regkey = "HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\autodisconnect"
On Error Resume Next
readreg = WshShell.RegRead(regkey, -1, "REG_DWORD")
If Err Then
		Err.Clear
		RegRead = Null
	End If
'Adds autodisconnect registry key if not found or if different
If regkey <> readreg Then
WshShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters\autodisconnect", -1, "REG_DWORD"
End If

Wscript.Quit

Open in new window

0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

821 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