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