Re: Boot Win XP Home too long

From: Wesley Vogel (123WVogel955_at_comcast.net)
Date: 11/20/04


Date: Sat, 20 Nov 2004 15:09:50 -0700

Filo,

Use the -t xx switch.

%windir%\System32\shutdown.exe -s -t xx

 -t xx = Set timeout for shutdown to xx seconds

To see shutdown.exe HELP...
Open a command prompt and type or paste:

shutdown /?

Hit the Enter key.

-- 
Hope this helps.  Let us know.
Wes
In news:37F18DA3-5752-4502-9A7F-0D9584DF72A8@microsoft.com,
Filo <Filo@discussions.microsoft.com> hunted and pecked:
> "Wesley Vogel" wrote:
>
>> Phil,
>>
>> I don't honestly know of a way to make the batch file run at shutdown
>> without the option in Group Policy.  And I don't think it would do
>> any good
>> to try to run it at boot.  That's when NTOSBOOT-B00DFAAD.pf gets
>> created.
>> However...
>>
>> You can still create the batch file and have it run to delete
>> NTOSBOOT-B00DFAAD.pf.  It'll save you some steps.
>>
>> Open Notepad | Paste this in >>>
>>
>> del c:\windows\prefetch\ntosboot-*.* /q
>>
>> Click File | Click Save As | Save it as >>>
>>
>> ntosboot.bat
>>
>> Save it where ever.
>>
>> I have a folder that I keep batch files in.  I then place shortcuts
>> elsewhere and use the shortcuts to run the batch files.
>>
>> By saving ntosboot.bat you can just double click it (or the
>> shortcut) to
>> delete NTOSBOOT-B00DFAAD.pf.  You don't have to go through all
>> whatever
>> steps you're using now to find and delete it.
>>
>> --
>> Hope this helps.  Let us know.
>> Wes
>>
>> In news:7CC3CE4C-C0BA-4A6C-A4FE-6C07A5DE177E@microsoft.com,
>> Filo <Filo@discussions.microsoft.com> hunted and pecked:
>>> "Wesley Vogel" wrote:
>>>
>>>> http://www.computerbb.org/about354.html
>>>>
>>>> http://www.swooby.com/z/navpc/ntosboot.cmd.txt
>>>>
>>>> --
>>>> Hope this helps.  Let us know.
>>>> Wes
>>>>
>>>> In news:31C3690F-D98C-4FC5-8620-0766256AFF51@microsoft.com,
>>>> Filo <Filo@discussions.microsoft.com> hunted and pecked:
>>>>> The new computer booted very fast. Now, it executes 600+ mb in
>>>>> Prefetch in a file named Ntosboot.xxxx in this directory which
>>>>> slows down booting to a great extent.
>>>>> Deleting this file results in fast booting the next time. But
>>>>> after a few minutes the file is written again in the Prefetch
>>>>> directory. Question : How can I automate a delete file that would
>>>>> delete this file or all files in the Prefetch dir. before closing
>>>>> down so that the next boot will always be fast ?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Phil
>>>>
>>> Thanks a million. Have already seen these through Google. But
>>> «gpedit.msc» is a Win XP Pro command, not found in the Home
>>> EDition I'm presently using. In the meantime I get by from manually
>>> deleting
>>> the file once a day. It's very odd. This file rewrites itself only
>>> once. If it is deleted in the morning it will not reappear until the
>>> next boot, which in my case would be the next morning.  In fact,
>>> only
>>> a minor annoyance !
>>
>> Hello Wesley and many thanks.  After reading your message yesterday
>> I thought I should try to figure out things by myself. So here
>> what's in my «shutdown.bat» :
> del c:\Windows\Prefetch\ntosboot*.*
> c:\windows\system32\shutdown -s
> So this comes somewhat in line with what you suggested in your  last
> mesg. Not only does shutdown.bat  delete the faulty file but it also
> shuts down the comp.
> Now, we have fast boot and fast shutdown for all interested. However
> there is a little drawback on this: once you hit the bat file there
> is no coming back or escape to change your mind that I know of ; IT
> WILL SHUT AFTER ITS COUNTDOWN.  It would be interesting to know how
> to change this time delay in Win XP shutdown.exe......google ?
>
> Happy computing to all.   Windows XP's always a winner. Love it !
> Thanks Microsoft !  END OF THIS TOPIC !  .... unless you'd like to
> comment !
>
> N.B. about Phil.
> Age : 77
> Experience in computing : since 1980
> Experience in programming : almost none. Some dos basic programming,
> some Visual Basic
> First Computer : Radio Shack 16K
> Present Computer : Acer 2 Ghz - HD 3 or nearly 200 Gb
> OS : XP Home


Relevant Pages

  • I need fast,automatic power-up and shut-down
    ... know how to configure the machines so that they avoid this stage altogether ... and boot all the way to a desktop un-aided. ... At shut-down, I get a dialog box asking me if I want to shutdown, restart, ... I know in former OS versions, I could make a a batch file with ...
    (microsoft.public.windowsxp.basics)
  • I need a fast, minimum of mouse-clicks, power-up and shut-down solution
    ... know how to configure the machines so that they avoid this stage altogether ... and boot all the way to a desktop un-aided. ... At shut-down, I get a dialog box asking me if I want to shutdown, restart, ... I know in former OS versions, I could make a a batch file with ...
    (microsoft.public.windowsxp.general)
  • Re: Scheduling a Reboot
    ... I've read that and I am using the right syntax! ... >> What command would I use in a shutdown.bat file that would shutdown ... >> over in the command prompt, ... > Then you should be able to make a Batch file with the correct Syntax. ...
    (microsoft.public.windows.server.sbs)
  • Auto log out possible?
    ... you can logout from a command prompt, with "shutdown" I ... Which means you can create a batch file to do it, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Turn off computer at scheduled time
    ... The -f forces any running tasks to close, for all the Shutdown switches open the ... Command Prompt Window in the path Start> Programs and click Command Prompt. ... Save this batch file with the file extension of Filename.bat. ...
    (microsoft.public.windowsxp.general)