I was given an old 1TB hard drive, and the previous owner said it may have been exposed to malware after downloading a malicious file. I'd like to install it in my NAS, but I only have an older Windows laptop available for preparing it. What's the safest way to completely erase the drive, and do I need any special software?
3 Answers
For extra separation from your Windows installation, boot the laptop from a Linux live USB or a utility such as Hiren’s BootCD PE, then erase the target drive from there. You can remove its partitions and create a new partition table, or use a secure erase/zero-fill option if you want the whole disk overwritten. Unplug every other drive first so there’s no chance of wiping the wrong one.
Before putting it in a NAS, check the disk’s SMART health and bad-sector count with a tool such as CrystalDiskInfo. An old desktop drive may not be reliable or suitable for continuous NAS use. Since its history is uncertain and replacement drives are relatively inexpensive, discarding it may be safer than trusting important data to it. Also avoid running random commands copied from the internet—one wrong device name can erase your entire computer.
If you don’t need anything currently on the drive, deleting its partitions and performing a full format is generally enough. The NAS will usually format the disk again when you add it. Make absolutely sure you select the correct drive, though, because this will permanently erase it. If you’re especially cautious, disconnect the laptop’s internal drive and any other storage first.

The previous owner only said they downloaded a malicious file and that the drive had a virus. I don’t need any of the data, so I’m fine with completely wiping it.