Re: can't map drives when connecting over VPN

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Please only post once!

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.


"Kashif" <Kashif@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:8C413F60-80D4-43E1-83BD-EDCEFE3FA1FE@xxxxxxxxxxxxxxxx
I am setting up Windows XP Professional machine with SonicWall Global VPN
client.
VPN work fine.
User Log on to laptop as a domain user with cache credentials. Initiate VPN
link.
Laptop gets assigned the 10.1.10.x Ip address. I can ping any mchaine in the
LAN. I can browse any server. I can do "\\DC1\Netlogn". Everything seems to
be working.
But...The Login script that is assigned to each user to MAP their drives and
printers has a problem. It gets excuted but not without problem.
SonicWall GlobalVPN Client made the following calls:
NetWkstaUserGetInfo returned:user: username, logon domain:My Domain, logon
server: My Server(DC1)
NetGetDCName failed:Could not find domain controller for this domain.
calling NetUserGetInfo:Server: \\DC1, User: UserName, level: 3
NetUserGetInfo returned: home dir, remote dir: , logon scrip: username.vbs

Sometime Script will work fine and all drives will become available even
though I see the error in the line:
NetGetDCName failed:Could not find domain controller for this domain.

When It did not map the drives, I tried to ping the local lan computer from
the VPN Laptop. It seems to have hestation replying back to first ping then
goes ok.
Reply from 10.1.10.20: bytes=32 time=1884 ms TTL=128
Reply from 10.1.10.20: bytes=32 time=99 ms TTL=128
Reply from 10.1.10.20: bytes=32 time=115 ms TTL=128
Reply from 10.1.10.20: bytes=32 time=143 ms TTL-128

When I tried Start->Run-> \\DC1 frist attempt it failed to resolve.
I tried again with \\10.1.10.20 it took sometime and I was able to see my
share along with NETLOGON Share and all the scripts.
I then tried again Start->Run-> \\DC1 and it was able to show me shares

I am on Verizon Broad band when I am doing VPN to my company network.

any idea , what I am doing wrong?

Thanks for all the HELP


.



Relevant Pages

  • Logon Script Causing Laptops To Hang - Problems in script?
    ... I'm using the following script to map drives, ... functions when users logon to our domain. ... 'Disconnects Drives This assures everyone has the same drive mappings. ... objNetwork.MapNetworkDrive strTrainDrv, strPath ...
    (microsoft.public.scripting.vbscript)
  • Re: User Scripts
    ... "Always wait for the network at computer startup and logon" under Computer ... users will not have their shared drives, ... dont have any others, try a basic script, maybe adding a printer, to see ... Also one other fix is to reboot the machine 3 ...
    (microsoft.public.windows.server.active_directory)
  • Re: Login Script - System error 85
    ... After the first logon, the next consecutive logons give me System ... Is there a better way to re-map drives on each Logon? ... What I did in situations with such a script, and is good practice, is to ... MVP Microsoft MVP - Directory Services ...
    (microsoft.public.windows.server.general)
  • Re: Cant Map drive with Cache Credentials when connecting over VPN
    ... SonicWall Global VPN client. ... But...The Login script that is assigned to each user to MAP ... Domain, logon server: My Server ... Sometime Script will work fine and all drives will become ...
    (microsoft.public.windows.server.active_directory)
  • Re: Mapped drives disconnecting
    ... All drives are mapped at logon by a Kixtart script, ... Turn off autodisconnect on every server and workstation. ...
    (microsoft.public.win2000.general)