• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 820
  • Last Modified:

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.

1 Solution
Start > type UAC in run > click Change user and Account settings.
Turn User Account Control off completely.

Does that fix it? Doing the same worked for me in a 2003 Domain Environment.
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.


siacomAuthor Commented:
Thanks that worked.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now