Click on the Start menu and open the run dialog.
2. Type “cmd” and return (without quotes)
3. Next type “fsutil dirty query
4. If the returned message indicates that the volume is dirty, go to step 5
5. Next type “chkdsk
If you get this below answer YES.
Chkdsk cannot run because the volume is in use by another
process. Would you like to schedule this volume to be
checked the next time the system restarts?
6. After that finishes, repeat step 3.
7. If the volume is no longer dirty, reboot and chkdsk should not reappear.
The “fsutil dirty query” reports the current state of the flag.
“Chkdsk /f” forces Chkdsk to run whether or not the flag is dirty— it’s a way to ensure that errors are fixed, regardless of what the flag says.
“Chkdsk /x” goes a little further and helps ensure that any files that were left open get closed; it actually implies “/f” so you don’t need the /f if you’re using /x .
With either /f or /x, at the end of the run, Chkdsk should set the flag to clean