Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Using BootExecute to launch security app

Using BootExecute to launch security app

Forum Windows XP : Windows XP General Discussion - Using BootExecute to launch security app

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

 

I want to write my own security application that scans an NTFS volume on
boot using the BootExecute registry entry.

My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\BootExecute

However I've noticed applications that normally get called to run during
boot like the autochk utility which does a scandisk on boot, dont run under
win32 command line for instance: "The C:\WINDOWS\system32\autochk.exe
application cannot be run in Win32 mode."

Why is this? How do I write my own application to run during boot with the
blue background like chkdsk does, or for instance Executive Software's
Diskeeper boot defrag?

I tried making a test batch file and made the proper registry entry under
BootExecute but it didnt work? Does it have to be an executable? Or are
only 16 bit processes allowed?

If you respond please respond also via e-mail as I may not have usenet
access for long.
Thanks in advance!

-L

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

 

Ok,

I think I've sort of answered my own question here. It appears you must use
the DDK to build such an application to run in this limited NT mode. But if
anyone still has any tips on this, I don't mind hearing them.

-L

"Locke Nash Cole" <junkmauler@hotmail.com> wrote in message
news:Od3pMEABFHA.1292@TK2MSFTNGP10.phx.gbl...
>I want to write my own security application that scans an NTFS volume on
>boot using the BootExecute registry entry.
>
> My Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
> Manager\BootExecute
>
> However I've noticed applications that normally get called to run during
> boot like the autochk utility which does a scandisk on boot, dont run
> under win32 command line for instance: "The
> C:\WINDOWS\system32\autochk.exe application cannot be run in Win32 mode."
>
> Why is this? How do I write my own application to run during boot with
> the blue background like chkdsk does, or for instance Executive Software's
> Diskeeper boot defrag?
>
> I tried making a test batch file and made the proper registry entry under
> BootExecute but it didnt work? Does it have to be an executable? Or are
> only 16 bit processes allowed?
>
> If you respond please respond also via e-mail as I may not have usenet
> access for long.
> Thanks in advance!
>
> -L
>
>
>
>

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Using BootExecute to launch security app
Go to:

There are 992 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them