Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Workgroup Network Share

Status
Not open for further replies.

technical1

Technical User
Joined
Sep 2, 2002
Messages
52
Location
GB
I wonder if anyone can help.
I have two Windows 2000 Servers running in the same "Workgroup".
I have a share on ServerA which i need to connect to using ServerB.

I can connect by browsing "My Network Places > Workgroup" but when i double click on ServerA i get prompted for a username and password. When i enter this then i am allowed to that share.

Is their a way to bypass the logon credentials/prompt etc by using a login script of some sort which is run a bootup?

I am using "net use" at the moment but i need this share to be available at all times even after a reboot.
 
Typ net help use in a dos box and you'll see that you can add a username and password to the mapping.

This is however not a very good approach. This way the username and password is in clean text and can be read.

Blutch

PS Why are you using a workgroup and not Active directory?
 
You need to create a user on serverA for the user logged on to serverB. This will get rid of the login prompt.

To make the mapping stick after a reboot, either map it in windows explorer or use the "/PERSISTENT YES" switch with net use.

Dan
 
I havent really dabbled with Active Directory.
When i reboot the machine, i have a scheduled task which runs on boot a file called network.bat
This file contains the "net use" string with the username and password.

This however does not work. When i double click the file manually it works successfully.

Using active directory do i need to create a domain?
 
Yes, you'll have to create a domain. Once set up and configured you'll have much more possibilities and easier administering.

Blutch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top