?
Solved

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

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

Tutorial: Introduction to Managing a Linux Server

In this tutorial on systemd, we will explore:
-OS/Distro Adoption
-chkconfig and Other Legacy Commands
-Summary and Key Commands

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

765 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