Boot process, program that will run before XP starts
-
How can i write a program and get it to start during the Windows boot process? Kind of like chkdsk.exe when you haven't shut your computer down properly, it gets displayed during bootup but XP hasn't fully loaded yet. Kuniva --------------------------------------------
-
How can i write a program and get it to start during the Windows boot process? Kind of like chkdsk.exe when you haven't shut your computer down properly, it gets displayed during bootup but XP hasn't fully loaded yet. Kuniva --------------------------------------------
The utility is called Autochk.exe. It is a "native application". This category lies somewhere between a device driver and a user mode app. At boot time, the user mode-style apps cannot run since major window's components used for usermode(user.exe,gdi etc.) are not loaded. in these cases, a native app is the only choice available. you need the xp/2000 ddk to make this kind of apps. Notice that when you running autochk.exe after XP/NT has started, you get an error message "The autochk application cannot be run in Win32 mode". To start such an app at boot time, see the registry key HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager and the value stirng value "BootExecute". Usually, this value is "autocheck autochk *", but you can change that... Bikram Singh