Solved

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

Posted on 2009-05-02
8
267 Views
Last Modified: 2013-11-22
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 ;)
0
Comment
Question by:MelissaCandyGirl
8 Comments
 
LVL 22

Expert Comment

by:8080_Diver
ID: 24290938
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?
0
 

Author Comment

by:MelissaCandyGirl
ID: 24291739
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.
0
 
LVL 18

Expert Comment

by:Johnjces
ID: 24292115
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
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 37

Assisted Solution

by:Geert Gruwez
Geert Gruwez earned 200 total points
ID: 24293037
you need to add windows zone to attract attention of windows kernel programmers.
without them you'll have no luck

it is possible, i don't know exactly how, but i see many virus scanners do this too.
the windows experts should know how.
0
 

Author Comment

by:MelissaCandyGirl
ID: 24298935
hmm, yeah, you know something about opening an operation like avast?
before you log on, start a scan?
0
 
LVL 18

Accepted Solution

by:
Johnjces earned 300 total points
ID: 24299065
Use a service... easiest way to do it and will run before you login.

John
0
 

Author Comment

by:MelissaCandyGirl
ID: 24301710
ok, thank boys
0
 

Author Closing Comment

by:MelissaCandyGirl
ID: 31577287
=)
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question