Ask Leo! #638 – How Can I Securely Delete Everything Except the Operating System?

How Can I Securely Delete Everything Except the Operating System?

(skip)

I'm about to give away my machine, but I want to leave Windows installed. How can I permanently delete everything except the OS?

You can't.

Not really, not completely, and not securely.

I'll describe a few steps that will delete a lot – perhaps enough for your concerns – but it really depends on how paranoid you are about the various traces that will still be left on a machine you've been using a while.

Everything? There's really only one way to do that.

Delete and uninstall as much as you can

The process starts by deleting your data files and uninstalling all the programs you've used or added and don't want to be part of the machine when it's reused by someone else.

For your data files, that means deleting things from My Documents and wherever else you keep data files.

A good start for programs is to take a walk through Add/Remove Programs, or Programs and Features in Control Panel, and just start uninstalling.

For extra security, you might want to use Revo Uninstaller instead of Control Panel. Revo not only lists more things, but it uninstalls more thoroughly. (It has a couple of levels of "aggressiveness" in determining what to remove, and this is one case where it might make sense to risk being as thorough as possible.)

Remove all users but one

If your machine has more than one user account, remove all except for a single account that has administrator privileges. This should delete a plethora of files and settings associated with each account.

Clean crud

Run the built-in Disk Cleanup Utility, or, better yet, grab a copy of CCleaner (a free download – you do not need to buy support), and use it to clean up as much as it can.

The goal here is to remove traces from browser caches, temporary files, and a host of other things – many of which might well be benign, but many others that may inadvertently contain things you'd rather not share with your machine's subsequent owner.

You might consider running a registry scan. I'm not a big fan of registry cleaners, but this is a case where they might remove additional information you don't want left behind, and the cost of failure (an unbootable machine) is relatively low. CCleaner's registry-cleaning utility should be fine. You may want to take an image backup prior to the cleaning, just in case you want to be able to recover from that worst-case scenario.

Turn off some system files

Set your virtual memory to zero and delete the paging files. Turn off Hibernation, and remove the hibernation file.

These are hidden files in the root of your system drive, typically C:\.

Turn off System Restore.

All of these can contain private information, and can be turned back on by the machine's new owner should they so desire.

Securely erase the empty space

Using a tool like CCleaner's "Drive Wiper", securely erase unused space on your hard disk.

By default, just deleting files doesn't overwrite the data, and it could still be recovered. Tools like Drive Wiper actually overwrite all of the unused space on your hard drive with random data to completely remove all traces of what had been stored there before.

That's about as good as you can get using this approach.

What still might be missed

The problem with this approach is that you don't know what you might have missed.

There might be system files that contain information about you: registry settings that remain even after all the deletion and cleaning above that contain settings for programs (perhaps even programs no longer installed) that indicate something about who you are or what you used the machine for.

You just don't know.

That's why this is not an approach I ever recommend.

Nuke it instead

Using a tool like DBAN erases the hard drive completely. It's easy, and every single bit of every single byte – operating system, settings, programs, and data – is removed from the hard drive…

… including all your personal information.

Then, if you like (and if you can), reinstall the operating system from an install disk.

If you don't have one, then perhaps grab a free copy of a Linux distribution and install that instead.

But erasing the hard disk completely is the only way to be absolutely sure you haven't left personal information on the machine prior to handing it off to someone else.

Well, that or remove the drive and give them the machine without it. But even then, you'll want to erase the drive before disposing of it.

Related Links & Comments: How Can I Securely Delete Everything Except the Operating System?
https://askleo.com/4716

Become a Patron - Get The Ask Leo! Tip of the Day

My ISP Went Under; How Do I Recover My Email and Email Address?

It looks like my ISP suddenly went out of business. As a result, my email address no longer works, and I can't get to all the email that was accessible using the ISP's web access. What can I do?

Fortunately, your scenario isn't all that common, but unfortunately, what you're experiencing is. It happens any time someone changes their ISP or loses access to their free email account.

Thus, it's an excellent opportunity to review some very important points I've mentioned before.

Continue Reading: My ISP Went Under; How Do I Recover My Email and Email Address?
https://askleo.com/3284

Should I Run CHKDSK on My SSD?

I've heard I should not defragment my SSD because it'll wear out faster. How does that apply to CHKDSK? Should I run it or not?

CHKDSK (standing for Check Disk) and Defrag are different tools for different purposes. When it comes to CHKDSK, it doesn't matter what type of drive you have; it won't harm the drive the way a defrag might harm an SSD.

Let's look at why that is. In fact, I'll see if I can't extend one of my metaphors – perhaps to the point of breaking – to clarify what's going on.

Continue Reading: Should I Run CHKDSK on My SSD?
https://askleo.com/25880

The Ask Leo! Tip of the Day

A feature exclusively available to Ask Leo! Patrons.

More Ask Leo!

Become a Patron
Books - Business - Glossary
Facebook - YouTube - More..

Help Ask Leo! Just forward this message, in its entirety (but without your unsubscribe link below) to your friends. Or, just point them at https://newsletter.askleo.com for their own FREE subscription!

Newsletter contents Copyright © 2017,
Leo A. Notenboom & Puget Sound Software, LLC.
Ask Leo! is a registered trademark ® of Puget Sound Software, LLC

Posted: February 7, 2017 in: 2017
Shortlink: https://newsletter.askleo.com/7628
« Previous post:
Next post: »

New Here?

Let me suggest my collection of best and most important articles to get you started.

Of course I strongly recommend you search the site -- there's a ton of information just waiting for you.

Finally, if you just can't find what you're looking for, ask me!

Confident Computing

Confident Computing is the weekly newsletter from Ask Leo!. Each week I give you tools, tips, tricks, answers, and solutions to help you navigate today’s complex world of technology and do so in a way that protects your privacy, your time, and your money, and even help you better connect with the people around you.

The Ask Leo! Guide to Staying Safe on the Internet – FREE Edition

Subscribe for FREE today and claim your copy of The Ask Leo! Guide to Staying Safe on the Internet – FREE Edition. Culled from the articles published on Ask Leo! this FREE downloadable PDF will help you identify the most important steps you can take to keep your computer, and yourself, safe as you navigate today’s digital landscape.



My Privacy Pledge

Leo Who?

I'm Leo Notenboom and I've been playing with computers since I took a required programming class in 1976. I spent over 18 years as a software engineer at Microsoft, and after "retiring" in 2001 I started Ask Leo! in 2003 as a place to help you find answers and become more confident using this amazing technology at our fingertips. More about Leo.