Rechecks all bad clusters on the volume (implies /R)īypasses online repair (must be used with /scan) errors found are queued for offline repair (i.e. Runs a check of index entries (less vigorous)Ĭycles within the folder structure are not checked This will run Windows 10 CHKDSK to verify the disk file system integrity and fix logical file system errors, as well as check bad sectors on the hard disk. After you enter into Command Prompt, you can type chkdsk : /f /r (replace with the drive letter) and hit Enter. All open process on the volume are then invalidated. The most commonly used two command utilities are CHKDSK and SFC. If you do not specify the size, the current size is displayedįorces the volume to dismount. You’ll see a small window with a white background open on your desktop.
#Run disk utility mac command line full
Specifies the name of the files you want to checkĭisplays the full path and name of every file on the driveįinds damaged sectors and recovers readable information (implies /F if /scan is not specified)Ĭhanges the log file size to the number of KBs you specify. To open it, either open your Applications folder, then open Utilities and double-click on Terminal, or press Command-space to launch Spotlight and type 'Terminal,' then double-click the search result. Specifies the drive letter or volume (followed by a colon) or the mount point Use the following basic syntax when you enter the chkdsk commands: You can use additional chkdsk parameters to enable special check phases or repair options. Enter chkdsk and the letter of the drive you want to check.Ĭhkdsk will then run in read-only mode without any further parameters, meaning it won’t change anything on the hard drive.If you’re logged on as a user with restricted permissions, you have to enter the administrator password at this point.Depending on your Windows version, only one of these options will appear in the menu. Next, choose Command Prompt (Admin) or Windows PowerShell (Admin). Right-click the Windows logo in the taskbar to open the Start menu.First, close all windows displaying the drive you want to check, and exit any programs that might be accessing the drive.
#Run disk utility mac command line how to
The following step-by-step guide shows you exactly how to control the tool via the command line. You do not have the PowerShell option in older versions of the operating system such as Windows 7 or Windows 8. In Windows 10, you can type in the chkdsk commands using either Command Prompt or the new PowerShell. Click Run and Continue to repair the hard disk with Disk Utility. Select your hard disk in the side bar and click the First Air button. Select Disk Utility from the utilities window and click Continue. If you run chkdsk from the command line, you have many more scanning options than if you use the File Explorer. Turn on your Mac and press and hold Command-R.