Could someone explain the new chkdsk options? What's an online scan?


Recommended Posts

Could someone please explain what the new chkdsk options in Windows 8 mean/do?

 

  • /scan - Can only be used with a NTFS disk. Runs a online scan on the volume.
    • /forceofflinefix - Can only be used with a NTFS disk. Must be used with /scanswitch. Bypass all online repair; all defects found are queued for offlne repair (ex: "chkdsk /spotfix").
    • /perf - Can only be used with a NTFS disk. Must be used with /scan switch. Uses more system resources to complete a scan as a fast as possible. This may have a negative performance impact on other tasks running on your system.
  • /spotfix - Can only be used with a NTFS disk. Runs spot fixxing on the volume.
  • sdccleanup - Can only be used with a NTFS disk. Garbage collect unneeded security desciptor data. Includes the functionality of /f.
  • offlinescanandfix - Runs an offline scan and fix on the volume.

 

What is an "online" scan?  What is an "offline scan"?  How are these different from a normal /F or /R scan?  

 

Windows 8's NTFS implementation is capable of online healing, which means that a drive needing NTFS structure repairs doesn't have to be unmounted. For more severe problems, though, offline scanning is required. The switch to offline scanning is on a need-to basis and is generally automatic; for fringe cases, you can force it with the /forceofflinefix if you so require.

 

Online scanning therefore means that the disk doesn't have to be unmounted to be scanned (meaning you can repair the boot drive without having to restart or an external drive without having to make it unavailable during the scan). Offline scanning means the scanned drive is unavailable during the scan, which means rebooting in command-line mode if it is the boot drive.

Could someone please explain what the new chkdsk options in Windows 8 mean/do?

 

  • /scan - Can only be used with a NTFS disk. Runs a online scan on the volume.
    • /forceofflinefix - Can only be used with a NTFS disk. Must be used with /scanswitch. Bypass all online repair; all defects found are queued for offlne repair (ex: "chkdsk /spotfix").
    • /perf - Can only be used with a NTFS disk. Must be used with /scan switch. Uses more system resources to complete a scan as a fast as possible. This may have a negative performance impact on other tasks running on your system.
  • /spotfix - Can only be used with a NTFS disk. Runs spot fixxing on the volume.
  • sdccleanup - Can only be used with a NTFS disk. Garbage collect unneeded security desciptor data. Includes the functionality of /f.
  • offlinescanandfix - Runs an offline scan and fix on the volume.

 

What is an "online" scan?  What is an "offline scan"?  How are these different from a normal /F or /R scan?  

 

 

I believe that they mean the volume itself is either "online" mounted or "offline" unmounted.   Or however it was named before this.  Like when you did /F and or one of the other commands that would unlink/unmounts the volume and then scan/fix it.  If you did it or tried to do it to the primary partition/volume like C:\ it would tell you that you have to restart for it to scan.  But when you did it to other volumes or hdds running on the system it would tell you that any open links to those would be broken and that apps/services could mess up on you etc.

Thanks for the info!  That's awesome, because my boot drive is an 8-year-old 500GB, and it now has 7 bad sectors, so I'm glad to know it can scan while mounted.  

So what's the point of the /offlinescanandfix?  Isn't it the exact same as /F or /R?

More or less, though I believe that technically the /f and /r flags are now mainly to be used for non-NTFS volumes. The /offlinescanandfix is preferred on NTFS volumes from Windows 8 onwards.

 

As an added note, bad sectors on a drive are generally cause for great concern. Run a S.M.A.R.T. utility to find out if the disk is about to fail.

More or less, though I believe that technically the /f and /r flags are now mainly to be used for non-NTFS volumes. The /offlinescanandfix is preferred on NTFS volumes from Windows 8 onwards.

 

As an added note, bad sectors on a drive are generally cause for great concern. Run a S.M.A.R.T. utility to find out if the disk is about to fail.

 

Yeah, I know all about the warning signs of a failing disk.  The only red flag according to SMART is the # of reallocated sectors (likely the same as the number of bad sectors, unless something else like a bad cable caused the sector to be misread) which is red flagged because the # is higher than 0.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I was using searxng for about a year , self hosted, but results were starting to timeout and eventually it became unusable so I switched to degoog. Much better for my needs, more polished and add-ons like maps and calculations etc
    • Fake Superman doing the Anti-Trump PR for us, good man !
    • Hello, I am not as familiar with AMD CPUs as I am with Intel's, but as I understand it, that's a mid-range CPU from about three years ago.  I would think it to be fine for everyday casual-type use.  A larger SSD might be better, but with storage prices these days that's a decision that has to be carefully thought about. Regards, Aryeh Goretsky  
    • Ocenaudio 3.19.5 by Razvan Serea  Ocenaudio is a full featured, fast and easy to use audio and music editor. It is the ideal software for people who need to edit and analyze audio files without complications. Ocenaudio also has powerful features that will please more advanced users. To assist ocenaudio development, a powerful toolset of audio editing, analysis and manipulation called Ocen Framework was created. ocenaudio is also based on Qt framework, a well known library for cross-platform development. Cross-platform support ocenaudio is available for all major operating systems: Microsoft Windows, Mac OS X and Linux. Native applications are generated for each platform from a common source, in order to achieve excelent performance and seamless integration with the operating system. All versions of ocenaudio have a uniform set of features and the same graphical interface, so the skills you learn in one platform can be used in the others. VST plugins support Ocenaudio supports VST (Virtual Studio Technology) plugins, giving its users access to numerous effects. Like the native effects, VST effects can use real-time preview to aide configuration. Real-time preview of effects Applying effects such as EQ, gain and filtering is an important part of audio editing. However, it is very tricky to get the desired result by adjusting the controls configuration alone: you must listen the processed audio. To ease the configuration of audio effects, ocenaudio has a real time preview feature: you hear the processed signal while adjusting the controls. The effect configuration window also includes a miniature view of the selected audio signal. You can navigate on this miniature view in the same way as you do on the main interface, selecting parts that interest you and listening to the effect result in real time. Multiselection for delicate editions To speed up complex audio files editing, ocenaudio includes multi-selection. With this amazing tool, you can simultaneously select different portions of an audio file and listen, edit or even apply an effect to them. For example, if you want to normalize only the excerpts of an interview where the interviewee is talking, just select them and apply the effect. Eficient edition of large files With ocenaudio, there is no limit to the length or the quantity of the audio files you can edit. Using an advanced memory management system, the application keeps your files open without wasting any of your computer's memory. Even in files several hours long, common editing operations such as copy, cut or paste happen almost instantly. Fully featured spectrogram Besides offering an incredible waveform view of your audio files, ocenaudio has a powerful and complete spectrogram view. In this view, you can analyze the spectral content of your audio signal with maximum clarity. Advanced users will be surprised to find that the spectrogram settings are applied in real time. The display is updated immediately when altering features such as the number of frequency bands, window type and size and dynamic range of the display. Ocenaudio 3.19.5 changelog: Fixes crashes related to audio devices on Windows (DirectSound and ASIO) Fixes several crashes and memory corruption issues Fixes opening several headerless files at once, which previously dropped all but one Improves batch export by suggesting and remembering the destination folder Fixes accented and non-Latin characters in VST plug-in and compressed-archive file names Adds zstd compression support and updates the archive library Other bug fixes and improvements Download: Ocenaudio 64-bit | Portable | ~40.0 MB (Freeware) Download: Ocenaudio for Linux and Mac OS View: Ocenaudio Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Excellence2025 earned a badge
      One Month Later
    • Week One Done
      Excellence2025 earned a badge
      Week One Done
    • Week One Done
      flexorcist earned a badge
      Week One Done
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      +Edouard
      205
    3. 3
      PsYcHoKiLLa
      145
    4. 4
      Steven P.
      72
    5. 5
      FloatingFatMan
      68
  • Tell a friend

    Love Neowin? Tell a friend!