4

Specifically, I am long-formatting to ExFAT.

Is this filling my external HDD with zeros?
If not, how can I do this with a 230GB SATA hard drive in an external USB caddy?

5

If you're running Windows Vista or newer, then yes.

http://support.microsoft.com/kb/941961

That KB article details the changes with the format command starting with Vista, a long format now writes zeros to the entire drive. Previous versions did a read only check of every sector.

  • I have always wondered if it only writes zero's when using the command prompt, I cannot find documentation where it says it does overwrite when formatting in explorer, disk management or from an Vista or W7 install dvd. The document specifically shows it done from the command prompt and using diskpart. – Moab Feb 25 '12 at 17:30
  • @Moab: I'd guess that the underlying system calls are the same from cli and gui, so it doesn't matter. – afrazier Feb 25 '12 at 18:26
  • I don't like assumptions even when they are obvious, I guess I will test it soon. – Moab Feb 25 '12 at 18:31
  • With ImDisk and some small in memory volumes, it should be relatively easy to test. – afrazier Feb 25 '12 at 18:41
  • 1
    @Hashim: See superuser.com/a/1046139/34636. Someone actually went and tested the Windows 7 GUI. The underlying APIs are not well documented anywhere, and the KB Article in my answer is the best and most authoritative information on the subject I'm aware of, despite it being user-centric rather than developer-centric. Any MS supported, documented method of formatting a disk is going to write zeros to the volume when told to do a full format in Vista or later. – afrazier Apr 5 '18 at 2:48
0

For Windows XP, No, the "long" or "regular" format is just checking the sectors for consistency. When the files get erased, only the file tables are erased. The files remains are still recoverable with unerase file utilities. Here's Microsoft's explanation. What you want to use is a utility that performs a "kill disk". One good tool that has a 1 pass freeware version is Active@, but there are many others if you do a search. (1 pass means it writes 0's to each sector making those file remains.) Writing over USB to a 230gb drive will take many hours and is an overnight task.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.