Boot Win XP Home too long

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Wesley Vogel said:
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 !
 
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.
 
Wesley Vogel said:
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

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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top