Link to home
Start Free TrialLog in
Avatar of MelissaCandyGirl
MelissaCandyGirl

asked on

set my app to initialize at kernel level !? possible?

Hi Experts =)
i want know about if have the possibility(code) of set my application to initialize at kernel level, before computer boot.
(if not is possible at kernel level, can be in boot level).
Code example is welcome,
Thank You ;)
Avatar of 8080_Diver
8080_Diver
Flag of United States of America image

MelissaCandyGirl,
I am afraid that you are going to have to live with having your app come up automatically when the boot process has completed.  
In ordder to have it initialized at the kernel level, you would probably need to alter the processes at the chip level.  In order to alter the processes so that you could have it initialized at the boot level, you would have to play at approximately the same level.  
What is wrong with adding it to the Autoexec.bat so that it immediately starts up upon completion of the boot sequence?
Avatar of MelissaCandyGirl
MelissaCandyGirl

ASKER

Autoexec.bat not serve because I have to start my program before the boot at least.
My program is checking for malicious files and deletes them! It is not feasible try to delete 1 file that is injected in the process (system, winlogon.exe, explorer.exe and more ...). The only way to delete them is before the boot.
The best you are going to do, unless you are running Windows 3.X and DOS, is start your application as a service or make your application a service.

If you are using old Windows, then you could load stuff up a boot time in the config.sys file and autoexec.bat. Windows NT operating systems just don't handle stuff set in those files like Win 3.X.

It might be easier in WIndows 95, 98 and Me as they were built upon a DOS core or kernel.

Thee are a lot of Q here on EE on writing services and a lot of tutorials on the web.

John
SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hmm, yeah, you know something about opening an operation like avast?
before you log on, start a scan?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok, thank boys