Order of Start Up Applications

Posted on 1998-11-26
Last Modified: 2013-12-28
I want my wife to be able to turn on the computer and have it bring up applications in a certain order so all she has to click on the OK buttons.  For example, when the computer turns on, it automatically loads the ISDN drivers.  Then it loads Outlook 98, then the dial up connection.  But then Outlook comes on top of the dial up window.  This confuses her.  (no comments!)  So, I want the ISDN to go first, then Outlook 98, completely, then the dial up in front.  Then all she has to do is click on connect, then Outlook.  

Is there a way to order the start up applications so they stack in front of each other?


Question by:McDorman
  • 5
  • 3
  • 2
  • +6

Expert Comment

ID: 1648034
Why not have the dialer automatically connect for her?

Expert Comment

ID: 1648035
I think that unless you are connected to the Internet by a rented line, or have some other direct LAN connection, that any program, be it Outlook, MS Internet Explorer, Netscape, or other, has to access through the dial up connection.

You answer lies in writing a script or macro that automatically accesses your dial up connection after boot up (I think you can do this by placing the connection in your "Startup" file), but then exiting the program will not ask to disconnect from the internet upon closing.

I think that you can make it easier for her to connect, but then it will be harder to disconnect.

Good luck.

Expert Comment

ID: 1648036
If you already know how to make the dialer automatically connect, you might want to try this:
Change the order of programs loading in the startup folder by renaming the shortcuts listed there.
Just pick the order desired, and place its number as the first character of the shortcut's name.
Let me know if this helps, or you need more.

LVL 20

Expert Comment

ID: 1648037
You can't simply specify the order of autostart because this is what windows is doing: It looks into all the autostart places (startmenu/ini-files/registry keys) and then starts all these programs. But the problem (for you) is that windows doesn't start the first program and then waits until it is finished. Windows starts them in a specific order but it's somehow all at the same time. So programs that bootup fast will come first and programs that need longer will come last.
You COULD write a little program that starts all these applications step by step in the desired order. But it would be some work and then the bootup would last very long.
So you'll have to find another way. I think it should be possible to configure all these programs in a way that they don't show up at all or at least without boxes where you have to click on something. So the order shouldn't matter. Your wife would have to shut her eyes for about 2 minutes. Then open it and begin with working...   :-)

Regards, Madshi.
LVL 23

Expert Comment

by:Tim Holman
ID: 1648038
  I'd take Outlook 98 out of startup, so that only the dial-up connection comes up, then you can connect first, then click on Outlook 98 seperately...
  Alternatively, you could do it for her, whilst she catches up on some ironing and cooks some dinner...
  Ooops !
  Did I say that ?


Expert Comment

ID: 1648039
Here is a work around.
Right click on "Outlook" and select properties.
In the "run" drop down box, select "minimized".
That will keep outlook from getting in your face when you don't want it to be. It will start minimized then all she has to do is select it from the task bar to maximize it.

Author Comment

ID: 1648040
You all have good ideas, but I like Skylab's.  So let me try some of the things you all have suggested and I'll get back to you.


Accepted Solution

arunm earned 50 total points
ID: 1648041
Writing a utility to start programs in a particular order, and then
pausing between the start of each program to ensure they appear in the
correct order, is pretty easy. The follow program takes a list of
program paths and delays as arguments. The easiest method to use it is
to place a shortcut to this program in the startup directory with the
correct target info. For example;-

A target string could look like.

c:\myprogs\thisprogram.exe c:\program files\first_program.exe 2
c:\program files\second_program.exe 3 c:\program files\third_program.exe

This would start c:\program files\first_program.exe wait 2 secs, then
start  c:\program files\second_program.exe wait 3 secs and then finally
start c:\program files\third_program.exe

If you dont have a vc++ complier I can email you a working version of
this. Or if you need any more help on how to use it, let me know.

#include <afx.h>
#include <iostream.h>
#include <winbase.h>
#include <process.h>

int main(int argc, char *argv[])
 int   seconds;
 int   currentArg = 1;

 // Initialise Startup structure
 InfoToPass.cb = sizeof(InfoToPass);
 InfoToPass.lpReserved = NULL;
 InfoToPass.lpDesktop = NULL;
 InfoToPass.lpTitle = NULL;
 InfoToPass.cbReserved2 = 0;
 InfoToPass.lpReserved2 = NULL;
 InfoToPass.wShowWindow = SW_SHOWNORMAL;

 // Spawn required process as a normal process

 while (currentArg < argc)
  // You could also use winexec here, but i prefer the control achived using
  CreateProcess(argv[currentArg++], "", NULL, NULL, FALSE,
   CREATE_NEW_CONSOLE, NULL, NULL, &InfoToPass, &ProcessInfo);

  sscanf(argv[currentArg++],"%d", &seconds);

   // wait
  Sleep(seconds * 1000);

 return (0);


Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a trade show? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.


Expert Comment

ID: 1648042
Programmers note: You can also use winexec here, but I prefer the control acheiveable though using createProcess. Also, replacing SW_SHOWNORMAL with SW_SHOWMINIMISED would start each processe minimised on the task tar.


Expert Comment

ID: 1648043
I dont know how I posted that twice? The comment should have been:-
Note:- I prefer to use createprocess() over winexec() due to the additional control it gives you over the process. Also, replacing  SW_SHOWNORMAL with SW_SHOWMINISMED allows an application to start minimsed on the task bar. It would be quite simple to add this to the list of arguments at start up.


Expert Comment

ID: 1648044
Wierd there appears to be a bug at EE. The comment should have been ( at the 2 previous attempts to post it!):-
Note:- I prefer to use createprocess() over winexec() due to the additional control it gives you over the process. Also, replacing  SW_SHOWNORMAL with SW_SHOWMINISMED allows an application to start minimsed on the task bar. It would be quite simple to add this to the list of arguments at start up.


Expert Comment

ID: 1648045
arunm is having a problem getting a comment posted.  I'm testing to see if I can post a comment.

Linda Gardner
Customer Service @ Experts Exchange

Expert Comment

ID: 1648046
The attribution chain on this quesiton hass been repaired.  Please let us know if there are any other anomalies.  Thank you.


Expert Comment

ID: 1648047
Im glad they sorted that out!  Although it appears that I still have 2 "proposed answers"?

Author Comment

ID: 1648048
Everyone, this question has been posted again in order to help fix a potential problem at EE, although based on the comments shown, it looks like it may have been fixed.

Author Comment

ID: 1648049

Thanks for your efforts, although I really liked the download suggested on the repost.


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

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

861 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

20 Experts available now in Live!

Get 1:1 Help Now