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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VPN and Shares disappearing on Win XP Home

Status
Not open for further replies.

jsaad

IS-IT--Management
Joined
Jun 20, 2002
Messages
1,426
Location
US
we have a LAN to LAN VPN set up and running. all was running OK. the remote user can see the whole network at the home office. we mapped a drive on the remote user's computer to the server at the home office. all is working fine, then the share disappears from the user's computer. I know the VPN is up and running.

Is there a way to MAP a drive by writing a script. I guess I need to: 1) Insure the shared drive stays there 100% of the time or 2) Have an easy way for the user to re-map the shared drive. (Can i make a script that they can run to re-map the share?)

thanks for your help. look forward to your advice.

 
Try this:

From Notepa

net use DriveLetter1: \\ip address of pc/server\sharename /persistant:yes
net use DriveLetter2: \\ip address of pc/server\sharename /persistant:yes

OR

net use DriveLetter1: \\computername\sharename /persistant:yes
net use DriveLetter2: \\computername/server\sharename /persistant:yes

Save as a .BAT (batch file)...to the desktop and/or in \documents and settings\all users\start menu\programs\startup (to run automatically at login).

LMC
IT/MIS
"Never stop learning.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top