Question:

Disk Defrag won't come up on vista?

by  |  earlier

0 LIKES UnLike

i click disk defrag and the command prompt comes up for barely a second and disappears. How can i make Disk Defrag come up on Vista?

 Tags:

   Report

2 ANSWERS


  1. Control Panal/System and Maintenance/Administrative Tools/Deframent your Hard drive


  2. Try this: in Vista you can launch a command-line defrag only from an administrator command prompt. To get one, select Start, All Programs, Accessories. Right-click the Command Prompt icon and select Run as administrator. You'll know you're on the right track when Vista makes you pass through a User Account Control dialog box (if you haven't disabled this security feature, that is).

    Defragment hard drive from the Command Prompt:



    We can also defragment the hard drive using the Command Prompt.



    You can always start the Command Prompt and use the appropriate command line parameters to obtain the results you want.

    When you start the Command Prompt, it is better to right click on its shortcut and select the Run as administrator option.

    Once the Command Prompt is started, type "defrag" or "defrag.exe" plus the appropriate parameters and Disk Defragmenter will defragment or analyze the partition you want.

    The list of supported command line parameters for "defrag.exe" is the following:

    drive letter - this parameter specifies the drive letter or the mount point path of the volume that will be analyzed or defragmented. (e.g. "defrag c:" or "defrag e:\volume\mountpoint");

    -c - using this parameters forces "defrag.exe" to defragment all volumes on your computer. (e.g. "defrag -c");

    -a - performs only fragmentation analysis and it doesn't defragment the specified drive. (e.g. "defrag d: -a");

    -r - performs a partial defragmentation which consolidates only the fragments which are smaller than 64 MB. This is the default setting. This means that "defrag v:" and "defrag v: -r" are equivalent and the Disk Defragmenter will perform the same type of defragmentation;

    -w - when you use this switch, "defrag.exe" will perform a full defragmentation, regardless of the fragments size. (e.g. "defrag c: -w");

    -f - forces the defragmentation even if the free space is lower than 15%. (e.g. "defrag c: -f");

    -v - verbose mode. In this mode, "defrag.exe" will show a detailed analysis and defragmentation output. (e.g. "defrag d: -v");

    -? - displays help information about how to use "defrag.exe". (e.g. "defrag -?").

    The switches can be combined to obtain the desired result. You just need to respect the following syntax:

    defrag volume -a [-v]

    defrag volume [{-r | -w}] [-f] [-v]

    defrag -c [{-r | -w}] [-f] [-v]

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.