Check Disk (CHKDSK) is a Windows tool that scans your drive for file system errors and bad sectors, and can repair them when run with the right parameters.
CHKDSK examines the file system integrity of a disk and can fix logical errors or mark damaged sectors so they aren’t used again. It can help with issues like slow performance, corrupted files, crashes, or boot errors.
Open your registry editor
(regedit.exe) and go to HKEY_CLASSES_ROOT\drive\shell
Create the following:
HKEY_CLASSES_ROOT\Drive\shell\Launch Disk Clean-up\command
Put (default) =
cleanmgr.exe /d %1
HKEY_CLASSES_ROOT\Drive\shell\Launch Disk
Defrag\command
Put (Default) = C:\Windows\System32\defrag.exe %1
HKEY_CLASSES_ROOT\Drive\shell\Launch Check Disk\command
Put (Default) = C:\Windows\System32\chkdsk /r /f
%1
Definitions
Disk defrag is a program
designed to increase the speed of accessing the files by rearranging them. The
main purpose is to optimise the time it takes to read and write from the disk.
It improves
startup times and many more.
Defrag.exe
offers more options and control for defragmentation process such as performing
a full defragmentation and many more.
CHKDSK is a command
Line disk tool that verifies the integrity of your file system structure and
the hard disk drive.
Disk Cleanup
(cleanmgr.exe) is a maintenance utility designed to free up
disk space and remove unnecessary files.
Read more...
