Resetting a hard disk means returning it to a clean, factory-like state by removing all partitions, volumes and data, then creating a fresh file system. This is different from a simple format: a full reset wipes the partition table and often overwrites the entire surface, so the drive behaves like new. You might reset a disk before selling a computer, after a malware infection, when repurposing a drive, or when a disk is so corrupted that Windows or macOS refuses to mount it. The process destroys everything on the drive, so back up first. You will also need the right tools and a clear idea of which disk you are targeting, because picking the wrong one can erase your operating system or a backup drive.
What You'll Need
- A working computer with the target disk connected internally or through a USB enclosure.
- An external drive or cloud account large enough to hold anything you want to keep.
- Administrator rights on Windows or macOS.
- For Windows: Disk Management (built in) or Diskpart (command line). For macOS: Disk Utility (built in). For Linux: GParted or the
dd/wipefscommands. - Optional: a bootable USB installer if the disk you are resetting is the one holding your current operating system.
- Optional: a screwdriver or caddy if you need to remove the disk from a laptop.
Step-by-Step
- Back up everything you need. Copy personal files, photos, licence keys and browser profiles to another drive. A reset deletes all partitions and data; there is no recycle bin to recover from.
- Identify the correct disk. Note its capacity, model name and connection type. In Windows, open Disk Management (
diskmgmt.msc) and match the disk number and size. In macOS, open Disk Utility and select “Show All Devices” so you see the physical disk, not just the volume. In Linux, runlsblkand check the device name (for example/dev/sdb). - Disconnect other drives if you are unsure. Unplug USB backup drives and external disks so only the target and your system disk are connected. This prevents accidentally wiping the wrong device.
- Windows: open Disk Management. Right-click the Start button and choose Disk Management. Find the target disk in the lower list. Right-click each partition on it and choose “Delete Volume” until the whole disk shows as “Unallocated”. Then right-click the unallocated space and choose “New Simple Volume”, follow the wizard, and format with NTFS (or exFAT if you need cross-platform use).
- Windows command-line alternative: Diskpart. Open Command Prompt as administrator, type
diskpart, thenlist disk. Select the correct disk withselect disk N(replace N with the number you identified). Runcleanto wipe the partition table. Runcreate partition primary, thenformat fs=ntfs quick, thenassign. Typeexitwhen done. - macOS: open Disk Utility. Choose View > Show All Devices. Select the physical disk in the sidebar (not the indented volume). Click Erase. Choose a scheme (GUID Partition Map for modern Macs), a format (APFS for macOS, exFAT for cross-platform), and confirm. Disk Utility writes a fresh partition map and file system.
- Linux: use GParted or command line. In GParted, select the correct device, then Device > Create Partition Table to write a new table. Create a partition and format it. On the command line,
wipefs -a /dev/sdXremoves signatures, then usepartedorfdiskto create a new partition andmkfsto format it. - For a full surface wipe, overwrite the disk. A quick format only removes the file system; the old data may still be recoverable. To overwrite, use a tool such as
ddon Linux/macOS (dd if=/dev/zero of=/dev/sdX bs=1M status=progress) or a secure erase utility from the drive manufacturer. This takes hours on large disks and is unnecessary if you are keeping the drive. - Verify the result. Reconnect the disk, open Disk Management or Disk Utility, and confirm it shows one healthy partition with the expected file system and full capacity. Copy a small test file to it and read it back.
- Reinstall an operating system if needed. If the reset disk is your system drive, boot from your installer USB and install the OS on the freshly created partition.
Common Mistakes
- Selecting the wrong disk. Disk numbers and device names change when you plug in USB drives. Always confirm by capacity and model before running
cleanordd. - Confusing quick format with a full wipe. A quick format leaves recoverable data. If you are selling or donating the drive, overwrite it or use the manufacturer's secure erase.
- Resetting the system disk while booted from it. Windows and macOS will not let you erase the disk you are running from. Use a bootable installer instead.
- Forgetting the backup. A reset is irreversible. Check that your backup opens and contains the files you expect before you start.
- Ignoring drive health. If a disk has SMART warnings or makes clicking noises, resetting it will not fix the hardware. Back up and replace it.
Tips
- Label the target disk with a piece of tape or note its serial number before you begin.
- Use exFAT if the drive will move between Windows and macOS; use NTFS for Windows-only and APFS for macOS-only.
- Run a full format rather than a quick format if you suspect bad sectors; it forces the drive to check every block.
- Keep the drive connected to a stable power source during a full wipe; a power loss can leave it in an inconsistent state.
- After resetting, check the drive's SMART status to confirm it is still healthy.
Troubleshooting
- The disk does not appear in Disk Management or Disk Utility. Check the cable and power, try another port or enclosure, and confirm the drive spins up. If it is still invisible, the drive may have failed.
- “The disk is write protected” or “Access denied”. On Windows, check the physical write-protect switch on USB adapters and run Diskpart as administrator. On macOS, unlock the disk in Disk Utility if it is encrypted.
- Format fails partway through. Note the error. A “bad sector” or I/O error usually means hardware failure; back up what you can and replace the drive.
- The drive shows the wrong capacity after reset. You may have created a partition smaller than the disk. Delete it and create a new one using the full unallocated space.
- You erased the wrong disk. Stop using that computer immediately. Data recovery is sometimes possible with specialist software, but success is not guaranteed, especially after overwriting.
Frequently Asked Questions
Does resetting a hard disk delete everything?
Yes. Resetting removes partitions and file systems, so the data is no longer accessible through normal means. A quick format may leave recoverable traces; a full overwrite makes recovery very unlikely.
Is resetting the same as formatting?
Not exactly. Formatting creates a new file system on an existing partition. Resetting usually means deleting all partitions and creating a fresh partition table, which is a deeper clean.
Can I reset a hard disk without losing the operating system?
You can reset a secondary data disk without touching the OS. If the disk holds your OS, you must boot from external media and reinstall the OS afterward.
How long does a hard disk reset take?
A quick format takes seconds to minutes. A full overwrite can take several hours depending on capacity and speed; a 1 TB drive might take a few hours, and larger drives longer.
Will resetting fix bad sectors?
No. A reset can mark bad sectors so they are not used, but it does not repair physical damage. If a drive reports bad sectors, plan to replace it.
Do I need special software to reset a hard disk?
No. Windows Disk Management, macOS Disk Utility and Linux GParted are built in or freely available. Manufacturer tools are optional for secure erase.