?
Solved

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

Posted on 2010-09-06
3
Medium Priority
?
809 Views
Last Modified: 2012-05-10
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.

0
Comment
Question by:siacom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
andoss earned 2000 total points
ID: 33614648
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.
0
 
LVL 6

Expert Comment

by:siht
ID: 33614737
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
0
 

Author Closing Comment

by:siacom
ID: 33615042
Thanks that worked.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question