Solved

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

Posted on 2010-08-26
3
1,049 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
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 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Driver Error when Starting Win 7 Setup 28 49
Inactive computer in domain 7 59
Switch ports not working 8 32
SBS2008 and windows updates 2 12
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

776 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