Mapped drives not connecting during startup
I've been looking high and low for a resolution for this problem and can't find one. I've read many posts and nothing helps. The only thing that helps is to disable UAC on client computers. This is not acceptable. Can anyone please help out and point me in the right direction? Mapped drives and a whole bunch of stuff gets pushed down via GPO. Everything else seems to work (printers, permissions, program installs, etc.), just mapped drives don't. Help!!!
December 15th, 2011 5:33pm

Hi, Try to use logon scripts to map the network drive via GPO for test: First make a batch file: For example: \\server\sharefolder so make a batch file this way. net user z: \\server\sharefolder save it. paste the batch file on the server on the following location C:\WINDOWS\SYSVOL\sysvol\<domainname>\scripts. More detail, you can also refer these articles: http://www.intelliadmin.com/blog/2006/05/how-to-setup-logon-script-on-your.html http://www.watchingthenet.com/create-a-batch-file-to-map-drives-folders.html http://www.amset.info/loginscripts/default.asp Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information. http://support.microsoft.com/kb/325347 Hope it helps Regards, Leo Huang TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tngfb@microsoft.com Leo Huang TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
December 15th, 2011 10:04pm

Hi, Try to use logon scripts to map the network drive via GPO for test: First make a batch file: For example: \\server\sharefolder so make a batch file this way. net user z: \\server\sharefolder save it. paste the batch file on the server on the following location C:\WINDOWS\SYSVOL\sysvol\<domainname>\scripts. More detail, you can also refer these articles: http://www.intelliadmin.com/blog/2006/05/how-to-setup-logon-script-on-your.html http://www.watchingthenet.com/create-a-batch-file-to-map-drives-folders.html http://www.amset.info/loginscripts/default.asp Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information. http://support.microsoft.com/kb/325347 Hope it helps Regards, Leo Huang TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tngfb@microsoft.com Leo Huang TechNet Community Support Yes, if I do that it works. But I would much rather use our current system as we have many vbs scripts for many OU's and it would make like a lot easier and less complicated if we can get it working the way it is now. The scripts will run after someone's logged in. So the scripts are fine. Even parts of the scripts work fine. There is a section to install a network printer and that will happen, just the drive mappings refuse to cooperate.
December 17th, 2011 4:33pm

Hi, Could these users manually map the network drives? Or let one of the user to use the VB script alone to see if it works. If it works when disable UAC on client, the machine may need to elevate the permission to perform this bahavior. Try to change the elevation prompt bahavior for standard users for test. More detial, you can refer this artilce: http://technet.microsoft.com/en-us/library/cc709691(WS.10).aspx Regards, Leo Huang TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tngfb@microsoft.com Leo Huang TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
December 19th, 2011 3:34am

Sorry, but I don't see anything in that link that will help me. The only thing that looks like it may help is: To configure an application to always run elevated Right-click an application that is not likely to have been assigned an administrative token, such as a word processing application. Click Properties, and then select the Compatibility tab. Under Privilege Level, select Run this program as an administrator, and then click OK. But those options aren't available to me. I'm assuming because it's not an executable file, but vbs. Or is there something else that I'm missing?
December 19th, 2011 4:49pm

I suspect some parts of your script content (map network drive) is not correct or lost some option. You can go to script forum for checking your script: The Official Scripting Guys Forum! Forum The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding. Regards, Leo Huang TechNet Subscriber Support in forum. If you have any feedback on our support, please contact tngfb@microsoft.comLeo Huang TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
December 22nd, 2011 3:17am

Try this, open notepad and type these two lines subst x: /D subst x: C:\downloads save the file as something like map.bat the name is not important, but the .bat file extension is x: is the drive letter you want to use C:\downloads is the path to your share that you are mapping to If the share is nested deep and includes spaces in the path you will need to use "Quote Marks Around the Path Statement" If this works for you, then put the map.bat file in your startup folder Hope this helps Regards
December 22nd, 2011 10:31am

Have a look here as it probably applies to your situation: http://support.microsoft.com/kb/937624 HTH ned4spd8874 wrote: > > >Sorry, but I don't see anything in that link that will help me. The only thing that looks like it may help is: > >To configure an application to always run elevated1. > >Right-click an application that is not likely to have been assigned an administrative token, such as a word processing application. 2. > >Click Properties, and then select the Compatibility tab. 3. > >Under Privilege Level, select Run this program as an administrator, and then click OK. > > > >But those options aren't available to me. I'm assuming because it's not an executable file, but vbs. Or is there something else that I'm missing? Hay
Free Windows Admin Tool Kit Click here and download it now
December 23rd, 2011 10:37am

Thanks, that seems to do the trick! Just gotta figure out how to push this down via GPO now.
December 23rd, 2011 4:33pm

Just create an ADM template with the following in it and add it to your GPO (add/remove templates): CLASS MACHINE CATEGORY !!WIN7mods CATEGORY !!KB937624_Description POLICY !!EnableLinkedConnections EXPLAIN !!EnableLinkedConnectionsHelp KEYNAME "Software\Microsoft\Windows\CurrentVersion\Policies\System" VALUENAME "EnableLinkedConnections" VALUEON NUMERIC 1 VALUEOFF NUMERIC 0 END POLICY END CATEGORY ; KB937624_Description END CATEGORY ; WIN7mods [strings] WIN7mods="WIN7 Modifications" KB937624_Description="KB937624 Allow Win7 mapped drives in script to be visible to user." EnableLinkedConnections="Enable workaround" EnableLinkedConnectionsHelp="This policy enables the workaround to allow mapped drives in VBS logon script to be visible to user in Windows 7.\n\nSee KB937624 for more details.\n\nEventually we hope to use GPP for mapped drives and can then eliminate this setting." Hope this helps.Hay
Free Windows Admin Tool Kit Click here and download it now
December 23rd, 2011 4:53pm

Thanks for the ADM, I was going crazy trying to figure out how to do that. However, it doesn't seem to be working. It's installed and set, but it's not propagating down. I tried to copy/paste below so you can see it seems to be installed and setup correctly, just not taking effect. Administrative Templateshide Policy definitions (ADMX files) retrieved from the local machine. WIN7 Modifications/KB937624 Allow Win7 mapped drives in script to be visible to user.hide Policy Setting Comment Enable workaround Enabled
December 24th, 2011 6:26pm

Did you perform a gpupdate /force? When i save the contents as an ADM and then import the template it works for me: I open registry editor and go to HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System and I do not see a value for EnableLinkedConnections. Then, using Group Policy Editor I set "Enable Workaround" to ENABLED and click Apply. Then gpupdate /force I now see EnableLinkedConnections set to DWORD 1 after refreshing registry. If I set it to DISABLED and do the same steps, it is now set to DWORD 0 after refreshing registry. If I set it to NOT CONFIGURED is disappears from registry after refresh. Sorry, I can't think of anything else.... Hay
Free Windows Admin Tool Kit Click here and download it now
December 24th, 2011 7:12pm

Sorry for the late reply. I'm fortunate that I have the week between Christmas and New Year off! But I'm back now. Yes, I have performed a gpupdate /force as well as numerous restarts trying to figure this out. The policy is definitely enabled but it just doesn't seem to get pushed down for whatever reason.
January 3rd, 2012 4:25pm

Okay, last try: On your test computer, import the template and apply the policy LOCALLY by using gpedit.msc on the LOCAL computer. Check the registry to see if settings are being applied. If so, then at least you now know the template and settings work and can troubleshoot to confirm you ARE getting the applicable Group Policy that you had set earlier.Hay
Free Windows Admin Tool Kit Click here and download it now
January 3rd, 2012 4:56pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics