Link to home
Start Free TrialLog in
Avatar of siacom
siacomFlag for Australia

asked on

Windows 7 Drive Mapping shows disconnected or does not connect through script.

I have a vbs script running on 2008 server for all workstations.

The sript runs perfectly with no errors showing and confirms drive mappings as sucessful. on all the XP machines the drive mappinds show.

On Windows 7 however there are 2 outcomes.

1) Some Windows 7 will show the maaped drive as disconnected.
2) Some Windows 7 will not show the drive connection at all.

If I run the script manually again \\server\netlogin\startup.vbs, the script runs in exactly the same way but this time all drives show...

Does anyone know how to resolve this problem ?

Please do not asl for the script its very long and works perfectly. It is obviously something to do with Windows 7. Perhaps even something to do with server 2008  group policy that might fix this.

ASKER CERTIFIED SOLUTION
Avatar of andoss
andoss
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Drive maps can be applied via Group Policy Preferences, avoiding any issues with scripts.
Unless you really need to do it via a script. If you do decide to try to map your drives with GPP make sure you administer Group Policy form a Windows 7 machine with the Remote Server Administration Tools for windows 7 installed and remember that drive maps are a User (not Computer) preference.

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&displaylang=en

http://blogs.technet.com/b/grouppolicy/archive/2009/02/11/gp-preferences-will-reduce-logon-scripts-mapping-drives.aspx
Avatar of siacom

ASKER

Thanks that worked.