Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > How to automate chkdsk and Defrag on Boot.

Reply
Thread Tools Display Modes

How to automate chkdsk and Defrag on Boot.

 
 
SteveM
Guest
Posts: n/a

 
      03-29-2008

I have looked at the Tutorials on these subjects and they are acurat
and with clear instructions, BUT ! On my old P.C. (win XP) I had
program, (and damm, can't remember the name) and it would reboot th
computer and on startup - before windows it would (on a light blu
screen and at the command prompt) run chkdsk then defrag the drive.
wlways appeared to get much better performance from windows when defra
was run out side of windows.

My point is that it appears that the tutorials must be able to b
writen into a batch file that will run them at startup and then remov
entries from the reg.

Any body got any idears ?

Oh yes, looked at 'O&O Defrag 10 Profesional' and personaly, after
lot of agro to get it working, would not buy it

--
SteveM
 
Reply With Quote
 
 
 
 
Gordon
Guest
Posts: n/a

 
      03-29-2008
"SteveM" <> wrote in message
news:...
>
> I have looked at the Tutorials on these subjects and they are acurate
> and with clear instructions, BUT ! On my old P.C. (win XP) I had a
> program, (and damm, can't remember the name) and it would reboot the
> computer and on startup - before windows it would (on a light blue
> screen and at the command prompt) run chkdsk then defrag the drive.


So you defragged EVERY SINGLE DAY? What a WASTE of time and resources. The
whole point about NTFS filesystem is that it is FAR superior to FAT in it's
file management - you need to defrag far less than ever before.

 
Reply With Quote
 
Bob
Guest
Posts: n/a

 
      03-29-2008

On Vista defrag is automatically run in the background.

To run chkdsk on startup, Right click your C drive then
Properties>Tools>Check Now. You will be prompted to run chkdsk the next time
your computer boots.
-------
*Report back, please*
[When responding to posts, please include the post(s) you are replying to so
that others may learn and benefit from the issue]

[How to ask a question]
http://support.microsoft.com/kb/555375

"SteveM" <> wrote in message
news:...
>
> I have looked at the Tutorials on these subjects and they are acurate
> and with clear instructions, BUT ! On my old P.C. (win XP) I had a
> program, (and damm, can't remember the name) and it would reboot the
> computer and on startup - before windows it would (on a light blue
> screen and at the command prompt) run chkdsk then defrag the drive. I
> wlways appeared to get much better performance from windows when defrag
> was run out side of windows.
>
> My point is that it appears that the tutorials must be able to be
> writen into a batch file that will run them at startup and then remove
> entries from the reg.
>
> Any body got any idears ?
>
> Oh yes, looked at 'O&O Defrag 10 Profesional' and personaly, after a
> lot of agro to get it working, would not buy it.
>
>
> --
> SteveM


 
Reply With Quote
 
John Barnes
Guest
Posts: n/a

 
      03-29-2008
A waste of resources, but you could set up the registry keys to run them and
merge them into the registry each time you logon in. Set them up in the
scheduler or set the registry to run every time.

"SteveM" <> wrote in message
news:...
>
> I have looked at the Tutorials on these subjects and they are acurate
> and with clear instructions, BUT ! On my old P.C. (win XP) I had a
> program, (and damm, can't remember the name) and it would reboot the
> computer and on startup - before windows it would (on a light blue
> screen and at the command prompt) run chkdsk then defrag the drive. I
> wlways appeared to get much better performance from windows when defrag
> was run out side of windows.
>
> My point is that it appears that the tutorials must be able to be
> writen into a batch file that will run them at startup and then remove
> entries from the reg.
>
> Any body got any idears ?
>
> Oh yes, looked at 'O&O Defrag 10 Profesional' and personaly, after a
> lot of agro to get it working, would not buy it.
>
>
> --
> SteveM


 
Reply With Quote
 
roy69
Guest
Posts: n/a

 
      03-29-2008

Why not set them up as a schedule task twice a week. Running chkds
every time you boot is a big waste of CPU time and will slow down you
computer. It is like servicing your car every time you are going to ge
in it, even if you are going down the shops

--
roy6

- Core 2 Quad Q660
- Abit IP35 Pr
- 4 x 1GB OcUK PC2-6400 C5 800 MHZ Dual Channe
- Leadtek GeForce 8800 GTS 640MB GDDR
- CiBox TFT 22" Widescreen LCD Panel. 1680 x 105
- Creative X-Fi 7.1 PCI-
- Antec 900 Ultimate Gaming Cas
- Creative Inspire 7.1 T7900 Speaker
- Corsair HX 620W ATX2.2 Modular SLI Complient PSU
 
Reply With Quote
 
SteveM
Guest
Posts: n/a

 
      03-30-2008

Soory did not make my self cleat !
Oh yes prog was called Defrag from PC Mech.
It worked like this ran prog it then rebooted system and on startup ra
chkdsk then defraged volume.

Yes, Yes, Yes, Yes, I have a car....

But is there not a way to create a script file that would reboot syste
run chkdsk and defrag then boot into OS.

I will also be shuting of defrag I do not want it running all the time

--
SteveM
 
Reply With Quote
 
John Barnes
Guest
Posts: n/a

 
      03-30-2008

As I suggested, set up items to run on the next boot using the two programs,
then go to the registry 'runonce' section and copy off the two entries, then
you can remerge them with one click each time your want to run them, then
restart. Waste of resources to do it every time, but your choice. Do you
really want to try a script when you seem to have so much trouble typing
clearly?

"SteveM" <> wrote in message
news:...
>
> Soory did not make my self cleat !
> Oh yes prog was called Defrag from PC Mech.
> It worked like this ran prog it then rebooted system and on startup ran
> chkdsk then defraged volume.
>
> Yes, Yes, Yes, Yes, I have a car....
>
> But is there not a way to create a script file that would reboot system
> run chkdsk and defrag then boot into OS.
>
> I will also be shuting of defrag I do not want it running all the time.
>
>
> --
> SteveM


 
Reply With Quote
 
SteveM
Guest
Posts: n/a

 
      03-30-2008

You'r a ****ing smart arse arn't you !
one explanation on how to run then once then a question on why wast
resources to do it evey time.
Scripting mmmmmmmmmm you should be more aware of the people you ar
talking to before you decide to be such a ****ing smart arse

--
SteveM
 
Reply With Quote
 
Dave
Guest
Posts: n/a

 
      03-30-2008
Since you didn't quote the previous poster, it appears you are referring to
yourself......
hmmmm


--
Vista Home Premium 32 SP1
http://get.live.com/wlmail/overview


"SteveM" <> wrote in message
news:...
>
> You'r a ****ing smart arse arn't you !
> one explanation on how to run then once then a question on why waste
> resources to do it evey time.
> Scripting mmmmmmmmmm you should be more aware of the people you are
> talking to before you decide to be such a ****ing smart arse.
>
>
> --
> SteveM


 
Reply With Quote
 
roy69
Guest
Posts: n/a

 
      03-30-2008

I dont belive you need to creat a script file for this.
You need to creat a .reg file. Similar but not the same.
This will program the registry similar to a script file.
Double clicking on the saved registry file will do the trick.

You want to add keys to the runonce value.

It will tell you how to do it here;

'How to add, modify, or delete registry subkeys and values by using
registration entries (.reg) file
(http://support.microsoft.com/kb/310516)

Please note, edit the registry at your own risk. Always back up th
registry before making any changes

--
roy6

- Core 2 Quad Q660
- Abit IP35 Pr
- 4 x 1GB OcUK PC2-6400 C5 800 MHZ Dual Channe
- Leadtek GeForce 8800 GTS 640MB GDDR
- CiBox TFT 22" Widescreen LCD Panel. 1680 x 105
- Creative X-Fi 7.1 PCI-
- Antec 900 Ultimate Gaming Cas
- Creative Inspire 7.1 T7900 Speaker
- Corsair HX 620W ATX2.2 Modular SLI Complient PSU
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chkdsk /f at boot t-4-2 Windows Vista Performance 5 05-07-2008 01:52 AM
chkdsk /f does not run at boot aftermath Windows Vista General Discussion 21 03-05-2008 11:38 PM
How do you CHKDSK the boot drive? Len Cuff Windows Vista General Discussion 9 08-29-2007 08:49 PM
Unable to run chkdsk, defrag, etc Audio11 Windows Vista Security 1 05-18-2007 06:51 PM
Bitlocker & chkdsk & offline defrag apps Iuvenalis Windows Vista Security 0 05-08-2007 10:23 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59