remote machine needs to map a drive over VPN.
Posted on 2004-10-18
I'm using windows RRAS.....only have the VPN function on.
Maybe I can have a login script run when a user VPNs in over RRAS?
Here is my trouble:
I have a server "A" that is scheduled to VPN into another server "B" every night. Then, server "A" is supposed to backup one of its folders to a shared drive (U:\) on server B.
The scheduled VPN-in works fine. I just use the AT command.
The sticky point is the drive mapping. One possible solution would be to have a login script. If my VPN server "A" had a login script to map the drive it needs, then I'd be fine. But, as we know, login scripts run at domain login NOT vpn sign-on.
I also tried to just map the drive beforehand, manually, choosing persistent connection. I figured as soon as VPN connects, the mapped drive will just *be there*. But no, NT backup reports it as unavailable.
So, how can I get a remote machine to map a drive after it calls in via VPN?
To sum up:
1. Machine A VPNs into Machine B (THIS WORKS)
2. Machine A maps a shared drive (say, U:\) from machine B (\\machineB\files)
3. Machine A uses NT backup to copy some files to machine B