G
Guest
I have two physical hard disks. How do I tell Vista to only defragment only
one hard disk at a time?
one hard disk at a time?
David A. Lessnau said:If you're just using the GUI, you can't. But, if you run a Command Prompt
in Administrator mode (right-click on it and select "Run as
administrator"), you can type "defrag x" (where x is the drive you want to
defragment). To get the full syntax, type "defrag /?". I'll include it
here, too:
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
StephenIn ABQ said:I have two physical hard disks. How do I tell Vista to only defragment
only
one hard disk at a time?
DP said:David: I've been looking for an answer to the OP's question since I first
started running RC1. Now I'm using OEM version of Vista Ultimate 64.
However, if I click on "run as administrator," where am I supposed to type
in the command? No command-line interface opens up when I click on "run as
administrator."
Am I supposed to click on that AND open a command prompt at the same time?
David A. Lessnau said:If you're just using the GUI, you can't. But, if you run a Command
Prompt in Administrator mode (right-click on it and select "Run as
administrator"), you can type "defrag x" (where x is the drive you want
to defragment). To get the full syntax, type "defrag /?". I'll include
it here, too:
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
StephenIn ABQ said:I have two physical hard disks. How do I tell Vista to only defragment
only
one hard disk at a time?