Discussion Locked

Can't map a drive...

0 helpful
16 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

This one really stumps me. I have 2 PC's. PC1 is running W2K Server, PC2 is running W2K Pro (a client on the W2K Server's Domain). They are both connected to an SMC "Barricade" Router. The router plays as the DHCP server for both the server and the client. Here's where it get's odd.

I can map a drive to the server and access resources, however, when I try to map a drive to the client from the server, it tries to connect and then says "A unexpected error occured while attempting to connect tothe network resource".

The drive is shared.

The permissions are set.

I can Ping the PC2 from PC1 it even returnes the computer name when I Ping -a.

I can see it when I Browse Network Neighborhood.

If I Netview I see it, but and I can't Net Use.

I'm thinking I have WINS setup correctly. I even looked into the LMHOSTS file.

What else should I be looking into? Did I miss somthing?

Thanks!

Joe

16 replies

by acattr

2000 uses DNS for name resolution. Try to make sure there is a host entry for the 2000 pro machine. Try the HOSTS file also.

Can you connect useing the ip address of the machine

ex. net use z: \\10.0.0.101\2kproshare

If you can connect, you have a name resolution issue, if you can't connect, check your event logs.

by quintar51

you mentioned that your router is giving out IP addresses to both your server and client. Your server should have a static IP address.

by quintar51

make sure that static IP you give your server is on the same subnet as your client. Sorry for the double answers.

by quintar51

you mentioned that your router is giving out IP addresses to both your server and client. Your server should have a static IP address.

by huckleberryhound

Try using the credentials for a local user that is defined on the W2K pro machine (you can use the administrator account or another account if you want to create one).
Open a CMD prompt window and type the following:

C:\>net use m: \\pc2\share /user:pc2\administrator

you will then be prompted to enter the password for the local administrator account on PC2.

by edz

Please make sure that file and printer sharing for micorosoft networks is enabled in the Local Area Connection Properties.

by georgeminton

map a network drive to the client computer using a wins name for the client if it is supported and connect using a different name.

\\clientpc-2kp\c$

login: domain\username(administrator of the domain)
password: domain administrator password
alternate

login: administrator (machine administrator)
password: local administrator password for the client pc.

Make the local administrator password for the domain controller and the client pc the same for ease of remembering and it may also make drive mappings easier.

If after you are able to successfully do this you may want to explore the net use command.

Go to a command prompt and type

net use /?

This will show you the syntax for mapping a drive with a batch file. What a concept.

ex.
net use g: /delete
do this to make sure the drive is not mapped or the drive mapping will fail.

net use g: \\clientpc2kp\c$ * /user:domain\username /persistent:no

This should all be on one line.

An asterisk will require you to enter a password.
Alternately if you are not security conscious then type your password in where the asterisk is.
username is the name of the user you want to access the resource with. and persistent:no means that the drive mapping will be gone when you log off of the system

This discussion is closed to new replies.