Solved

Configuring Mapped drives on Windows 7 with a 2003 Domain controller

Posted on 2014-04-16
4
209 Views
Last Modified: 2014-05-13
Hi,

Admittedly, our domain controller is old and will need to be upgraded eventually, but it's the best I have for now. I'm running into an issue where the script will not run and map drives to all PC's that log onto the domain. Right now I have it configured with a .bat file in the sysvol\{Domain}\scripts folder. Here is the script that I'm running.

net use x: /delete /y
net use x: "\\PCNAME\Shared Folder"

I would appreciate any tips to get these mapped drives to work with these Windows 7 PC.

Thanks in advance!
0
Comment
Question by:Whah
4 Comments
 
LVL 20

Accepted Solution

by:
Lazarus earned 167 total points
ID: 40005361
It might work better for you with a VBS script:

Dim Network
Set Network = CreateObject("Wscript.network")

Network.MapNetworkDrive "X:", "\\PCNAME\Shared Folder"  ,true
0
 
LVL 23

Assisted Solution

by:Thomas Grassi
Thomas Grassi earned 167 total points
ID: 40005386
msg * "Welcome to OUR Domain"
net use H: "\\192.168.1.24\users\%username%" /persistent:yes
msg * "Home Folder now mapped"

Also make sure the user accounts has the name of your batch file set correctly

The above works on all platforms
Windowx XP
Vista
Windows 7
Windows 8

I would try using the ipaddress in place of the network name
0
 
LVL 77

Assisted Solution

by:Rob Williams
Rob Williams earned 166 total points
ID: 40007655
It should work fine.  Try adding a pause statement at the end so that you can see if there are any reported errors when it runs.

You use \\PCName\Sahred Folder.  I assume PCName is the server and not the PC itself?
Also should you have any spaces in the name you need quotes.

The following recreates the mappings at every login.

Net Use /persistent:no
Net Use * /delete
Net Use X:  "\\Server Name\Share Name1"
Net Use Y:  \\ServerName\ShareName2
Net Use Z:  \\123.123.123.123\ShareName3
0
 
LVL 11

Expert Comment

by:hecgomrec
ID: 40008208
Please try to see if you can access the shared folder via Windows Explorer.

If you can't, maybe you are not capable to see the server either.

Run the basics, try to ping the server by ip and dns to see if any works.  Run the commands manually in one of the stations to see which error you get.  Troubleshoot as needed and try the script again.

Most likely you need to enable Network discovery.  If the network discovery setting on your computer is set to Off, you won't see other computers and devices on the network. To change your network discovery setting, follow these steps:

1. Open Advanced sharing settings by clicking the Start button and then clicking Control Panel. In the search box, type network, click Network and Sharing Center, and then, in the left pane, click Change advanced sharing settings.

2.Click the chevron Picture of the chevron icon to expand the current network profile.

3.Click Turn on network discovery, and then click Save changes. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

Try it and let us know.
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Internet Speed Test 5 101
What are your guildelines for replacing network hardware? 8 82
How To Delete Old VPN Generated Connections 3 57
Group Policy Question 7 61
Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

911 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

19 Experts available now in Live!

Get 1:1 Help Now