How to automatically dial-up on system startup

Posted on 2003-11-03
Last Modified: 2010-08-05
I want my system to automatically dial-in ito my ISP when on system startup. Currently , i can do this only when a user logs on using the start up folder. There is a scheduled task available that lets you run processes at system start-up but when I try to browse to my ISP dial-up shortcut, the file dialog does not display it.
Question by:teknokrat

Expert Comment

ID: 9669915

open up your dial up connection properties.

Click on security TAB
Check 'connect automatically'
Hit OK



Expert Comment

ID: 9670016

So your ISP exec is in the start up folder, click save, to save your password and user name when you log onto your ISP, doing that and a combo of the abobve post and the satrt up folder thing hopefully will give you want you want.

LVL 67

Expert Comment

ID: 9670561
Otherwise, add the link to the ISP shortcut under Run entry in the registry:
Navigate to HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run
Right-click in the right-side pane.
Click New/String Value
Type in the name as the name of your ISP
Double-click that entry after you save it and point the data value to your shortcut.
LVL 15

Expert Comment

by:Rob Stone
ID: 9670932
If its an exe then you can use SRVANY to make it a system service, although I'm not sure if its recommended doing this.

You could also have a batch file pointing to it and put it in the startup scripts in gpedit.msc
Computer Config > Windows Settings > Scripts > Startup

Author Comment

ID: 9702410
None of these answers work. There is no connect automatically on any security tab in dial-up properties and i want the dial up to start up on machine start up NOT on user logon so the start up folder idea is out. The registry key idea might work but how do I enter the dial up shortcut - its name is not enough. In fact no file open dialogs can even see it. I will try the group policy editor but I think it needs to execute a script file and not a shortcut.
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

LVL 67

Expert Comment

ID: 9716431
I do not believe this will work with XP.  I've tried via scheduled tasks and the registry (above), but the limitation is that the modem is not 'live' until you log in (it connects as soon as I log on).
With older version of NT, you could change properties of your hardware to alter the time it would become available (system, boot, etc) - but I don't find this customization with XP.
Your best option to get this scenario working is to create a shortcut of your ISP DUN connection.  Save it in a common folder and place it under Documents and Settings under the appropriate user account and have that user account log in automatically.
Even with my shortcut set up under local machine startup, it took a little bit for the connection to register.
If you still want to try these options for yourself, I'm included instructions for both (scheduled tasks and regedit):

To do this via scheduled tasks:
You'll have to save a shortcut to your DUN connection.  (Start/Settings/Network Connections - click and drag the appropriate connection to your desktop and click Create Shortcut here when you release the right-mouse button).
You'll have to move the link (.lnk) file to a common area, like \windows\system32.
Once done, you can use Scheduled Tasks to locate this link file and set it to go when your computer starts.  You'll want to modify the properties of this connection to confirm that it's set up to connect automatically.  Open up your network connections and right-click the appropriate ISP icon.  Go to Options tab, and deselect "Prompt for name", "Include Windows logon domain", and "Prompt for phone number".  Click OK to close

Via Registry:
Create the shortcut as listed in the previous example.
Open the registry:
Navigate to HKey_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Run
Right-click in the right-side pane.
Click New/String Value
Type in the name as the name of your ISP
Double-click that entry after you save it and point the data value to your shortcut ("C:\Windows\System32\MyISP.lnk")

Author Comment

ID: 9716475
unfortunately i do not want to have a default user log in automatically as people will constantly have to log out to use their account. Currently I am thinking - what if i started a process at system start up that needed internet access, wouldn't it automatically run the dial up?
LVL 67

Accepted Solution

sirbounty earned 125 total points
ID: 9722451
Not to my knowledge because of the modem-limitation listed above.
As an alternative, could your users use the Fast User Switching to change accounts, instead of logging off?

Expert Comment

ID: 9933610
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Author Comment

ID: 9941040
Ok, I think its clear that no one has solved this problem and that it probably does not have  a solution because of windows' limitations. However i think sirbounty provided the best overall explanation of the problem and many generaly useful workarounds so I am awarding him the 'bounty'

thank you all

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Event ID: 1202 / Source: SceCli 6 88
Event ID: 1008 / Source: Microsoft-Windows-Perflib 2 129
OLD TECH - PKZIP Only Zips 7 Files 17 74
Error login w2012 domain 6 66
Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
There are 2 things you must have in order to connect to the internet behind a router, The "Gateway IP" of the router, which is usually something like, I've seen routers with default values of:,,, …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now