Changes

Repairing and Defragmenting Windows Server 2008 Disks

1,651 bytes added, 14:47, 12 August 2008
Running Check Disk from the Command-prompt
== Running Check Disk from the Command-prompt ==
 
The Check Disk process my also be initiated from the command prompt using the '''chkdsk'''' command combined with the designator of the drive on which the scan is to be performed. In addition to performing the same functions as the graphical version of Check Disk, the command prompt version also provides more detailed disk analysis and repair reports.
 
The '''chkdsk''' utility accepts a number of command line options which govern the tasks performed during execution. These options are outlined in the following table:
 
<table border="1" cellpadding="5" cellspacing="0" id="E3B" style="border-collapse: collapse; border-color:#cccccc; border-style: solid; border-width: 1px; margin-bottom:20px">
<tr bgcolor="#cccccc" style="color:black" valign="top">
<th>Option</th>
<th>Description</th>
</tr>
<tr>
<td>/F Analyze the disk and fix any errors detected.</td>
</tr>
<tr>
<td>/B Reevaluate clusters marked as bad on the volume.</td>
</tr>
<tr>
<td>/C Do not check for cycles (a situation where a directory points to itself) within the folder structure. NTFS only.</td>
</tr>
<tr>
<td>/I Perform a minimum check of indexes. NTFS only</td>
</tr>
<tr>
<td>/L[:Size] Change the size of the transaction log file efault size is
m default of 4096 KB. NTFS only.</td>
</tr>
<tr>
<td>/R Analyze the disk and fix any errors, chack for bad sectors and mark them as bad.</td>
</tr>
<tr>
<td>/V List the full path of every file on the volume on FAT/FAT32. Displays messages related to fixing errors on NTFS volumes.</td>
</tr>
<tr>
<td>/X Force the volume to dismount if currently mounted. </td>
</tr>
</table>