Discussion Locked

Dialup run as a service

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'd like to run an ADSL dial-up connection as a service so that the connection is active and retained while logged off. At present, I have the dial up shortcut in the Start menu to make it run automatically, but being a dynamic IP from the ISP, it disconnects and changes everytime I log out/in as a different user.

How could I configure the dial-up connection to run as a service (on W2k Pro), therefore starting when the machine is booted and remaining active until it's shutdown?

5 replies

by fenaikh

Hi
You can use a registry key to run application as a service or use a utility to do it for you.

pls read these articles.

Good luck

Mohamed

Inside Win32 Services, Part 1

http://www.win2000mag.com/Articles/Index.cfm?ArticleID=8723

Inside Win32 Services, Part 2

http://www.win2000mag.com/Articles/Index.cfm?ArticleID=8943

HOWTO: Create a User-Defined Service (Q137890)

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q137890

Srvany
http://www.winnetmag.com/Articles/Index.cfm?ArticleID=7959

A 3rd party products available with more advanced options such as Service Mill

http://www.activeplus.com/default.asp?Jump=ServiceMill

***Very Important NOTE *********
After you copy the URL a space or a %20 maybe gets inserted in the URL when you paste it into your browser. Delete any spaces or such characters from the URL for the page to be loaded.

by fenaikh

Hi
use these command and place it in the regisitry places of the list of no 4,5

Good luck

Mohamed

1- rundll32.exe rnaui.dll,RnaDial exact name of dialer(connection name) entry

2- RUNDLL

"16 Start DialUp Network:
(Credits for these commands: Michael J. Gregg and Tom Lavedas)
START RUNDLL32 RNAUI.DLL,RnaDial exact name of dialer entry TRACERT -h 1 -w 1

The RUNDLL command starts DUN, the TRACERT command is supposed to actually start the dialing process. Since I do not have access to any PC with DUN installed, I could not test the TRACERT command's effect.

Use the RASPHONE command in Windows NT, which can also hang up the connection (credits: Simon Sheppard)."

http://www.robvanderwoude.com/rundll.html

3- RAS & DUN (All Windows versions)
http://www.robvanderwoude.com/ras.html

4- Definition of the RunOnce Keys in the Registry (Q137367)
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q137367

5- INFO: Run, RunOnce, RunServices, RunServicesOnce and Startup (Q179365)

http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q179365

6- RASPHONE and RASDIAL: Tips and Differences (Q125393)
winnt/2k
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q125393

by titanium

Although this previous solution could work, it is a bit of a hack and I can't determine what command would be required to execute the dialup (since dialup settings are sort of 'virtual' - not a physical exe)

Can someone else suggest something better?

This discussion is closed to new replies.