Jump to content
Compatible Support Forums
Sign in to follow this  
Bursar

Running startup applications in order...

Recommended Posts

I need to be able to run a few applications in a specific order on a Windows NT 4 Workstation.

 

The applications need to fire up after I log in.

 

I was thinking about listing them in a batch file and then putting that batch file into the Startup group.

 

Does anyone else have any other clever solutions that will cause the applications to load in the correct order?

Share this post


Link to post

U know...most people here are concerned about having LESS applications starting up at boot, but hey, I guess u might have a strong reason! First of all, can they be configured to run as services, or just simple "startup folder" kinda apps?

Share this post


Link to post

It's for a server that we run where a number of applications have to run (in a set order) for the server to work properly.

 

If any of you are familiar with the Esri ArcIMS stuff, then that's what I basically need to run.

 

There's a Catalog application, Launcher application, Admin application and a couple of other bits that have to load in order.

 

By putting them into the Startup folder they could load in any order (for evidence of this, check how your System Tray icons sometimes appear in a different order). I guess the same could happen if they were services.

 

Looks like I might have to try the batch file option and just see how it pans out.

Share this post


Link to post

As a guess, I *think* that you could use a service conversion app (FireDaemon is one, or something like that). In that case, you *should* be able to build dependencies that would allow for this kind of control that you need. If I see anything, I will post it.

 

------------------

Regards,

 

clutch

Share this post


Link to post

There may be another way to do it; at least if your not running too many apps. Win2k starts services in the following order:

Boot

System

Automatic

 

So if you only needed a couple of services to start in order you could edit the registry and have one start at the boot level the next at system level and leave the last on automatic...here is a clip from microsofts tech pages to help you out...

Service start type:

0. Boot (SERVICE_BOOT_START)

Specifies a device driver started by the system loader. This value is valid

only for driver services.

 

1. System (SERVICE_SYSTEM_START)

Specifies a device driver started by the IoInitSystem function. This value

is valid only for driver services.

 

2. Automatic (SERVICE_AUTO_START)

Specifies a service to be started automatically by the service control

manager during system startup.

 

3. Manual (SERVICE_DEMAND_START)

Specifies a service to be started by the service control manager when a

process calls the StartService function.

 

4. Disabled (SERVICE_DISABLED)

Specifies a service that can no longer be started.

 

If you look under HKLM\System\Current Control Set\Services all services are listed and have a start value from 0-4. Its not the most elegant solution but it might work in a pinch.....best of luck...

 

[This message has been edited by Widow (edited 24 January 2001).]

Share this post


Link to post

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

then put your apps in order u want them loaded.

if u need services rather than apps, see the previous post

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×