File access on remote workstation

J

JustMe

I have a small workgroup consisting of several Win2k Pro SP4 workstations.
One of them has the sole purpose of being a repository for shared files.
Each workstation has 3 identical user accounts. The Administrator account on
both workstations requires a password and both accounts are identical. The
two user accounts have no password.

I have a batch file in the Start Up folder of each user on one system that
maps a share on the other system to a drive letter thusly:
Net Use L: \\WorkstationName\ShareName

If I login as Administrator Drive l: is mapped correctly. If I login with
either of the other accounts the command displays an error asking for the
password on the other. Pressing Enter allows me to continue but the drive
doesn't get mapped.

File Permissions aren't the problem. I haven't given one of the problem
accounts matching passwords but I'm pretty sure it will then work. The
problem is, I don't want to have to do that.

Is there a workaround for this situation?

Thanks in advance for any consideration someone might care to give.
 
R

Robert L [MS-MVP]

You should create the same username and password (please no blank password)
on all computers.

Access issues "computername is not accessible. No permission to access the
resources" Case Study · Troubleshooting "No accessible" ... is not
accessible ...
www.chicagotech.net/accesserrors.htm


Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, Remote Access on
http://www.HowToNetworking.com
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
 
J

JustMe

Thanks Robert. That'a what I was afraid of. In this instance, I'm reluctant
to use passwords because the setup is designed for public access. The
username is always in the login aperature and anyone wanting access just
needs to hit the enter key.

It just occurred to me that I can create an unadvertised username/password
on the target system and since I am using a batch file on startup, I can
provide the UN/PW combo in the batch. The user that logged in on the other
wokstation doesn't even have to know what's going on and doesn't need to
know a PW. Does that sound like it'll work? Do you know what the syntax for
providing UN/PW in a "net use L: \\WorkstationName\ShareName" command line?
 
R

Richard G. Harper

NET USE <driveletter:> <\\servername\sharename> <password> /USER:<username>

Replace the items in braces <> with the correct values and note spaces
between the elements.
 
J

JustMe

Thanks, Richard. Appreciate the assist.

Richard G. Harper said:
NET USE <driveletter:> <\\servername\sharename> <password>
/USER:<username>

Replace the items in braces <> with the correct values and note spaces
between the elements.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top