How to Factory Reset an M.2 SSD: Step-by-Step Guide
In this article
There is no single "factory reset" button for an M.2 SSD. What people usually mean is wiping the drive completely so it is blank and ready for a fresh operating system install, a new owner, or a clean reinstall. You do this with a secure erase tool from the SSD maker, a Windows installation USB, or Diskpart. Back up everything first: a full wipe deletes every file, every partition, and the operating system on that drive.
What You'll Need
- A working computer with an M.2 slot or a USB-to-M.2 enclosure (if the drive is not already installed).
- A small Phillips screwdriver for the M.2 retaining screw.
- A backup drive or cloud storage large enough for your files.
- A Windows installation USB (8 GB or larger) if you plan to reinstall Windows afterward.
- Optional: the SSD manufacturer's management utility (Samsung Magician, Crucial Storage Executive, WD Dashboard, Kingston SSD Manager, or similar) for a secure erase.
Step-by-Step
- Back up your data. Copy documents, photos, game saves, browser profiles, and anything else you cannot lose to an external drive or cloud service. If the drive holds your only copy of Windows, note your product key or link your Microsoft account so activation survives the reinstall.
- Decide which method fits your situation. If the SSD is your boot drive and you want to reinstall Windows, the cleanest route is to boot from a Windows USB and delete all partitions during setup. If the SSD is a secondary data drive, Diskpart or Disk Management is faster. If you want a true low-level wipe that also restores performance on an older drive, use the manufacturer's secure erase tool.
- For a boot drive, create Windows installation media. On a working PC, download the official Media Creation Tool from Microsoft's website and use it to write a Windows 10 or Windows 11 USB. Do not use unofficial ISO sites.
- Shut down and disconnect other drives. Power off, unplug the PC, and disconnect any other SSDs or hard drives so you cannot wipe the wrong disk by accident. This is the single most important safety step.
- Boot from the USB. Plug in the installation USB, power on, and use the boot menu key (often F12, F11, F8, or Esc depending on the motherboard) to select the USB. Labels vary by motherboard brand and BIOS version.
- Delete the partitions. In Windows Setup, choose Custom install. Select each partition on the M.2 SSD and click Delete until the drive shows as one block of unallocated space. Do not delete partitions on any other drive. Select the unallocated space and click Next to install Windows fresh.
- For a secondary drive, use Disk Management. Right-click Start, open Disk Management, right-click each volume on the M.2 drive, and choose Delete Volume. Then right-click the unallocated space and create a new simple volume, formatting it as NTFS. This is not a true factory reset, but it gives you a clean, empty drive.
- For a secure erase, use the manufacturer's tool. Install the SSD maker's utility, open its drive or tools section, and look for Secure Erase or Sanitize. The exact label differs by brand. Many tools require the drive to be a non-boot drive or require you to create a bootable USB from within the utility. Follow the on-screen prompts and confirm only after checking the drive letter and model.
- Verify the result. After the wipe, open Disk Management or the manufacturer's tool and confirm the drive shows as unallocated or empty. If you reinstalled Windows, check that the drive appears in File Explorer with the correct capacity.
Common Mistakes
- Wiping the wrong drive. Disconnecting other drives before a clean install prevents this. Always check the model and capacity before confirming a delete.
- Skipping the backup. A factory reset or partition delete is not reversible with normal tools. Once the partition table is gone, recovery software may not get everything back.
- Confusing format with secure erase. A quick format only removes the file table; the data blocks remain until overwritten. A secure erase actually clears the NAND cells.
- Using the manufacturer's tool on the boot drive. Many secure erase utilities refuse to wipe the drive Windows is running from. That is a safety feature, not a bug. Use the Windows USB method instead.
- Forgetting the M.2 screw or standoff. If you removed the drive, make sure the standoff is in the correct length position and the screw is snug but not overtightened.
Tips
- If you plan to sell or give away the drive, use secure erase rather than a quick format so the previous data cannot be easily recovered.
- Secure erase can restore write speed on an older, heavily used SSD because it clears the drive's internal state.
- Keep the Windows installation USB after you finish. It is useful for troubleshooting later.
- After reinstalling Windows, run Windows Update and install the motherboard chipset driver so the M.2 slot performs correctly.
- Label your drives in Disk Management with a name like "M.2 System" or "M.2 Data" so future wipes are less confusing.
Troubleshooting
- The SSD does not appear in Windows Setup. Check that the drive is fully seated in the M.2 slot and screwed down. In the BIOS, confirm the slot is enabled and set to the correct mode. Some boards disable an M.2 slot when certain SATA ports are in use.
- The manufacturer's tool does not detect the drive. Update the utility to the latest version from the maker's official site, and make sure the drive is not the current boot drive. If it still fails, use the Windows USB method.
- Secure erase freezes or fails partway. Do not power off during the erase. If it hangs for more than a few minutes, restart and try again with the drive connected directly to the motherboard rather than through a USB enclosure.
- Windows will not install on the unallocated space. Confirm the USB was created with the official Media Creation Tool, and check that the drive is not set to a RAID mode in BIOS that Windows Setup cannot see without a driver.
- The drive shows the wrong capacity after wiping. Open Disk Management and check for hidden recovery or OEM partitions. Delete them, then create a new volume.
Frequently Asked Questions
Does an M.2 SSD have a factory reset button?
No. "Factory reset" for an SSD means wiping it with a secure erase tool, Diskpart, or a clean Windows install. There is no physical reset button on the drive.
Will a factory reset make my SSD faster?
A secure erase can restore some write performance on a drive that has been heavily used, because it clears the NAND cells and resets the drive's internal state. A simple format usually does not.
Can I reset an M.2 SSD without removing it?
Yes, if it is a secondary drive. Use Disk Management or the manufacturer's utility from within Windows. If it is your boot drive, you need a Windows installation USB because you cannot wipe the drive you are running from.
Is a factory reset the same as formatting?
No. Formatting removes the file system and partition table but leaves the data blocks in place. A secure erase overwrites or clears the cells so the old data is not recoverable with ordinary tools.
What happens to Windows after I reset the SSD?
Windows is deleted along with everything else on the drive. You will need to reinstall it from a USB and reactivate it. Linking your Microsoft account before the wipe makes reactivation easier.
Can I recover files after resetting an M.2 SSD?
After a quick format, recovery software sometimes works. After a secure erase, recovery is generally not possible. That is why the backup step comes first.