How to create automatic daily connection to SBS

Posted on 2006-11-19
Last Modified: 2012-05-05
I have a machine at a remote location. I manually connect it to our SBS by using the connection that the connection manager installed on the desktop. Then, I manually run backup software.
I am trying to automate this, using the "Scheduled Tasks". Running the backup is no problem. Nor is the drive assignment, for which I would just writ e BAT file with NET USE.....
The problem is connecting the actual machine to the SBS VPN. If I create a scheduled task to the network connection or a shortcut to it, it says it runs it succesfully but nothing happens. I have also tried to make the VPN SBS the default connection and force it to dial in IE, but this simply ignored the connection.
Any suggestions how to accomplish a scheduled connection to our SBS VPN? We are using a DNS domain name to connect with a static IP.
Thanks in advance.
Question by:Mindspace
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
  • 3
  • 2
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 17982853
You need to add a rasdial.exe command to your batch file that runs the program.  This will initiate your VPN connection for you.

See: for info on RASDIAL.


Author Comment

ID: 17984924
Looks like the right program, but there is no .pbk file in that directory. I did some looking around, and typing in the name of the network connection "Connect to Small Business Server" gives me the "Not Implemented" result. Typing any other name gives me a 623 error.
I am already connected to the internet when I establish this connection. Any pointers?
LVL 74

Accepted Solution

Jeffrey Kane - TechSoEasy earned 125 total points
ID: 17985373
Create a new VPN connection manually in XP and use that connection instead.


Author Comment

ID: 18000598
Since this is not a regular TCP/IP connection but a netowrk connection created byt the SBS connection manager, I can't see any properties, and have no idea how to re-create it manually. Any tips?
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 18001009
Okay... now you get an answer similar to what your mother said when doing your homework and shouted, "how do you spell emancipation"?
(Look it up!  Because this way you'll find out how much content there is right there on your server).  :-)

In your Server Management Console, open the Information Center > Documentation.  Then search for "Configure VPN".  In the topic list, select "Connect remotely to the server" and then expand "Using a virtual private network" to see the steps for configurng a VPN connection on either a Windows XP or Windows 2000 machine.

Of course, if you run into any problem.. please let me know.


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction At 19:33 (UST) on Tuesday 21st September the long awaited email arrived with the subject title of “ANNOUNCING THE AVAILABILITY OF WINDOWS SBS 7 PREVIEW”.  It was time to drop whatever I was doing and dedicate as much bandwidth as possi…
The articles for turning off the Client firewall policy on the internet are for SBS 2008 and don't really help for SBS 2011. They actually moved the Client firewall policy. In 2011, the client firewall policy has moved to the SBS computers conta…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…

752 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