| View previous topic :: View next topic |
| Author |
Message |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Wed Feb 05, 2003 9:26 pm Post subject: Order of running services on 9x systems? |
|
|
Does anyone know if there is an order to which a service is started first on
a win9x system?
I'd like to get my program to run as the very first service, but am not sure
if services are run in any order such as alphabetical or so.
Does the win.ini's "LOAD" or "RUN" take priority over the services?
Of "LOAD" and "RUN", which of those takes priority over each other?
I saw references to this in some earlier posts, but the question of which is
run first was not answered, or if services were actually run first.
I've got a security program here that seriously needs to be the first thing
run before anything else, so I've gotta find an answer to this one somehow.
Thanks in advance,
-Garrett
P.S. I'm only concerned about win9x systems and not NT based systems. |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Feb 05, 2003 11:31 pm Post subject: |
|
|
I don't have Windows 9x, but you might be able to make it run first with
the registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices
Other than that I don't have any other suggestions.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1752 Location: Space and Time
|
Posted: Thu Feb 06, 2003 2:16 am Post subject: |
|
|
I beleave services run first. I think they even run before a user would log in. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Thu Feb 06, 2003 5:24 am Post subject: |
|
|
But, does anyone know if there's an order to which service is run first out
of all the services that are going to be run?
-Garrett |
|
| Back to top |
|
 |
MarkTrubo Contributor


Joined: 27 May 2001 Posts: 148 Location: Long Island, NY
|
Posted: Thu Feb 06, 2003 10:23 am Post subject: |
|
|
| An idea, get the process explorer from www.sysinternals.com, then look at the PIDs for all that are running. The process IDs are given out in order, so the lwest should be started first. Just a thought! |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Thu Feb 06, 2003 5:07 pm Post subject: |
|
|
| Don't know if it is possible with Windows versions after 98, but maybe you can try to make your application the Windows Shell, by adding shell=appname.exe to win.ini (into the [boot] section). I don't know if it will run before all other services, but you can give it a try... |
|
| Back to top |
|
 |
|