Solved

remote machine needs to map a drive over VPN.

Posted on 2004-10-18
4
230 Views
Last Modified: 2010-04-19
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
0
Comment
Question by:ZabagaR
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Expert Comment

by:cruble514
ID: 12353693
Have you tried a 3rd Party backup utility such as SmartSync (www.smartsync.com)?  I know this has a event scheduler feature that will allow you run a vpn connection and other scripts prior to running your backup or sync.  I haven't use the function myself - just know it is there.  They give you a free 30 day trial, so check it out.
0
 
LVL 15

Author Comment

by:ZabagaR
ID: 12381499
I answered this myself.

A good way to authenticate with another machine, without explicitly mapping a drive is:
net use \\machinename\IPC$ /user:username password

Then for NTBackup, don't use a mapped drive.  Back up files to a path such as "\\machinename\share".
So, instead of mapping a U:\ drive to \\machinename\share then backing up to it, I authorize myself using the IPC$ then back up to the share name - no drive letters required.

It works!
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12821557
Closed, 500 points refunded.

modulo
Community Support Moderator
Experts Exchange
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question