Wiping a Drive

by Allen Wyatt
(last updated March 7, 2016)

2

If you've been using Windows for quite some time, you may be familiar with the command prompt and some of the commands you can use there. If you are using Windows 8 or Windows 10, you may not be familiar with a change made to a familiar command: format.

Starting in Windows 8, the format command now allows you to use the /p switch, which causes the command to not only format a drive, but also to perform as many passes on the data surface as you want. Multiple passes decreases the likelihood that someone could successfully retrieve information that used to be on the drive. If you plan on giving the drive to someone else and you previously had information on the drive you don't want them to potentially recover, then using the /p switch is a good idea.

As an example, let's say that you had an external drive (F:) that you want to give to someone else. After you've copied all the information from the drive, you can display the command prompt window (as discussed in other WindowsTips) and then use this command:

format f: /p:5

This command performs 5 formatting passes. While this may take a while to complete, the process makes the probability of anyone accessing old information vanishingly small. (It sure beats the old way I used to make sure nobody could access data on a drive I no longer needed: Hitting it multiple times with a three-pound sledgehammer.)

 This tip (2596) applies to Windows 7, 8, and 10.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Printing Shortcut Key Assignments from a Macro

Need to know what shortcut keys are defined? You can use a single macro command line to print out the definitions.

Discover More

Returning a Weight and a Date

If you have two columns containing dates and weights from those dates, you may want to pick a date associated with a given ...

Discover More

Adjusting the VLOOKUP Function

The VLOOKUP function is very powerful, but it will only return values that meet a very limited set of criteria. If you want ...

Discover More
More WindowsTips

Updating a Device Driver

If you attach a new device to your computer or need to update a current device's driver, this tip provides the general ...

Discover More

Using Powercfg to Export and Import a Power Scheme

You can export to a file your power schemes and then import them later on. The only caveat is that you must be running as ...

Discover More

Creating a Custom Power Management Plan

Don't like the built-in power management plans that Windows provides? You can create your own to better fit your power needs.

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 + 0?

2016-03-07 08:39:14

WyoSteve

Is there any program or app which accomplishes this for Win7?


2016-03-07 08:38:20

Jennifer Thomas

Way back when, we used to run old drives between a pair of powerful magnets before reformatting them, the concept being that the EM would 'scramble' the drive's data beyond recoverability.

Does that still work? Did it ever really work?

Just idle curiosity, but if anyone knows I'd appreciate your input!


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.