Network share mapped to specific drive letter doesn't persist on login
Posted on 2011-10-20
I have several users (including me) that have a strange situation with mapping to a network share on a Windows 2003 Standard Server. We normally manually map a network home drive to I: on each PC using the map network drive... menu item and all is well. However, after virtualizing our physical server (P2V to an ESXi host) some user's network home drive won't persist and we must manually remap them back to I: after each login. If we map the share to a different letter (like H:) the map persists and returns normally at login. It's only if we try to map to I: and only for some people. This occurs on both XP (SP3) & Win7 machines.
I've noted the following:
1. For the 'good' drive letters and for users not having this problem the registry HKEY_CURRENT_USER\Network\H UserName Value is a Reg_DWORD type with a value of 0. For users with the problem the 'bad' drive letter Registry HKEY_CURRENT_USER\Network\I UserName value is a REG_SZ type with no value (it's blank). I've tried deleting the UserName entry and reentering it as a DWORD type with value 0 but on the next reboot or login the entire Registry entry for the drive letter is gone. For users with the problem all of the other mapped drive letters have a DWORD type.
2. We can map this share to a different letter and the drive map will persist on future logins and the UserName Registry entry is a DWORD type. It's only some computers that write the registry entry UserName Value as a Reg_SZ type and only for this particular drive letter and these are the one where the drive mapping doesn't persist.
3. I've tried using IP address instead of Hostname when mapping the drive but the results are the same, The drive doesn't persist. I've tried mapping this drive letter to a different share and it still uses the Reg_SZ type and it also disappears on the next log on.
Any ideas on what would be causing this? Right now users with the problem are shifting to a different drive letter for their home drive but I'd like for every workstation to be consistent.