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

    • Cheap labour, the same as the U.K. China pays their people pittance.
    • Those people that come over here on boats are already in a safe country, if they want to come over here then do so correctly though the right channels. I was born in the U.K, my family that came over here came so via the proper means. My partner came here via the correct channels, she also became a British citizen, she knows more about this country than most of them that was born here, including myself, she worked hard to do what she does. She will stick up for this country and have done a few times, when people from her own part of world have put the U.K down. We are not going to agree, all I said to start with is that maybe Trump has the right idea with this America first thing and maybe we should start doing the same. Maybe not as drastic as what he is doing, but we do need to sort this country out, we need to sort out tech instead of relying on the U.S and others. Again you have not shown why you are so annoyed that we have left the E.U and this is what it is all about? If you don't live in the U.K and live in the E.U are you annoyed that we left your little club? If you live in the U.K and is pro-E.U, then fair enough then I can see how it annoys you. Are you one of these people who lives in the U.K and have a holiday chalet in the E.U and can now only stay there for so long? If so, then that is bad luck. As I have posted before, I have no problem with people coming here to work, as long as they do if via the proper channels. We are out of the E.U, people voted out, and maybe if more people had voted instead of sitting on their backsides the results would have been different. But they like the E.U and our government thought no we would not vote to leave. How wrong they were, surprised me. I expected to wake up in the morning and hear on the radio that we voted to stay. As I said, we are out and have been for 10 years, we are not going to go back in anytime soon if we ever do, so we all need to make the best of how things are. Anyway, this is supposed to be a tech site.
    • Tim Cook: "The US over time began to stop having as many vocational kinds of skills." What's the point of wasting time getting those skills if you can't get a job with them? Good Lord, maybe he and his cohort of CEO's who exported all these jobs to China should just shut the f**k up :D
    • I made a new Cinematic/Trailer for the game, this will be the intro, still a work in progress!  I also updated the Steam page with a ton of new screenshots! 👀 https://store.steampowered.com/app/3925340/Incoherence_Dark_Rooms/  
  • Recent Achievements

    • Conversation Starter
      jessse3334 earned a badge
      Conversation Starter
    • Reacting Well
      JuvenileDelinquent earned a badge
      Reacting Well
    • 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
  • Popular Contributors

    1. 1
      +primortal
      501
    2. 2
      +Edouard
      211
    3. 3
      PsYcHoKiLLa
      150
    4. 4
      Steven P.
      73
    5. 5
      macoman
      62
  • Tell a friend

    Love Neowin? Tell a friend!