Discussion Locked

Dialup at Startup for Windows 2000 Serve

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

How can I have a Windows 2000 Server automatically dial a modem dialup account when it boots? If I put a shortcut in the All Users startup, that doesn't run until somebody logs on, I need the dialup to be activated Prior to logging on, as I am using Remote Administrator 2.1 (radmin.com) to logon and control the computer and if my dialup hasn't dialed, I can't get to the server.

Somebody had mentioned that this could be done with the task sceduler, however, what program do you run to start adialup session? Somekind of rundll trick?

Thanks!

Anthony

9 replies

by admin

"Always Dial Default Connection" in settings, and make the modem your default? We seem to have the opposite problem where we share dial-up with the fax line.... we have to actively turn it off!

by anthonymcse

Now, I do need the dialup to occur right at boot time, not after running IE or Outlook Express or somesuch. What is the navigation to this setting you are recommending? A dialup property? I'll go check, but I thought I had gone over every dialup property I could see.

by admin

The above is probably easiest to go into Internet Explorer>tools>internet options> connections and then set it up to always dial and turn everything off that will disconnect or prompt you to a screen that will hold it up. This will still require that you have some sort of service running that requires it at start-up, but I assume this is the case since you need it at start up.

You could also add the connection to the registry.
If you were comfortable with the registry look at:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

and create:

REG_SZ [String Value] // Value Name:

Value Data:

You will of course need to turn any prompts or disconnects you don't want with the above instructions to do it this way as well. This would directly start it though.

Hopefully you'll attract some more attention, there arre probably a lot of ways to do this! :)

~

by his_servant

It is possible to have your server automatically log itself in when turned on.

This would allow you to put the dialup in the starup folder and it will run every time the box is turned on.

The basics are steps are as follows: (from technet)
To enable automatically logon, do the following:
Start Regedt32.exe, and then locate the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
Using your account name and password, double-clickthe DefaultUserName entry, type your user name, and then click OK.

Double-click the DefaultPassword entry, type your password, and then click OK.

NOTE: If the DefaultPassword value does not exist, follow these steps:

Click Add Value onthe Edit menu.

In the Value Name box, type DefaultPassword, and then click REG_SZ for the Data Type

Type your password in the String box, and then save your changes.

Also, if no DefaultPassword string is specified, Windows automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), which disables the AutoAdminLogon feature.

Click Add Value on the Edit menu, enter AutoAdminLogon in the Value Name box, and then click REG_SZ for the Data Type.
Type 1 in the String box, and then save your changes.

Quit Regedt32.

Click Start, click Shutdown, and then click OK to turn off your computer.

Restart your computer and Windows. You are now able to log on automatically.

NOTE: To bypass the AutoAdminLogon process, and to log on as a different user, hold down the SHIFT key after you log off or after Windows restarts.

by anthonymcse

This is an interesting technique, but I'm not real comfortable with leaving my server console wide open.

Anybody know how to trigger a dialup connection using Task Scheduler?

by omie

I am really at loss on what you would like. Task scheduler is one of the utility tools. As name itself it schedules programs to run at certain specified time.
If you are not comfortable with that auto-logon... much worst with the task scheduler. The auto logon is usefull for your purpose whenever you re-start the server remotely. After the server re-started then remotely log-off.

by admin

Create a .cmd file

call it something that means something to you and put it somewhere you can remember.

Put an rasdial entry in it:

rasdial connectionname [username [password | *]] [/domain:domain] [/phone:phonenumber] [/callback:callbacknumber] [/phonebook:phonebookpath] [/prefixsuffix]

then put it in task scheduler.

There. Now you have at least one way in task scheduler. There may be others! (I think the reg entry would work too...) Good Luck!

:)

by anthonymcse

Don't worry, admin@l33tcentral.com got a functional solution. Basically, the task scheduler has an option to run a task at BOOT time, it just wasn't clear to me what command to run. admin@l33tcentral.com's idea was to create a CMD file, put in theappropriate RASDIAL command, and run the CMD file at boot time using the task scheduler. This allows me to make the connection at boot time, rather than login time.

This discussion is closed to new replies.