Defrag a single drive

  • Thread starter Thread starter Daniel
  • Start date Start date
D

Daniel

Hi

I have a Vista Ultimate PC with three 250 Gig hard drives, each about half
full, defrag takes about 36 hours.

I only really want to defrag C: drive, so if I richt click on C:, select
properties then Tools, Defrag, does this defrag C: only?

thanks

Daniel
 
Daniel said:
Hi

I have a Vista Ultimate PC with three 250 Gig hard drives, each about
half full, defrag takes about 36 hours.

I only really want to defrag C: drive, so if I richt click on C:,
select properties then Tools, Defrag, does this defrag C: only?


You can select which particular drive you want using the built-in defragger,
only once you have installed SP1, which is not due for release for several
months.

ss.
 
Daniel said:
Hi

I have a Vista Ultimate PC with three 250 Gig hard drives, each about half
full, defrag takes about 36 hours.

I only really want to defrag C: drive, so if I richt click on C:, select
properties then Tools, Defrag, does this defrag C: only?

thanks

Daniel


you can use the command line.

ex : defrag c: -w -v
 
Is it possible to view the defrag process under Vista as we were able
to under WindowsXP?
Please post instructions if you can.

Thanks,
 
Is it possible to view the defrag process under Vista as we were able
to under WindowsXP?
Please post instructions if you can.

Thanks,



Nope, not out-of the bos. If you want that then you have to go with 3rd
party software such as Diskkeeper. Vista has no built-in visual feedback for
the defragger. The Vista version works as a "set it and forget it"
background type utility. Vista enables you to write batch files for it too,
as there's a commandline version:

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>defrag /?
Description: Locates and consolidates fragmented files on local volumes to
improve system performance.

Syntax: defrag <volume> -a [-v]
defrag <volume> [{-r | -w}] [-f] [-v]
defrag -c [{-r | -w}] [-f] [-v]

Parameters:

Value Description

<volume> Specifies the drive letter or mount point path of the volume
to
be defragmented or analyzed.

-c Defragments all volumes on this computer.

-a Performs fragmentation analysis only.

-r Performs partial defragmentation (default). Attempts to
consolidate only fragments smaller than 64 megabytes (MB).

-w Performs full defragmentation. Attempts to consolidate all
file
fragments, regardless of their size.

-f Forces defragmentation of the volume when free space is low.

-v Specifies verbose mode. The defragmentation and analysis
output
is more detailed.

-? Displays this help information.

Examples:

defrag d:
defrag d:\vol\mountpoint -w -f
defrag d: -a -v
defrag -c -v

C:\Windows\system32>

Saucy
 
Daniel said:
actuall y it's -w :-)

:) Thanks .. but -c is a swtich of defrag.exe. Have a look and notice
the last example at the bottom:

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Windows\system32>defrag /?
Description: Locates and consolidates fragmented files on local volumes to
improve system performance.

Syntax: defrag <volume> -a [-v]
defrag <volume> [{-r | -w}] [-f] [-v]
defrag -c [{-r | -w}] [-f] [-v]

Parameters:

Value Description

<volume> Specifies the drive letter or mount point path of the
volume to be defragmented or analyzed.

-c Defragments all volumes on this computer.

-a Performs fragmentation analysis only.

-r Performs partial defragmentation (default). Attempts to
consolidate only fragments smaller than 64 megabytes (MB).

-w Performs full defragmentation. Attempts to consolidate all
file fragments, regardless of their size.

-f Forces defragmentation of the volume when free space is low.

-v Specifies verbose mode. The defragmentation and analysis
output is more detailed.

-? Displays this help information.

Examples:

defrag d:
defrag d:\vol\mountpoint -w -f
defrag d: -a -v
defrag -c -v

C:\Windows\system32>


Saucy
 
:) Thanks .. but -c is a swtich of defrag.exe. Have a look and
notice the last example at the bottom:


If he wanted to use the -c switch, he wouldn't have asked the question in
the first place.

ss.
 
Back
Top