General discussion

Locked

VPN login twice to map drive

By point05 ·
I have setup a vpn to 10 stores from windows 2000 box, problem is I connect perfectly but it will not map drive, I disconnect then reconnect and it's maps perfectly. ?? Any clues. Thanks

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Enrique Corona In reply to VPN login twice to map dr ...

Hi, try this batch.

@echo off
net use H: /delete
net use H: \\example\exapledrive:

just change the h: and example and exampledrive: to your settings.

this batch deletes the existing mapped drive and remaps the drive,, this should solve your problem.

Collapse -

by Enrique Corona In reply to

the bad thing about adding the ip addresses to the lmhosts or hosts is that if you use dinamic ip?s its just no going to work.

Collapse -

by dougcs In reply to VPN login twice to map dr ...

On other thing to check is the c:\winnt\system32\drivers\etc\hosts file to ensure the hosts are listed with their IP addresses...sometimes NetBios and DNS conflict and can't always connect to drives right away.

Collapse -

by a.lesenfants In reply to VPN login twice to map dr ...

exactly! You need to define the ip address of your servers and their corresponding names in the lmhosts file in c:\windows\system32\etc\ then import it for the connection that the vpn uses.

Collapse -

by point05 In reply to VPN login twice to map dr ...

Sugestions have worked but the problem I have not is 10 stores, all new machines, all win2k new install, vpn connects perfectly no problem, but can't map a drive through the vpn. all settings to other working stores same. all store ip addresses are different. Any help would be !! well helpfull. I could work this out myself in good time but you guys are possibly smarter than I,,, thankyou.

Collapse -

by point05 In reply to VPN login twice to map dr ...

Sugestions have worked but the problem I have not is 10 stores, all new machines, all win2k new install, vpn connects perfectly no problem, but can't map a drive through the vpn. all settings to other working stores same. all store ip addresses are different. Any help would be !! well helpfull. I could work this out myself in good time but you guys are possibly smarter than I,,, thankyou.

Back to Windows Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums