TheTechGuide Forum

General Category => Software => Topic started by: axl on November 08, 2001, 08:35:27 PM

Title: starting prog before or during win2000 bootup
Post by: axl on November 08, 2001, 08:35:27 PM
hi

does anyone know how to start an assembly program that has no screen output before or as early as possible during windows 2000\'s bootup?

any help is appreciated

axl
Title: starting prog before or during win2000 bootup
Post by: Josetann on November 08, 2001, 10:13:13 PM
You have to start it as a service.  It can be done.  I\'m busy at the moment, if/when I have some time I\'ll put up some simple instructions for it.
Title: starting prog before or during win2000 bootup
Post by: axl on November 08, 2001, 10:34:36 PM
how soon into the bootup do services start? i want to start it asap, not after almost all of windows is loaded.

what i actually want to do is display a boot up msg on my connected serial lcd display. that would only make sense early in the boot process.

thanks
Title: starting prog before or during win2000 bootup
Post by: Josetann on November 09, 2001, 12:31:01 AM
Don\'t know if this would work then.  Services start later in the boot process, but before a user logs in.
Title: starting prog before or during win2000 bootup
Post by: The_Flames on November 09, 2001, 07:43:22 AM
It may be possable to create a sys file that start as an device driver, If you do a safe boot you get to see which drivers are load so if you find out the location in the registry were they are loaded you will be able to do it like that.

By the way why would you want an assembly prog loaded that soon, I can only thing of pasword cashing progs would be the most usefull to look at for a functionthat loads very early on.
Title: starting prog before or during win2000 bootup
Post by: axl on November 09, 2001, 11:16:45 AM
as i said before

\"what i actually want to do is display a boot up msg on my connected serial lcd display. that would only make sense early in the boot process.\"

but thanks alot for the idea with the drivers!! do you know if i could just \'run\' a prog from there, or would i have to \'disguise\' it as a driver?

once again, thanks for the comments
Title: starting prog before or during win2000 bootup
Post by: pendragn on November 16, 2001, 12:18:58 AM
www.sysinternals.com has a couple of papers on how to do this.  Here are a couple of links:

How to build native applications:
http://www.sysinternals.com/ntw2k/info/native.shtml (http://\"http://www.sysinternals.com/ntw2k/info/native.shtml\")

Inside the native API:
http://www.sysinternals.com/ntw2k/info/ntdll.shtml (http://\"http://www.sysinternals.com/ntw2k/info/ntdll.shtml\")

good luck,
tk