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

Industry Leaders: 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

The SBS 2011 release date (RTM) is supposed to be around Christmas, 2011.  This article is a compilation of my notes -- things I have learned first hand.  The items are in a rather random order, but I think this list covers most of what is new and d…
You may have discovered the 'Compatibility View Settings' workaround for making your SBS 2008 Remote Web Workplace 'connect to a computer' section stops 'working around' after a Windows 10 client upgrade.  That can be fixed so it 'works around' agai…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

636 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