Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2010-08-26
3
Medium Priority
?
1,059 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
[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 3

Expert Comment

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

Expert Comment

by:naykam
ID: 33538235
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 2000 total points
ID: 33539943
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

604 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