How to completely wipe computer including OS












1















Is there a way to completely nuke everything on a computer, including all OSs? I've been trying to fix a computer but I think at this point its time to cut my losses and reinstall.










share|improve this question




















  • 1





    You could boot up with a linux disk, get access to the command line and type dd if=/dev/zero of=/dev/sdX (where X is the drive you want to get rid of - so probably /dev/sda) - This will take a while as it will zero out the entire disk - you can do it much quicker using dd if=/dev/zero of=/dev/sdX bs=1024 count=1024 - which will zero out the first meg of the disk - including all references to the file structure and it will appear blank to a new OS install.

    – davidgo
    Jul 14 '16 at 22:08






  • 1





    Note that if you do perform a quick wipe by only destroying the filesystem metadata, all your data will still be there, and accessible to file-carving utilities like PhotoRec, Recuva, etc. The names and directory hierarchy will be lost, but the file data itself can still be retrieved. for well structured binary files, automated scanners can easily isolate files like images, non-text documents (MS office/libreOffice) PE executables/libraries, databases, etc.

    – Frank Thomas
    Jul 14 '16 at 22:16








  • 1





    Boot up from a system disk—like a USB flash drive or a CD/DVD disc—and then wipe the disk that way.

    – JakeGould
    Jul 15 '16 at 4:58






  • 2





    For secure wiping, see How can I reliably erase all information on a hard drive?. In this case, there does not seem to be a security concern. Then formatting the partition is enough; most operating systems will offer to format during installation, or do it automatically, so nothing special to do.

    – sleske
    Jul 15 '16 at 8:05











  • As well as the disks, consider whether you want to reset the machine's saved BIOS configuration back to factory defaults. It's not a given that you should do that, but do give it some thought.

    – Toby Speight
    Jul 15 '16 at 8:39
















1















Is there a way to completely nuke everything on a computer, including all OSs? I've been trying to fix a computer but I think at this point its time to cut my losses and reinstall.










share|improve this question




















  • 1





    You could boot up with a linux disk, get access to the command line and type dd if=/dev/zero of=/dev/sdX (where X is the drive you want to get rid of - so probably /dev/sda) - This will take a while as it will zero out the entire disk - you can do it much quicker using dd if=/dev/zero of=/dev/sdX bs=1024 count=1024 - which will zero out the first meg of the disk - including all references to the file structure and it will appear blank to a new OS install.

    – davidgo
    Jul 14 '16 at 22:08






  • 1





    Note that if you do perform a quick wipe by only destroying the filesystem metadata, all your data will still be there, and accessible to file-carving utilities like PhotoRec, Recuva, etc. The names and directory hierarchy will be lost, but the file data itself can still be retrieved. for well structured binary files, automated scanners can easily isolate files like images, non-text documents (MS office/libreOffice) PE executables/libraries, databases, etc.

    – Frank Thomas
    Jul 14 '16 at 22:16








  • 1





    Boot up from a system disk—like a USB flash drive or a CD/DVD disc—and then wipe the disk that way.

    – JakeGould
    Jul 15 '16 at 4:58






  • 2





    For secure wiping, see How can I reliably erase all information on a hard drive?. In this case, there does not seem to be a security concern. Then formatting the partition is enough; most operating systems will offer to format during installation, or do it automatically, so nothing special to do.

    – sleske
    Jul 15 '16 at 8:05











  • As well as the disks, consider whether you want to reset the machine's saved BIOS configuration back to factory defaults. It's not a given that you should do that, but do give it some thought.

    – Toby Speight
    Jul 15 '16 at 8:39














1












1








1








Is there a way to completely nuke everything on a computer, including all OSs? I've been trying to fix a computer but I think at this point its time to cut my losses and reinstall.










share|improve this question
















Is there a way to completely nuke everything on a computer, including all OSs? I've been trying to fix a computer but I think at this point its time to cut my losses and reinstall.







hard-drive operating-systems






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 15 '16 at 4:17









fixer1234

19k144982




19k144982










asked Jul 14 '16 at 22:04









John DoeJohn Doe

17113




17113








  • 1





    You could boot up with a linux disk, get access to the command line and type dd if=/dev/zero of=/dev/sdX (where X is the drive you want to get rid of - so probably /dev/sda) - This will take a while as it will zero out the entire disk - you can do it much quicker using dd if=/dev/zero of=/dev/sdX bs=1024 count=1024 - which will zero out the first meg of the disk - including all references to the file structure and it will appear blank to a new OS install.

    – davidgo
    Jul 14 '16 at 22:08






  • 1





    Note that if you do perform a quick wipe by only destroying the filesystem metadata, all your data will still be there, and accessible to file-carving utilities like PhotoRec, Recuva, etc. The names and directory hierarchy will be lost, but the file data itself can still be retrieved. for well structured binary files, automated scanners can easily isolate files like images, non-text documents (MS office/libreOffice) PE executables/libraries, databases, etc.

    – Frank Thomas
    Jul 14 '16 at 22:16








  • 1





    Boot up from a system disk—like a USB flash drive or a CD/DVD disc—and then wipe the disk that way.

    – JakeGould
    Jul 15 '16 at 4:58






  • 2





    For secure wiping, see How can I reliably erase all information on a hard drive?. In this case, there does not seem to be a security concern. Then formatting the partition is enough; most operating systems will offer to format during installation, or do it automatically, so nothing special to do.

    – sleske
    Jul 15 '16 at 8:05











  • As well as the disks, consider whether you want to reset the machine's saved BIOS configuration back to factory defaults. It's not a given that you should do that, but do give it some thought.

    – Toby Speight
    Jul 15 '16 at 8:39














  • 1





    You could boot up with a linux disk, get access to the command line and type dd if=/dev/zero of=/dev/sdX (where X is the drive you want to get rid of - so probably /dev/sda) - This will take a while as it will zero out the entire disk - you can do it much quicker using dd if=/dev/zero of=/dev/sdX bs=1024 count=1024 - which will zero out the first meg of the disk - including all references to the file structure and it will appear blank to a new OS install.

    – davidgo
    Jul 14 '16 at 22:08






  • 1





    Note that if you do perform a quick wipe by only destroying the filesystem metadata, all your data will still be there, and accessible to file-carving utilities like PhotoRec, Recuva, etc. The names and directory hierarchy will be lost, but the file data itself can still be retrieved. for well structured binary files, automated scanners can easily isolate files like images, non-text documents (MS office/libreOffice) PE executables/libraries, databases, etc.

    – Frank Thomas
    Jul 14 '16 at 22:16








  • 1





    Boot up from a system disk—like a USB flash drive or a CD/DVD disc—and then wipe the disk that way.

    – JakeGould
    Jul 15 '16 at 4:58






  • 2





    For secure wiping, see How can I reliably erase all information on a hard drive?. In this case, there does not seem to be a security concern. Then formatting the partition is enough; most operating systems will offer to format during installation, or do it automatically, so nothing special to do.

    – sleske
    Jul 15 '16 at 8:05











  • As well as the disks, consider whether you want to reset the machine's saved BIOS configuration back to factory defaults. It's not a given that you should do that, but do give it some thought.

    – Toby Speight
    Jul 15 '16 at 8:39








1




1





You could boot up with a linux disk, get access to the command line and type dd if=/dev/zero of=/dev/sdX (where X is the drive you want to get rid of - so probably /dev/sda) - This will take a while as it will zero out the entire disk - you can do it much quicker using dd if=/dev/zero of=/dev/sdX bs=1024 count=1024 - which will zero out the first meg of the disk - including all references to the file structure and it will appear blank to a new OS install.

– davidgo
Jul 14 '16 at 22:08





You could boot up with a linux disk, get access to the command line and type dd if=/dev/zero of=/dev/sdX (where X is the drive you want to get rid of - so probably /dev/sda) - This will take a while as it will zero out the entire disk - you can do it much quicker using dd if=/dev/zero of=/dev/sdX bs=1024 count=1024 - which will zero out the first meg of the disk - including all references to the file structure and it will appear blank to a new OS install.

– davidgo
Jul 14 '16 at 22:08




1




1





Note that if you do perform a quick wipe by only destroying the filesystem metadata, all your data will still be there, and accessible to file-carving utilities like PhotoRec, Recuva, etc. The names and directory hierarchy will be lost, but the file data itself can still be retrieved. for well structured binary files, automated scanners can easily isolate files like images, non-text documents (MS office/libreOffice) PE executables/libraries, databases, etc.

– Frank Thomas
Jul 14 '16 at 22:16







Note that if you do perform a quick wipe by only destroying the filesystem metadata, all your data will still be there, and accessible to file-carving utilities like PhotoRec, Recuva, etc. The names and directory hierarchy will be lost, but the file data itself can still be retrieved. for well structured binary files, automated scanners can easily isolate files like images, non-text documents (MS office/libreOffice) PE executables/libraries, databases, etc.

– Frank Thomas
Jul 14 '16 at 22:16






1




1





Boot up from a system disk—like a USB flash drive or a CD/DVD disc—and then wipe the disk that way.

– JakeGould
Jul 15 '16 at 4:58





Boot up from a system disk—like a USB flash drive or a CD/DVD disc—and then wipe the disk that way.

– JakeGould
Jul 15 '16 at 4:58




2




2





For secure wiping, see How can I reliably erase all information on a hard drive?. In this case, there does not seem to be a security concern. Then formatting the partition is enough; most operating systems will offer to format during installation, or do it automatically, so nothing special to do.

– sleske
Jul 15 '16 at 8:05





For secure wiping, see How can I reliably erase all information on a hard drive?. In this case, there does not seem to be a security concern. Then formatting the partition is enough; most operating systems will offer to format during installation, or do it automatically, so nothing special to do.

– sleske
Jul 15 '16 at 8:05













As well as the disks, consider whether you want to reset the machine's saved BIOS configuration back to factory defaults. It's not a given that you should do that, but do give it some thought.

– Toby Speight
Jul 15 '16 at 8:39





As well as the disks, consider whether you want to reset the machine's saved BIOS configuration back to factory defaults. It's not a given that you should do that, but do give it some thought.

– Toby Speight
Jul 15 '16 at 8:39










3 Answers
3






active

oldest

votes


















7














short answer, use DBAN (aka Darik's Boot and Nuke): http://www.dban.org/



DBAN is a live CD with all the tools set up for securely wiping media. In general you boot from the LiveCD, use menus to select the disk, and perform the wipe.



Here is a tutorial: http://pcsupport.about.com/od/data-destruction/ss/dban-tutorial.htm






share|improve this answer





















  • 8





    Note that DBAN is not suitable for SSDs (it will delete them, but not quite securely, and will shorten their lifespan). Use "ATA Secure Delete" instead.

    – sleske
    Jul 15 '16 at 8:02



















13














Instead of downloading DBAN, you can do the same with any Windows Install disk. In fact I do it regularly with a Windows 7/8/8.1 ISO whichever I have.




  1. Boot up into the Windows Installer.

  2. On the partitioning screen, press SHIFT + F10 to bring up a command prompt.

  3. Type diskpart to start the application.

  4. Type list disk to bring up the connected disks.

  5. The Hard Drive is often disk 0. Type select disk 0.

  6. Type clean to wipe out the entire drive. Alternatively, type clean all and instead of just deleting, it will fill the drive with zeroes hence shredding the drive.


DBAN is the standard in data shredding, however, most people consider it an overkill. One pass of random data is often enough to make the data unreadable for anyone. Unless you have really confidential data and are afraid someone can sniff it, just use the diskpart's clean command.






share|improve this answer





















  • 1





    ... and if you have really confidential data, you have it under whole drive encryption anyway, of course. Right? :D

    – Luaan
    Jul 15 '16 at 8:30











  • How about doing multiple clean all if you have confidential data?

    – Krishnabhadra
    Jul 15 '16 at 8:48






  • 1





    @Russian Soyuz Rocket: Actually, Diskpart's clean all command writes all zeroes to the drive, not random data.

    – Nassbirne
    Jul 15 '16 at 9:46











  • @Krishnabhadra, that option would have worked but as Nassbirne stated, it writes zeros to the drive. I don't know the underlying magnetic theory of hard drives and can't say if writing the "same" data again and again would really suppress the older data enough to make it unreadable.

    – U. Muneeb
    Jul 15 '16 at 9:52











  • While I do appreciate the solution, I'm going to run Ubuntu not Windows, and attempting to do the same with the Ubuntu install threw errors.

    – John Doe
    Jul 15 '16 at 19:34



















6














If all you want to do is reinstall, then there's no need to erase entire drive (as proposed by Frank Thomas and U. Muneeb). You just want to ensure that there's nothing that can obviously be read on the OS partition.



If you want to erase OS partition, but preserve other partitions, just start re-installing Windows from optical disc or flash drive. On the partition selection screen there will be a Format button. Select the partition you want to install to, format it and proceed with installation. Other partitions will be preserved (including recovery partition, if you have one). This is what you usually want to do when reinstalling Windows.






share|improve this answer


























  • Yes, this. OP does not need/want a secure wipe, they just want the old OS out of the way. For that, reformatting the partition is enough.

    – sleske
    Jul 15 '16 at 8:04











  • Well, the OP noted "including all OSs", suggesting they need to nuke more than one OS/partition. Unless they have 10 different installations of Windows on the same partition, of course...

    – Luaan
    Jul 15 '16 at 8:32






  • 1





    If it's Linux you're installing rather than Windows, then most distros have the ability to partition and format drives before starting to write anything to disk. E.g. in the standard Debian or Ubuntu installer, it's in the install menu shortly after selecting your preferred language and keyboard layout.

    – Toby Speight
    Jul 15 '16 at 8:36






  • 1





    Sometimes a corrupt partition table can mess things up. You might want to remove everything, including the partition table as well and start from scratch.

    – U. Muneeb
    Jul 15 '16 at 12:11






  • 1





    @RussianSoyuzRocket You're right. However OP doesn't seem to consider any options other than fixing current instance of OS and nuking hard drive. I wanted to show that there are other options and regular reinstallation is next thing to try before deleting innocent files.

    – gronostaj
    Jul 15 '16 at 12:34











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1101006%2fhow-to-completely-wipe-computer-including-os%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









7














short answer, use DBAN (aka Darik's Boot and Nuke): http://www.dban.org/



DBAN is a live CD with all the tools set up for securely wiping media. In general you boot from the LiveCD, use menus to select the disk, and perform the wipe.



Here is a tutorial: http://pcsupport.about.com/od/data-destruction/ss/dban-tutorial.htm






share|improve this answer





















  • 8





    Note that DBAN is not suitable for SSDs (it will delete them, but not quite securely, and will shorten their lifespan). Use "ATA Secure Delete" instead.

    – sleske
    Jul 15 '16 at 8:02
















7














short answer, use DBAN (aka Darik's Boot and Nuke): http://www.dban.org/



DBAN is a live CD with all the tools set up for securely wiping media. In general you boot from the LiveCD, use menus to select the disk, and perform the wipe.



Here is a tutorial: http://pcsupport.about.com/od/data-destruction/ss/dban-tutorial.htm






share|improve this answer





















  • 8





    Note that DBAN is not suitable for SSDs (it will delete them, but not quite securely, and will shorten their lifespan). Use "ATA Secure Delete" instead.

    – sleske
    Jul 15 '16 at 8:02














7












7








7







short answer, use DBAN (aka Darik's Boot and Nuke): http://www.dban.org/



DBAN is a live CD with all the tools set up for securely wiping media. In general you boot from the LiveCD, use menus to select the disk, and perform the wipe.



Here is a tutorial: http://pcsupport.about.com/od/data-destruction/ss/dban-tutorial.htm






share|improve this answer















short answer, use DBAN (aka Darik's Boot and Nuke): http://www.dban.org/



DBAN is a live CD with all the tools set up for securely wiping media. In general you boot from the LiveCD, use menus to select the disk, and perform the wipe.



Here is a tutorial: http://pcsupport.about.com/od/data-destruction/ss/dban-tutorial.htm







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 15 '16 at 5:47

























answered Jul 14 '16 at 22:09









Frank ThomasFrank Thomas

27.5k25982




27.5k25982








  • 8





    Note that DBAN is not suitable for SSDs (it will delete them, but not quite securely, and will shorten their lifespan). Use "ATA Secure Delete" instead.

    – sleske
    Jul 15 '16 at 8:02














  • 8





    Note that DBAN is not suitable for SSDs (it will delete them, but not quite securely, and will shorten their lifespan). Use "ATA Secure Delete" instead.

    – sleske
    Jul 15 '16 at 8:02








8




8





Note that DBAN is not suitable for SSDs (it will delete them, but not quite securely, and will shorten their lifespan). Use "ATA Secure Delete" instead.

– sleske
Jul 15 '16 at 8:02





Note that DBAN is not suitable for SSDs (it will delete them, but not quite securely, and will shorten their lifespan). Use "ATA Secure Delete" instead.

– sleske
Jul 15 '16 at 8:02













13














Instead of downloading DBAN, you can do the same with any Windows Install disk. In fact I do it regularly with a Windows 7/8/8.1 ISO whichever I have.




  1. Boot up into the Windows Installer.

  2. On the partitioning screen, press SHIFT + F10 to bring up a command prompt.

  3. Type diskpart to start the application.

  4. Type list disk to bring up the connected disks.

  5. The Hard Drive is often disk 0. Type select disk 0.

  6. Type clean to wipe out the entire drive. Alternatively, type clean all and instead of just deleting, it will fill the drive with zeroes hence shredding the drive.


DBAN is the standard in data shredding, however, most people consider it an overkill. One pass of random data is often enough to make the data unreadable for anyone. Unless you have really confidential data and are afraid someone can sniff it, just use the diskpart's clean command.






share|improve this answer





















  • 1





    ... and if you have really confidential data, you have it under whole drive encryption anyway, of course. Right? :D

    – Luaan
    Jul 15 '16 at 8:30











  • How about doing multiple clean all if you have confidential data?

    – Krishnabhadra
    Jul 15 '16 at 8:48






  • 1





    @Russian Soyuz Rocket: Actually, Diskpart's clean all command writes all zeroes to the drive, not random data.

    – Nassbirne
    Jul 15 '16 at 9:46











  • @Krishnabhadra, that option would have worked but as Nassbirne stated, it writes zeros to the drive. I don't know the underlying magnetic theory of hard drives and can't say if writing the "same" data again and again would really suppress the older data enough to make it unreadable.

    – U. Muneeb
    Jul 15 '16 at 9:52











  • While I do appreciate the solution, I'm going to run Ubuntu not Windows, and attempting to do the same with the Ubuntu install threw errors.

    – John Doe
    Jul 15 '16 at 19:34
















13














Instead of downloading DBAN, you can do the same with any Windows Install disk. In fact I do it regularly with a Windows 7/8/8.1 ISO whichever I have.




  1. Boot up into the Windows Installer.

  2. On the partitioning screen, press SHIFT + F10 to bring up a command prompt.

  3. Type diskpart to start the application.

  4. Type list disk to bring up the connected disks.

  5. The Hard Drive is often disk 0. Type select disk 0.

  6. Type clean to wipe out the entire drive. Alternatively, type clean all and instead of just deleting, it will fill the drive with zeroes hence shredding the drive.


DBAN is the standard in data shredding, however, most people consider it an overkill. One pass of random data is often enough to make the data unreadable for anyone. Unless you have really confidential data and are afraid someone can sniff it, just use the diskpart's clean command.






share|improve this answer





















  • 1





    ... and if you have really confidential data, you have it under whole drive encryption anyway, of course. Right? :D

    – Luaan
    Jul 15 '16 at 8:30











  • How about doing multiple clean all if you have confidential data?

    – Krishnabhadra
    Jul 15 '16 at 8:48






  • 1





    @Russian Soyuz Rocket: Actually, Diskpart's clean all command writes all zeroes to the drive, not random data.

    – Nassbirne
    Jul 15 '16 at 9:46











  • @Krishnabhadra, that option would have worked but as Nassbirne stated, it writes zeros to the drive. I don't know the underlying magnetic theory of hard drives and can't say if writing the "same" data again and again would really suppress the older data enough to make it unreadable.

    – U. Muneeb
    Jul 15 '16 at 9:52











  • While I do appreciate the solution, I'm going to run Ubuntu not Windows, and attempting to do the same with the Ubuntu install threw errors.

    – John Doe
    Jul 15 '16 at 19:34














13












13








13







Instead of downloading DBAN, you can do the same with any Windows Install disk. In fact I do it regularly with a Windows 7/8/8.1 ISO whichever I have.




  1. Boot up into the Windows Installer.

  2. On the partitioning screen, press SHIFT + F10 to bring up a command prompt.

  3. Type diskpart to start the application.

  4. Type list disk to bring up the connected disks.

  5. The Hard Drive is often disk 0. Type select disk 0.

  6. Type clean to wipe out the entire drive. Alternatively, type clean all and instead of just deleting, it will fill the drive with zeroes hence shredding the drive.


DBAN is the standard in data shredding, however, most people consider it an overkill. One pass of random data is often enough to make the data unreadable for anyone. Unless you have really confidential data and are afraid someone can sniff it, just use the diskpart's clean command.






share|improve this answer















Instead of downloading DBAN, you can do the same with any Windows Install disk. In fact I do it regularly with a Windows 7/8/8.1 ISO whichever I have.




  1. Boot up into the Windows Installer.

  2. On the partitioning screen, press SHIFT + F10 to bring up a command prompt.

  3. Type diskpart to start the application.

  4. Type list disk to bring up the connected disks.

  5. The Hard Drive is often disk 0. Type select disk 0.

  6. Type clean to wipe out the entire drive. Alternatively, type clean all and instead of just deleting, it will fill the drive with zeroes hence shredding the drive.


DBAN is the standard in data shredding, however, most people consider it an overkill. One pass of random data is often enough to make the data unreadable for anyone. Unless you have really confidential data and are afraid someone can sniff it, just use the diskpart's clean command.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 16 '16 at 4:01

























answered Jul 15 '16 at 4:34









U. MuneebU. Muneeb

633421




633421








  • 1





    ... and if you have really confidential data, you have it under whole drive encryption anyway, of course. Right? :D

    – Luaan
    Jul 15 '16 at 8:30











  • How about doing multiple clean all if you have confidential data?

    – Krishnabhadra
    Jul 15 '16 at 8:48






  • 1





    @Russian Soyuz Rocket: Actually, Diskpart's clean all command writes all zeroes to the drive, not random data.

    – Nassbirne
    Jul 15 '16 at 9:46











  • @Krishnabhadra, that option would have worked but as Nassbirne stated, it writes zeros to the drive. I don't know the underlying magnetic theory of hard drives and can't say if writing the "same" data again and again would really suppress the older data enough to make it unreadable.

    – U. Muneeb
    Jul 15 '16 at 9:52











  • While I do appreciate the solution, I'm going to run Ubuntu not Windows, and attempting to do the same with the Ubuntu install threw errors.

    – John Doe
    Jul 15 '16 at 19:34














  • 1





    ... and if you have really confidential data, you have it under whole drive encryption anyway, of course. Right? :D

    – Luaan
    Jul 15 '16 at 8:30











  • How about doing multiple clean all if you have confidential data?

    – Krishnabhadra
    Jul 15 '16 at 8:48






  • 1





    @Russian Soyuz Rocket: Actually, Diskpart's clean all command writes all zeroes to the drive, not random data.

    – Nassbirne
    Jul 15 '16 at 9:46











  • @Krishnabhadra, that option would have worked but as Nassbirne stated, it writes zeros to the drive. I don't know the underlying magnetic theory of hard drives and can't say if writing the "same" data again and again would really suppress the older data enough to make it unreadable.

    – U. Muneeb
    Jul 15 '16 at 9:52











  • While I do appreciate the solution, I'm going to run Ubuntu not Windows, and attempting to do the same with the Ubuntu install threw errors.

    – John Doe
    Jul 15 '16 at 19:34








1




1





... and if you have really confidential data, you have it under whole drive encryption anyway, of course. Right? :D

– Luaan
Jul 15 '16 at 8:30





... and if you have really confidential data, you have it under whole drive encryption anyway, of course. Right? :D

– Luaan
Jul 15 '16 at 8:30













How about doing multiple clean all if you have confidential data?

– Krishnabhadra
Jul 15 '16 at 8:48





How about doing multiple clean all if you have confidential data?

– Krishnabhadra
Jul 15 '16 at 8:48




1




1





@Russian Soyuz Rocket: Actually, Diskpart's clean all command writes all zeroes to the drive, not random data.

– Nassbirne
Jul 15 '16 at 9:46





@Russian Soyuz Rocket: Actually, Diskpart's clean all command writes all zeroes to the drive, not random data.

– Nassbirne
Jul 15 '16 at 9:46













@Krishnabhadra, that option would have worked but as Nassbirne stated, it writes zeros to the drive. I don't know the underlying magnetic theory of hard drives and can't say if writing the "same" data again and again would really suppress the older data enough to make it unreadable.

– U. Muneeb
Jul 15 '16 at 9:52





@Krishnabhadra, that option would have worked but as Nassbirne stated, it writes zeros to the drive. I don't know the underlying magnetic theory of hard drives and can't say if writing the "same" data again and again would really suppress the older data enough to make it unreadable.

– U. Muneeb
Jul 15 '16 at 9:52













While I do appreciate the solution, I'm going to run Ubuntu not Windows, and attempting to do the same with the Ubuntu install threw errors.

– John Doe
Jul 15 '16 at 19:34





While I do appreciate the solution, I'm going to run Ubuntu not Windows, and attempting to do the same with the Ubuntu install threw errors.

– John Doe
Jul 15 '16 at 19:34











6














If all you want to do is reinstall, then there's no need to erase entire drive (as proposed by Frank Thomas and U. Muneeb). You just want to ensure that there's nothing that can obviously be read on the OS partition.



If you want to erase OS partition, but preserve other partitions, just start re-installing Windows from optical disc or flash drive. On the partition selection screen there will be a Format button. Select the partition you want to install to, format it and proceed with installation. Other partitions will be preserved (including recovery partition, if you have one). This is what you usually want to do when reinstalling Windows.






share|improve this answer


























  • Yes, this. OP does not need/want a secure wipe, they just want the old OS out of the way. For that, reformatting the partition is enough.

    – sleske
    Jul 15 '16 at 8:04











  • Well, the OP noted "including all OSs", suggesting they need to nuke more than one OS/partition. Unless they have 10 different installations of Windows on the same partition, of course...

    – Luaan
    Jul 15 '16 at 8:32






  • 1





    If it's Linux you're installing rather than Windows, then most distros have the ability to partition and format drives before starting to write anything to disk. E.g. in the standard Debian or Ubuntu installer, it's in the install menu shortly after selecting your preferred language and keyboard layout.

    – Toby Speight
    Jul 15 '16 at 8:36






  • 1





    Sometimes a corrupt partition table can mess things up. You might want to remove everything, including the partition table as well and start from scratch.

    – U. Muneeb
    Jul 15 '16 at 12:11






  • 1





    @RussianSoyuzRocket You're right. However OP doesn't seem to consider any options other than fixing current instance of OS and nuking hard drive. I wanted to show that there are other options and regular reinstallation is next thing to try before deleting innocent files.

    – gronostaj
    Jul 15 '16 at 12:34
















6














If all you want to do is reinstall, then there's no need to erase entire drive (as proposed by Frank Thomas and U. Muneeb). You just want to ensure that there's nothing that can obviously be read on the OS partition.



If you want to erase OS partition, but preserve other partitions, just start re-installing Windows from optical disc or flash drive. On the partition selection screen there will be a Format button. Select the partition you want to install to, format it and proceed with installation. Other partitions will be preserved (including recovery partition, if you have one). This is what you usually want to do when reinstalling Windows.






share|improve this answer


























  • Yes, this. OP does not need/want a secure wipe, they just want the old OS out of the way. For that, reformatting the partition is enough.

    – sleske
    Jul 15 '16 at 8:04











  • Well, the OP noted "including all OSs", suggesting they need to nuke more than one OS/partition. Unless they have 10 different installations of Windows on the same partition, of course...

    – Luaan
    Jul 15 '16 at 8:32






  • 1





    If it's Linux you're installing rather than Windows, then most distros have the ability to partition and format drives before starting to write anything to disk. E.g. in the standard Debian or Ubuntu installer, it's in the install menu shortly after selecting your preferred language and keyboard layout.

    – Toby Speight
    Jul 15 '16 at 8:36






  • 1





    Sometimes a corrupt partition table can mess things up. You might want to remove everything, including the partition table as well and start from scratch.

    – U. Muneeb
    Jul 15 '16 at 12:11






  • 1





    @RussianSoyuzRocket You're right. However OP doesn't seem to consider any options other than fixing current instance of OS and nuking hard drive. I wanted to show that there are other options and regular reinstallation is next thing to try before deleting innocent files.

    – gronostaj
    Jul 15 '16 at 12:34














6












6








6







If all you want to do is reinstall, then there's no need to erase entire drive (as proposed by Frank Thomas and U. Muneeb). You just want to ensure that there's nothing that can obviously be read on the OS partition.



If you want to erase OS partition, but preserve other partitions, just start re-installing Windows from optical disc or flash drive. On the partition selection screen there will be a Format button. Select the partition you want to install to, format it and proceed with installation. Other partitions will be preserved (including recovery partition, if you have one). This is what you usually want to do when reinstalling Windows.






share|improve this answer















If all you want to do is reinstall, then there's no need to erase entire drive (as proposed by Frank Thomas and U. Muneeb). You just want to ensure that there's nothing that can obviously be read on the OS partition.



If you want to erase OS partition, but preserve other partitions, just start re-installing Windows from optical disc or flash drive. On the partition selection screen there will be a Format button. Select the partition you want to install to, format it and proceed with installation. Other partitions will be preserved (including recovery partition, if you have one). This is what you usually want to do when reinstalling Windows.







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 7 at 22:03









U. Muneeb

633421




633421










answered Jul 15 '16 at 7:57









gronostajgronostaj

28.5k1471107




28.5k1471107













  • Yes, this. OP does not need/want a secure wipe, they just want the old OS out of the way. For that, reformatting the partition is enough.

    – sleske
    Jul 15 '16 at 8:04











  • Well, the OP noted "including all OSs", suggesting they need to nuke more than one OS/partition. Unless they have 10 different installations of Windows on the same partition, of course...

    – Luaan
    Jul 15 '16 at 8:32






  • 1





    If it's Linux you're installing rather than Windows, then most distros have the ability to partition and format drives before starting to write anything to disk. E.g. in the standard Debian or Ubuntu installer, it's in the install menu shortly after selecting your preferred language and keyboard layout.

    – Toby Speight
    Jul 15 '16 at 8:36






  • 1





    Sometimes a corrupt partition table can mess things up. You might want to remove everything, including the partition table as well and start from scratch.

    – U. Muneeb
    Jul 15 '16 at 12:11






  • 1





    @RussianSoyuzRocket You're right. However OP doesn't seem to consider any options other than fixing current instance of OS and nuking hard drive. I wanted to show that there are other options and regular reinstallation is next thing to try before deleting innocent files.

    – gronostaj
    Jul 15 '16 at 12:34



















  • Yes, this. OP does not need/want a secure wipe, they just want the old OS out of the way. For that, reformatting the partition is enough.

    – sleske
    Jul 15 '16 at 8:04











  • Well, the OP noted "including all OSs", suggesting they need to nuke more than one OS/partition. Unless they have 10 different installations of Windows on the same partition, of course...

    – Luaan
    Jul 15 '16 at 8:32






  • 1





    If it's Linux you're installing rather than Windows, then most distros have the ability to partition and format drives before starting to write anything to disk. E.g. in the standard Debian or Ubuntu installer, it's in the install menu shortly after selecting your preferred language and keyboard layout.

    – Toby Speight
    Jul 15 '16 at 8:36






  • 1





    Sometimes a corrupt partition table can mess things up. You might want to remove everything, including the partition table as well and start from scratch.

    – U. Muneeb
    Jul 15 '16 at 12:11






  • 1





    @RussianSoyuzRocket You're right. However OP doesn't seem to consider any options other than fixing current instance of OS and nuking hard drive. I wanted to show that there are other options and regular reinstallation is next thing to try before deleting innocent files.

    – gronostaj
    Jul 15 '16 at 12:34

















Yes, this. OP does not need/want a secure wipe, they just want the old OS out of the way. For that, reformatting the partition is enough.

– sleske
Jul 15 '16 at 8:04





Yes, this. OP does not need/want a secure wipe, they just want the old OS out of the way. For that, reformatting the partition is enough.

– sleske
Jul 15 '16 at 8:04













Well, the OP noted "including all OSs", suggesting they need to nuke more than one OS/partition. Unless they have 10 different installations of Windows on the same partition, of course...

– Luaan
Jul 15 '16 at 8:32





Well, the OP noted "including all OSs", suggesting they need to nuke more than one OS/partition. Unless they have 10 different installations of Windows on the same partition, of course...

– Luaan
Jul 15 '16 at 8:32




1




1





If it's Linux you're installing rather than Windows, then most distros have the ability to partition and format drives before starting to write anything to disk. E.g. in the standard Debian or Ubuntu installer, it's in the install menu shortly after selecting your preferred language and keyboard layout.

– Toby Speight
Jul 15 '16 at 8:36





If it's Linux you're installing rather than Windows, then most distros have the ability to partition and format drives before starting to write anything to disk. E.g. in the standard Debian or Ubuntu installer, it's in the install menu shortly after selecting your preferred language and keyboard layout.

– Toby Speight
Jul 15 '16 at 8:36




1




1





Sometimes a corrupt partition table can mess things up. You might want to remove everything, including the partition table as well and start from scratch.

– U. Muneeb
Jul 15 '16 at 12:11





Sometimes a corrupt partition table can mess things up. You might want to remove everything, including the partition table as well and start from scratch.

– U. Muneeb
Jul 15 '16 at 12:11




1




1





@RussianSoyuzRocket You're right. However OP doesn't seem to consider any options other than fixing current instance of OS and nuking hard drive. I wanted to show that there are other options and regular reinstallation is next thing to try before deleting innocent files.

– gronostaj
Jul 15 '16 at 12:34





@RussianSoyuzRocket You're right. However OP doesn't seem to consider any options other than fixing current instance of OS and nuking hard drive. I wanted to show that there are other options and regular reinstallation is next thing to try before deleting innocent files.

– gronostaj
Jul 15 '16 at 12:34


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1101006%2fhow-to-completely-wipe-computer-including-os%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido