How do I format all partitions on the only disk, when only Win 8 Pro is installed?

10

The PC will be given away, but it should be reduced to a clean and empty disk without any OS on it, with a user in mind who is possibly interested in recovering confidential data.

The PC was reset to work settings, hence features just Win 8 Pro. But that needs to go as well.

In the end, nothing should be on the disk, and it ideally should consist of 0 partitions.

Disk Management does not offer formatting the OS partition, and a good old Format C: won't work either. Also MSConfig doesn't seem to offer a solution. What else can I try?

Herb

Posted 2018-01-26T10:25:22.493

Reputation: 673

1Within WinPE delete the partitions then cancel the installation and shut the PC down. – Ramhound – 2018-01-26T10:32:03.283

2

Download Slitaz (https://slitaz.org/), its small sized linux OS and can be make as a bootable using Rufus(https://rufus.akeo.ie/). Then use linux disk format tool..

– Vishwa – 2018-01-26T11:55:13.973

Do you have a magnet? Or perhaps some butane and a lighter? – Lightness Races with Monica – 2018-01-26T14:18:59.413

@Herb What is your definition of clean anyway? You mean clean to the average user? Or clean that somebody can't undelete something with an undelete program? Update your question accordingly – LateralTerminal – 2018-01-26T14:35:08.213

3not really an answer, but depending on your hourly rate or busy schedule, a new drive off the shelf might be faster, cheaper (and guaranteed clean) option. – Yorik – 2018-01-26T15:41:34.897

@Yorik: I kinda wish people also factored in the environmental impact. – user541686 – 2018-01-26T23:42:45.417

1Just secure erase it. – Michael Hampton – 2018-01-27T08:40:47.317

4

Possible duplicate of Securely erasing all data from a hard drive

– Michael Hampton – 2018-01-27T08:41:17.417

1Depending on the PC make and model, the BIOS may have a secure erase option. – Harry Johnston – 2018-01-27T11:04:29.573

As an alternative to SliTaz Linux, Tiny Core Linux (http://distro.ibiblio.org/tinycorelinux/downloads.html) is also a small bootable Linux distribution which is able to erase all data from the hard drive. You need to reboot to Linux (e.g. from pen drive), and run the appropriate dd command there.

– pts – 2018-01-27T11:26:12.533

Answers

20

  1. Prepare a bootable Windows medium. If you don't have a Windows DVD or flash drive, you can download Windows ISO and create one.

  2. Boot using the medium you have just created.

  3. Wait for a window with an Install now button. When it shows up, press Shift+F10. Command prompt will appear.

  4. Type diskpart, press Enter and wait until Diskpart is ready.

  5. Type list disk Enter. A numbered list of disks will be printed. Note the number next to the disk you want to erase.

  6. Type select disk <number> Enter (replace <number> with your disk's number).

  7. Type one of these commands:

    • clean - to quickly erase all partitions without wiping entire disk, data will still be recoverable if one attempts to
    • clean all - to wipe entire hard disk, it will take a long time but data won't be recoverable

Performing full erase is not recommended on SSD disks, which have their lifespan limited by number of write commands. Overwriting entire disk with zeros (using any method or tool, not just clean all) will reduce it significantly. For self-encrypting SSDs resetting the encryption key is way quicker and just as secure, but doesn't wear out SSD cells. For other SSDs ATA secure erase may be a better choice, although performing it is more complex.

gronostaj

Posted 2018-01-26T10:25:22.493

Reputation: 33 047

5

This would be my preferred method, came here with the intention of posting something similar, instead i'll just link this handy mirror server for the old digital river server where you can get most ISO files if you need. ISO's are legit and you still need product keys, no theft here. Just handy. Always check hash checksums.

– Ciaran McKenzie – 2018-01-26T10:58:43.690

3@CiaranMcKenzie or just download straight from Microsoft using their tool which has built in Windows flash drive creation feature :) – gronostaj – 2018-01-26T11:23:23.597

I haven't used this but my past experiences with Microsoft have taught me that sometimes the simplest of things is like drawing blood from a stone. If it is as straightforward as you say, fantastic! I'm sure people will try it first because it's in the answer, however if that doesn't work for people then it's good to have a backup plan! – Ciaran McKenzie – 2018-01-26T11:32:28.940

Some magnetic drives support the SATA secure-erase commands, too. If they don't encrypt internally, this will take hours to complete, but is at least as good as writing zeros over the whole drive (and maybe better if it also covers remapped sectors). – Peter Cordes – 2018-01-28T10:15:29.257

8

GParted Live

  1. Download GParted Live
  2. Burn to CD or USB with Rufus
  3. Boot from CD/USB (in the rare case it won't start run GParted in compatibility mode and it will for sure.)
  4. Delete your partitions.

It's really that easy easy. (As an alternative any popular live linux distro has GParted included.)

LateralTerminal

Posted 2018-01-26T10:25:22.493

Reputation: 356

1The easiest solution imo. I always have a Linux distro on my usb for these very tools and how easy they are to access. – I'm here for Winter Hats – 2018-01-26T18:17:15.950

@WJAndrea Yup, I mentioned it's on most live linux distros. But if you're in a hurry GParted images to a usb or cd 10X faster – LateralTerminal – 2018-01-26T20:20:10.273

8

If you want to be really sure there's nothing left behind, look at a secure disk erase program. There are several included with UBCD, which you can download and make bootable using the same techniques promoted by other answers here.

But the main point everyone agrees on is, "You can't do this from within Windows."

Whatever happens, you'll need to prepare and boot to a different operating system in order to complete this task.

Joel Coehoorn

Posted 2018-01-26T10:25:22.493

Reputation: 26 787

7

Luckily, you have several options in your hand to follow. I will tell about two of the easiest and convenient ways you can try:

1. Using windows installation disk: If you have windows operating system installation disk around you, simply put the disc in your CD-Rom and restart your PC. This time boot your PC from the inserted Disc (Not from your hard drive). Actually you should go through the windows installation steps (But don't install fully) and when the Drive options come up, then delete all the drives and take off the disc and power off your PC forcibly (Maybe by unplugging it). That's it, now you will be with a fresh hard drive.

If you are unfamiliar with the Windows Installation, have a look at: The Ultimate Guide to Installing Windows 7. Trust me, it is as easy as 1-2-3.

2. Using a Bootable Partition Manager: This technique is also very simple and you may do some more advanced task through this method. You may use WinPE from Microsoft which offers similar task: WinPE: Create USB Bootable drive

Some third-party bootable Partition Manager are available in the market also which can be booted to a USB-drive and launch from there. Then you will have a nice GUI (Graphical User Interface) of an advanced Partition Manager. From there, you can simply achieve your task. You may look at this tool: IM-Magic Partition Resizer

Rakibul Islam

Posted 2018-01-26T10:25:22.493

Reputation: 985

2@LateralTerminal Really? His answer is no different then your own. Why the critique ? – Tonny – 2018-01-26T15:05:30.277

1@Tonny because I didn't read his answer thoroughly. I deleted my comment. – LateralTerminal – 2018-01-26T15:10:32.733

@LateralTerminal Fair enough :-) – Tonny – 2018-01-26T16:02:31.920

6

Want to do this task thoroughly?

Create a DBAN disk. Download and burn the ISO and boot to it. It is also possible to burn an ISO to bootable USB.

At the boot: prompt type autonuke and press enter.
WARNING: This will permanently destroy data on all detected hard drives connected to the system.

Wait for it to do its magic.

This will not simply delete everything, it will destroy all data by 3x overwriting with random data and theoretically prevents even forensic recovery. Under a separate function, a wipe to full DoD 5220.22-M method is possible.

Willtech

Posted 2018-01-26T10:25:22.493

Reputation: 182

3

Welcome to Super User! You can freely edit your own posts but for your protection, this must be done under the original user account. It looks like you have created a second account, which will also interfere with your ability to comment within your post. See Merge my accounts to get your accounts merged, which will solve the problem.

– fixer1234 – 2018-01-27T03:44:49.097

1This will waste write cycles on SSD drives, reducing their lifespan. – gronostaj – 2018-01-27T11:29:47.037

@fixer1234 Now that I can reply, thank you. I posted as a guest and finalised the account on the next page which resulted in two users being created. – Willtech – 2018-01-28T01:28:13.417

1

@gronostaj True, with the steps provided the impact is the same as writing 3 x the capacity of the drive, I do not know that it would be a significant impact. On the DBAN page, there is another utility available for purchase (or, free trial) which claims to be able to secure erase SSD. I have not tried it.

– Willtech – 2018-01-28T01:33:05.637

3

Alternatively use Hiren's Boot CD

Undoubtedly the most controversial option, but to be fair it has a plethora of handy tools for partitioning/formatting which are open source and/or free (or whose old editions were free when Hiren's boot CD was created) which might save time instead of trying one thing after the other.

This all in one tool, boasts a wide array of options when it comes to partitioning tools; Partion Wizard, GParted, Partition table etc that are good in terms of wiping/formatting data on HDD. You are spoilt for choice in this case.

Usage is similar to other Live CDs setup:

  • Perhaps the preffered live usb creator is Universal USB Installer (which optionally gives a direct download link to Hiren's boot CD) or rufus.

  • Boot into OS and select on the the partitioning tools to work with.

xavier_fakerat

Posted 2018-01-26T10:25:22.493

Reputation: 2 191

I forgot about this mess. Why is it controversial? I haven't heard of any controversy – LateralTerminal – 2018-01-29T17:29:50.160

@LateralTerminal there was a meta post, where users where debating the issue about Hiren's boot cd containing bundle of unlicensed software: What should mods do with links to supposedly pirated software but I guess its more of an opinion than a fact :)

– xavier_fakerat – 2018-01-29T18:22:04.057

1As long as theres no malware in it I don't see a problem. I prefer open source software but in the end I want what gets the job done XD – LateralTerminal – 2018-01-29T18:25:24.200