![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Performance and Maintainance of Windows Vista A forum for performance and maintenance tasks in Windows Vista. (microsoft.public.windows.vista.performance_maintainance) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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" StephenIn wrote in message ... I have two physical hard disks. How do I tell Vista to only defragment only one hard disk at a time? |
|
|||
|
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" wrote in message ... 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" StephenIn wrote in message ... I have two physical hard disks. How do I tell Vista to only defragment only one hard disk at a time? |
|
|||
|
Never mind. I figured it out.
"DP" wrote in message ... 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? |
|
|||
|
Right click on the command prompt and 'then' choose run as administrator
-- John Barnett MVP Associate Expert Windows - Shell/User Web: http://xphelpandsupport.mvps.org Web: http://vistasupport.mvps.org The information in this mail/post is supplied "as is". No warranty of any kind, either expressed or implied, is made in relation to the accuracy, reliability or content of this mail/post. The Author shall not be liable for any direct, indirect, incidental or consequential damages arising out of the use of, or inability to use, information or opinions expressed in this mail/post.. "DP" wrote in message ... 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" wrote in message ... 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" StephenIn wrote in message ... I have two physical hard disks. How do I tell Vista to only defragment only one hard disk at a time? |