automate dial up networking to start

S

sue

hi

I am using a dial up connection to the internet using sbs
2000.

I have found out that trend micro messaging suite does not
dial up directtly to get updates.

Is it possible to schedule dial up networking to dial up
and get on the net so i can get the updates?

what is the executable file for dial up networking?

If so, how is this done?

thanks
 
C

Carrie Garth \(MVP\)

Hi Sue,

On Windows 2000 Professional (this is a win2000 group and not a sbs group) you can
automate the connection process for dial-up using Task Scheduler and the rasphone
command. The method you use depends on whether or not your dial-up Properties
(Options tab) are set to "Prompt for name and password...". If it is set to prompt
you can use WSH (and the SendKeys method) to automatic the process. If it is not
set to prompt you can use a simple command line.

For example, if "Prompt for name..." is not enabled and the name of your dial-up
connection (as seen in the Network and Dial-up Connections folder) is alpha1
scheduling the following task to "Run" will dial your connection at the scheduled
time.

C:\WINNT\system32\rasphone.exe -d alpha1

If "Prompt for name..." is enabled you can create a script to: popup the "Prompt for
name..." dialog and send the D keystroke to dial the connection. Then schedule this
script to run. For example, if the name of your dial-up connection is alpha1 use
notepad to create the following file and save it as C:\connect.vbs

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "rasphone.exe -d alpha1"
WScript.Sleep 1000
WshShell.SendKeys "%D"
Set WSHShell = Nothing

Then create a Scheduled Task to "Run" C:\connect.vbs

For a list of Dial-up Networking Command Line switches: Click Start, click Run, type
the following command and click Enter: cmd /c rasphone /?

And for expert advice on scripting post in the following newsgroups:

microsoft.public.win2000.cmdprompt.admin
microsoft.public.scripting.wsh

And if you would prefer an answer from SBS experts, post in the following newsgroup:

microsoft.public.windows.server.sbs

--
Carrie Garth, Microsoft MVP for Windows 2000
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- c x g

: "sue" <jhardy012003 AT yahoo DOT com DOT au>
: Wrote in message : Sent: Friday, September 19, 2003 8:22 PM
: hi
:
: I am using a dial up connection to the internet using sbs
: 2000.
:
: I have found out that trend micro messaging suite does not
: dial up directtly to get updates.
:
: Is it possible to schedule dial up networking to dial up
: and get on the net so i can get the updates?
:
: what is the executable file for dial up networking?
:
: If so, how is this done?
:
: thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top