Tutorials

How to wipe a laptop easily and securely

Selling your laptop? Make sure that all your personal data is gone before it reaches its new owner

There's a lot that can be done to give an old computer a new lease of life, but sometimes there's just nothing left to do with an ageing machine but sell it on, donate it to charity or just plain chuck it away. Before you do that, though, beware - if you don't take the time to properly erase all the data from a PC's hard drive before you get rid of it, you can wind up facing serious consequences.

This is true for consumers (after all, who wants their family snaps, digital documents and other local data to find their way into the wrong hands?) but it should be an even bigger concern for businesses. If you don't properly wipe all your machines when you're done with them, your customers', employees' and partners' data could end up leaking out - just ask defunct computer company NCIX.

This is damaging for any business, but if you're working in a highly-regulated field like finance or healthcare, you could incur serious penalties for leaving yourself open to this kind of data breach. To be on the safe side, you should always wipe any form of data storage medium before it leaves your control.

Back up important data

Before you start removing data, you need to make sure all of your files and folders are correctly backed up. Even if you think you'll never need the data again, it's likely you'll need to refer back to something you created a long time ago and when this process is complete, you will not be able to recover anything - so it's always a good idea to back up your data, just in case.

Advertisement
Advertisement - Article continues below

There are a few ways of doing this and the most practical for you will depend on how much data you need to copy. If you are backing up files selectively, or there aren't many of them and you have a fairly good internet connection, then backing up to the cloud is an option.

The most complete and quickest way, however, is to back up to an external hard drive that's directly connected to the laptop.

You will need to figure out how much storage you need. If everything is stored on one drive (usually the C: drive in Windows, right-click on the drive icon to see how much data is taking up space there.

Once you have connected the external drive to the laptop you want to wipe, you can check that it is big enough to store all the data you need.

To backup, you can simply connect an external drive to the laptop and drag files and folders to it. You can use the Windows Backup feature in Windows 7 of File History in Windows 8. Windows 10 has both features and adds the ability to backup and restore system images. 

How to wipe a Windows 7/Vista/XP laptop 

Wiping a laptop running Windows 7 shouldn't be too difficult. You can use an application such as DBAN (link). It is downloadable as an ISO image so you will need to extract it onto a bootable USB or disc to use it. Once this USB flash drive is inserted in the laptop you want to wipe, restart the machine, make sure you boot from this drive and follow the prompts. The machine will start a several-hour-long process to securely delete everything. You can now reinstall Windows 7 from any disc or bootable USB stick with Windows installation files.

DBAN can also be used to wipe any drive running Windows or indeed Linux as it doesn't need to run in any particular OS.

How to wipe a Windows 8/8.1 laptop

It's much easier to wipe a hard drive in Windows 8 or 8.1. Head to the Start screen, find the Charms bar, click on Settings and then hit Change PC settings. Finally, choose Remove Everything and Reinstall Windows.

When you choose to erase data, make sure you click on the "throughly" option rather than the "quickly" as a safety measure. This means the disk will be erased so you can reformat it and install a new copy of Windows automatically.

How to wipe a Windows 10 laptop

You're able to wipe the hard drive and installing a fresh copy of the OS on Windows 10 thanks to its built-in method.

Advertisement
Advertisement - Article continues below

Simply go to Start>Settings>Update & Security>Recovery and click Get Started and choose the applicable selection. In order to restore Windows 10 back to a pristine state, you will have to follow the set of instructions which can be found in the applicable selection you just clicked on. In this case, choose the Remove Everything option to, surprisingly, get rid of everything. If you have more than one drive on your laptop, you will be asked if you want files removed from all drives, and as a safety option, this is the best method.

Lastly, you will be asked if you want to clean the drives. This will take a few hours but will make sure that there are no files recoverable from the disk.

How to wipe a Mac

Wiping a Mac has broadly similar principles but is, in fact, a lot easier to do. If your machine is running Lion or Mountain Lion, a system disk isn't required, but for earlier Macs you will need one. To initiate the recovery partition, hold down the command and R keys as the computer restarts and open Disk Utility.

Search for the Erase tab security options and click 7-pass Erase. This will write the data to the disk several times. It might take a few hours to complete the process but is a very secure way of doing so.

How to wipe a Linux laptop

If you've got a Linux-based machine, wiping any of the hard drives - internal or external - is a slightly fiddly process that involves using the command line.

Open up a command line terminal and enter 'sudo fdisk -l'. This will list all the storage drives currently connected to your machine. Find the drive you want to wipe, and note the drive's device path.

Next, run this command - 'sudo dd if=/dev/zero of=/dev/sdb bs=1M' - via the terminal, making sure to substitute '/dev/sdb/' with the target drive's correct device path. This method is known as 'zeroing', and wipes the drive by overwriting every byte of information with zeroes.

There is some debate as to whether or not this is more secure than overwriting the drive with random bits of information, but it's usually quicker and is perfectly sufficient for protecting your data from the average buyer.

Advertisement
Related Resources

Application security fallacies and realities

Web application attacks are the most common vulnerability, so what is the truth about application security?

Download now

Your first step researching Managed File Transfer

Advice and expertise on researching the right MFT solution for your business

Download now

The KPIs you should be measuring

How MSPs can measure performance and evaluate their relationships with clients

Download now

Life in the digital workspace

A guide to technology and the changing concept of workspace

Download now

Recommended

Visit/microsoft-windows/34549/microsoft-gives-smbs-reprieve-on-windows-7-support
Microsoft Windows

Microsoft gives SMBs reprieve on Windows 7 support

2 Oct 2019
Visit/security/354156/google-confirms-android-cameras-can-be-hijacked-to-spy-on-you
Security

Google confirms Android cameras can be hijacked to spy on you

20 Nov 2019
Visit/laptops/21797/macbook-pro-15in-v-dell-xps-15
Laptops

Apple MacBook Pro 15in vs Dell XPS 15: Clash of the titans

12 Apr 2019
Visit/laptops/26047/how-to-speed-up-a-laptop
Laptops

10 ways to speed up your laptop

3 Apr 2019

Most Popular

Visit/operating-systems/25802/17-windows-10-problems-and-how-to-fix-them
operating systems

17 Windows 10 problems - and how to fix them

4 Nov 2019
Visit/strategy/28115/the-pros-and-cons-of-net-neutrality
Business strategy

The pros and cons of net neutrality

4 Nov 2019
Visit/domain-name-system-dns/34842/microsoft-embraces-dns-over-https-to-secure-the-web
Domain Name System (DNS)

Microsoft embraces DNS over HTTPS to secure the web

19 Nov 2019
Visit/social-media/34844/can-wikipedia-founders-social-network-really-challenge-facebook
social media

Can Wikipedia founder's social network really challenge Facebook?

19 Nov 2019