Auto-dialing a dial-up (RAS) internet connection.

A

Adam Nofsinger

Hey,

I bashed my head against this one over and over. I could get my
application to automatically connect to the internet using the settings
in "Control Panel -> Internet Settings -> Connections [tab]". However,
the first time our custom application would try to use the Internet, a
stupid dialog box would pop up and ask whether I wanted to Connect, edit
some settings, or work offline. There is an option to click -
"Automatically Connect" - but unfortunately this is a remote device and
thus I cannot connect to it if it doesn't connect to the network first.

I finally came up with a solution. A simple registry fix:

http://adamnoffie.blogspot.com/2007/04/ras-dial-up-tiptrick-for-auto-dial_12.html

Hope maybe this helps someone else.

Adam
ims3k.com
 
K

KM

Adam,

Nice tip!

Just wanted to add some extra there since I had to deal with that long time ago.

You obviously named your connection ("sprint"?). In general though, the registry path should look like the following:
[HKEY_CURRENT_USER\RemoteAccess\Profile\<ConnectionName>],AutoConnect =dword:0 or 1.
Where the ConnectionName is the name you assigned to the dial-up connection created.

More details about that component you can find here: http://support.microsoft.com/kb/316530
 
A

Adam Nofsinger

Good call KM!

I updated my post accordingly. The fact that you had dealt with that
long ago, and all the other knowledge you and other dispense on this
forum makes me think that Microsoft should really get around to making
an XPE wiki. I think I saw it mentioned once somewhere.
 

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

Similar Threads

Creating a RAS Dial-up Entry As a Component? 1
Dial-up problem 4
Cellcard (modem) dial-up issues - general solutions? 3
RRAS Dial up Problem 0
2 silumtaneous dial-in RAS 16
RAS 1
Dial Up Connection 2
Windows XP Dial Up Connection Box 0

Top