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

johnmclaren_99_at_yahoo.com
Date: 12/17/04


Date: 17 Dec 2004 06:54:10 -0800

all of these events occour after the user logs in. at this point in
time, there are files in use on the drive. the reason i want to know
all of this is because i wish to create a batch file that i can use to
reboot the computer, throw windows into "dos" mode or command prompt
mode, and cause a whipe of the drive. this is not for destructive
reasons, but for security reasons. if, for some reason, someone gets
physical access to the computer, i want to be able to execute a file
and whipe all of the data that i don't want falling into the worng
hands. if any of the files are in use, format will not allow the format
of the drive. anyone have any ideas?

Alex Nichol wrote:
> 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

  • Unknown connection made
    ... Can someone please tell me why (for what reason) my system insists on making ... a connection to http://sa.windows.com right after it has been booted and the ... user logs on. ...
    (microsoft.public.windowsxp.general)
  • Re: GetUser.ProviderUserKey gives me System.NullReferenceException
    ... loginredirect.aspx page after the user logs in. ... For some reason "Membership.GetUser.ProviderUserKey.ToString" gives me ... Object reference not set to an instance of ... Step through that code in the debugger to find out if it goes down the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Method SetThreadPrincipal
    ... I'm guessing that there's probably no reason for more than one thread to be ... running after the user logs off since the applicaiton is presumably just ... An applicative user logs in on my application, ... I agree that a logout could be seen as en ...
    (microsoft.public.dotnet.security)
  • Re: Method SetThreadPrincipal
    ... we finaly agree that the log out functionnality was not required. ... > I'm guessing that there's probably no reason for more than one thread to ... > running after the user logs off since the applicaiton is presumably just ...
    (microsoft.public.dotnet.security)
  • Re: What has happened to my Task Manager?
    ... If I independently had Task Manager I would pursue ... The reason I did not find the thread you were referring to,is because I ... don't use Newsgroups in Windows Live Mail and Windows Mail. ... task manager problem I was experiencing,the dozens of people before me ...
    (microsoft.public.windows.vista.general)