Author Topic: starting prog before or during win2000 bootup  (Read 1476 times)

axl

  • Guest
starting prog before or during win2000 bootup
« 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

Offline Josetann

  • admin
  • Administrator
  • Hero Member
  • *****
  • Posts: 10136
  • Karma: +0/-0
    • View Profile
starting prog before or during win2000 bootup
« Reply #1 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.

axl

  • Guest
starting prog before or during win2000 bootup
« Reply #2 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

Offline Josetann

  • admin
  • Administrator
  • Hero Member
  • *****
  • Posts: 10136
  • Karma: +0/-0
    • View Profile
starting prog before or during win2000 bootup
« Reply #3 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.

Offline The_Flames

  • enthusiast
  • Sr. Member
  • ****
  • Posts: 290
  • Karma: +0/-0
    • View Profile
starting prog before or during win2000 bootup
« Reply #4 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.

axl

  • Guest
starting prog before or during win2000 bootup
« Reply #5 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

pendragn

  • Guest
starting prog before or during win2000 bootup
« Reply #6 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

Inside the native API:
http://www.sysinternals.com/ntw2k/info/ntdll.shtml

good luck,
tk