Re: how to make a program run before windows starts to boot

From: Alex Nichol (alexn.mvpdts_at_ntlworld.delete.com)
Date: 12/17/04


Date: Fri, 17 Dec 2004 12:40:45 +0000

chris wrote:

>thanks for your help, but the task manager only runs stuff after a user has
>logged in. it will not run tasks BEFORE the system begins to boot. to be
>clear, i want to run a "dos" script that will run, for example: at the same
>time, in the boot process, that chkdsk runs. i don't want to run it with
>chkdsk, just at that same time in the boot process..

That would be in the registry. I would start by a line for the program
added in the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

and see if that is early enough for you.

-- 
Alex Nichol MS MVP (Windows Technologies)
Bournemouth, U.K.  Alexn@mvps.D8E8L.org (remove the D8 bit)


Relevant Pages

  • Re: how to make a program run before windows starts to boot
    ... chris wrote: ... it will not run tasks BEFORE the system begins to boot. ... > time, in the boot process, that chkdsk runs. ... > chkdsk, just at that same time in the boot process... ...
    (microsoft.public.windowsxp.general)
  • Re: Defrag and chkdsk problem together
    ... You cannot run chkdsk on the drive / partition in which the Windows operating system resides after the system has completed the boot process. ... >I have the same problem in last 2 week, and can not defrag my C:>drive. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: xp boot programs
    ... time, in the boot process, that chkdsk runs. ... > chris wrote: ... i want to batch file to run at that point in the boot process. ...
    (microsoft.public.windowsxp.general)
  • Re: Cant get boot process to see that there is a registry there
    ... > Have you run chkdsk /r from recovery console? ... finished and on reboot gave the same error message that the boot process ...
    (microsoft.public.win2000.registry)
  • Re: Cant get boot process to see that there is a registry there
    ... > Have you run chkdsk /r from recovery console? ... finished and on reboot gave the same error message that the boot process ...
    (microsoft.public.win2000.setup)