So... you have used some sort of script or a variation of a script as shown below via your active directory GPO and have no problems before.
Bam... you adopt Windows 7 and it now will not map. You searched various forums and found just as many people asking the same questions.
Set objNetwork = wscript.CreateObject("WScript.Network")
strDriveLetter = "I:"
strFileServer = "\\sharedrive.yourexample.com\"
strUserName = objNetwork.UserName
objNetwork.MapNetworkDrive strDriveLetter, strFileServer & strUserName
Before you pull your hair out, try this fix. Run regedit on your Windows 7 box.
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Create New DWORD Value with this name EnableLinkedConnections
Right click and select Modify... on the DWORD created above
Value data: 1
Base: Hexadecimal
Exit and restart computer
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCR57MXzdis2zs4eUqPZ0IPa35r3n36pbP9vDvYasQBSH-CG9oNPz2nZFSnZfydXjTWJPoW2CuWs2quG9jdtPSgLyVhQ_V7DXriIPun3MEfjyuaCTuxh6Irysz1epLPo_DRP0HGsDkRmvf/s400/win7registry.jpg)
Good luck.