Running startup applications in order...
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.
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?
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?
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
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.
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.
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
------------------
Regards,
clutch
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).]
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).]