Solved

Server 2008 R2 and Windows 7 issue of not mapping drives w/ login script

Posted on 2010-08-26
3
1,044 Views
Last Modified: 2012-08-14
Our environment consists of Server 2008 r2 and Windows 7 hosts.

We are mapping network drives using a VBS script and a GPO.

 

We are getting inconsistent results where sometimes it will map the drives and some times nothing.

Can you help? What is best practice on mapping network drives for host machines in this scenario ?

 

Thanks.
0
Comment
Question by:dirkdigs
3 Comments
 
LVL 3

Expert Comment

by:anomiagrunge
Comment Utility
Check your DNS resolution from the hosts with problems.
0
 
LVL 12

Expert Comment

by:naykam
Comment Utility
I would assume best practice with 2008, is use group policy to implement the shares. Back in 03 days, scripting was the go, but now all the functionality is in group policy objects. Try using IP addresses in the script - that will prove if you are having DNS issues.

To troubleshoot, add some lines to write the computer name to a file if successful / if fails.

Maybe share your code?
0
 
LVL 20

Accepted Solution

by:
Iain MacMillan earned 500 total points
Comment Utility
on our Win 7 Pro test systems in a 2003/2008 network, we're still using batch files from the NETLOGON share, and they seem to work fine, but we have 1 x 2003 and 1 x 2008R2 DC's.  We have disabled IPv6, the advanced options on the NIC and the IP Helper service.

drives map fine, with the user's home drive mapped via AD profile.  if you only have 2008 R2 servers (lucky you), then it won't be an SMB issue, but maybe a network issue, if you leave the IPv6 protocol running on the clients (unless you have one of those also).  i would also advise to make sure NETBIOS is enabled on your NICs, especially if your scripts are mapping the drives using the system names, as NAYKAM suggests, if you edit them to use IP address instead of names, it could point to a DNS issue (check DHCP server options/settings too).
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Suggested Solutions

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now