Wiping a Drive

Written by Allen Wyatt (last updated January 13, 2020)

1

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 decrease 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 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

Direction Arrows Confused

What do you do if you open a document, only to find that the arrow keys don't work the way that they should? The first ...

Discover More

Comparing Strings

When writing a macro, a common task is the need to compare two strings. You can do this by "normalizing" the strings, as ...

Discover More

Spelling Errors Resulting from Erroneous Spaces

Spelling errors can result from improperly ordering letters in a word, or from adding spaces where they shouldn't be. ...

Discover More
More WindowsTips

Adjusting the Mouse for Left-Handed Users

Since Windows is so customizable, it should come as no surprise that Microsoft has made accommodations for left-handed ...

Discover More

Choosing How to Use Multiple Monitors

Do you have multiple monitors (or a projector) hooked up to your system? Here's how to utilize that second display device ...

Discover More

Choosing a Power Management Plan

Windows maintains a number of power management plans that define how long the various components of your system sit idle ...

Discover More
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}] (all 7 characters, in the sequence shown) 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 5 - 3?

2020-01-13 10:21:42

J. Woolley

You might be interested in Disk Wipe: http://www.diskwipe.org/


Newest Tips