Group policy preferences mapping same drive multiple times

I recently changed over our old login script that mapped network drives over to group policy preference drive maps. Worked through a few issues at first, but appears to be working fine for all of our users. However, one issue that I'm having on one Windows 7 workstation, is that it's mapping all of the drives it's supposed to, but it's also mapping one of the network drives multiple times. The longer his computer goes unrestarted, the more copies of this drive get mapped. It starts with the actual drive letter, S. Then you start to see Z, Y, X, etc starting to appear. One day he had at least 10 copies of this drive appear.

Anyone know how to troubleshoot this?


Another couple common spots to look for problems like this are listed in my screenshots below. You've likely checked these settings, but in case you haven't, it would be worth your while to do so. Obviously we're dealing with User Preferences here and you already know that, but for the sake of future users reading this question I'll give the location in GP; User Configuration > Preferences > Windows Settings > Drive Maps

Check these settings:

enter image description here

enter image description here

Again, you may have checked these settings so forgive me if I'm stating the obvious, but you'll also note that above the red highlighted area in my first screenshot is the option labeled "Reconnect:". Running with this checked in tandem with having the option of "Apply once and do no reapply" on the Common tab of the Drive Map Properties usually prevents the issue you're having; I say usually because if, like the other users in this thread mentioned, you have scripts running elsewhere it will make it hard to narrow down what is causing the issues.


That sounds more like you've got an old script with a NET USE * ... command in it, and less like a problem with Group Policy Preference. Using drive letters starting with "Z:" and moving backwards is exactly the behavior of NET USE *.

I'd run a "Resultant Set of Policy" as that user and take a look at all the scripts assigned to run as Logon Scripts. I'd also look over the Start Menu "Startup" folder and registry "Legacy Run" keys (HKCU\Software\Microsoft\Windows\CurrentVersion\Run and RunOnce) to make sure there's nothing in there.

Edit:

The behavior of Group Policy Preference, with respect to dynamically choosing drive letters (the 'Use first available starting at:' setting) moves in descending order through the alphabet. That's part of what makes me think this isn't GPP doing this.

You could consider enabling Audit Process Tracking and watching the Event Log to see if something is running net.exe. That'll take some work to parse thru the log, for sure, but that might just tell you.

Based on these "stacking up" during a single logon session my gut says you've got something calling net.exe repeatedly during the logon session. Does the user run any apps that are started via script (rather than just a shortcut to an EXE)?