Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. How to do a complete wipe of a system?

How to do a complete wipe of a system?

Scheduled Pinned Locked Moved The Lounge
tutorialquestion
28 Posts 18 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D David ONeil

    As the current license is probably legit, you can download an ISO from MS and reinstall it from there and it will recognize the system as legit during the installation process (or at least I remember reading something like that years ago). [How to re-install Win 10 with no disk and no activation code? - Microsoft Community](https://answers.microsoft.com/en-us/windows/forum/all/how-to-re-install-win-10-with-no-disk-and-no/013a1a92-cb1e-4c13-880d-ccd643455c13)

    The Science of King David's Court | Object Oriented Programming with C++

    L Offline
    L Offline
    lmoelleb
    wrote on last edited by
    #5

    Done this multiple times in the past, but it was also a few years ago - never seen a problem with it picking up the license - but then I only tried it on something like 4 computers. No need for any third party partition tools unless you are afraid someone with two much time will start using a lot of tools to extract data - partitions can be deleted/created from the Windows 10 installer.

    1 Reply Last reply
    0
    • S swampwiz

      I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #6

      swampwiz wrote:

      Since it is so weak, it might go to Goodwill.

      You might consider reviving it with a Linux distro. I like Twister OS[^]. It has themes that look and function like Windows from Windows 95 to Windows 10. It also has a DOS emulator and Wine to run Windows apps.

      "When you are dead, you won't even know that you are dead. It's a pain only felt by others; same thing when you are stupid." Ignorant - An individual without knowledge, but is willing to learn. Stupid - An individual without knowledge and is incapable of learning. Idiot - An individual without knowledge and allows social media to do the thinking for them.

      S 1 Reply Last reply
      0
      • S swampwiz

        I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

        C Offline
        C Offline
        Cp Coder
        wrote on last edited by
        #7

        This will destroy every partition on the disk: Run Diskpart from within Powershell. Be careful: Diskpart is very powerful and will show you no mercy! Type "list disk" to get the of the disk you want to clean Type "select disk " Type "clean" - Warning: The selected disk will be knocked back to the date it came from the assembly line - Be very very afraid if you selected the wrong disk! Diskpart has no "Are you sure prompts?"! Once the disk is clean: Type "convert gpt" (or convert mbr if you prefer mbr disks) Now the disk is ready to be partitioned and the partitions to be formatted This procedure will not work if the disk is your systems drive. For that you have to prepare a bootable flash drive with the tiny WinPE operating system. Boot into PE and type "Diskpart" to clean your systems drive. Of course your system will be gone!

        Get me coffee and no one gets hurt!

        1 Reply Last reply
        0
        • S swampwiz

          I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

          D Offline
          D Offline
          dandy72
          wrote on last edited by
          #8

          Don't mess around with individual partitions. Get MS's Win10 ISO download tool, boot from it, and just tell it to nuke all partitions. It'll create those small partitions it needs for boot/recovery, and allocate the rest of it to itself. Then let it install itself. Then, if you're really paranoid about wiping might still be recoverable after that, run [sdelete](https://docs.microsoft.com/en-us/sysinternals/downloads/sdelete) from SysInternals. This'll wipe any sector that is still marked as unused (even though data from previous files might still be there), so that data effectively gets overwritten with garbage. For an extra level of paranoia - start the whole thing by running DBAN. The drive will be as clean as can be reasonably expected. Then reinstall Win10, and call it a day. Or just replace the whole damned drive with one you no longer care about, after wiping it with DBAN (in case that one might ever have contained data you don't want to be recovered). Do whatever you want with the drive you've just removed.

          E S S 3 Replies Last reply
          0
          • S swampwiz

            I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

            W Offline
            W Offline
            Wizard of Sleeves
            wrote on last edited by
            #9

            Microwave it for 10 minutes

            Nothing succeeds like a budgie without teeth.

            1 Reply Last reply
            0
            • S swampwiz

              I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

              M Offline
              M Offline
              Member 9167057
              wrote on last edited by
              #10

              https://www.bing.com/search?q=windows+clean+reset The box on top of the results page gives you a couple pointers.

              1 Reply Last reply
              0
              • D dandy72

                Don't mess around with individual partitions. Get MS's Win10 ISO download tool, boot from it, and just tell it to nuke all partitions. It'll create those small partitions it needs for boot/recovery, and allocate the rest of it to itself. Then let it install itself. Then, if you're really paranoid about wiping might still be recoverable after that, run [sdelete](https://docs.microsoft.com/en-us/sysinternals/downloads/sdelete) from SysInternals. This'll wipe any sector that is still marked as unused (even though data from previous files might still be there), so that data effectively gets overwritten with garbage. For an extra level of paranoia - start the whole thing by running DBAN. The drive will be as clean as can be reasonably expected. Then reinstall Win10, and call it a day. Or just replace the whole damned drive with one you no longer care about, after wiping it with DBAN (in case that one might ever have contained data you don't want to be recovered). Do whatever you want with the drive you've just removed.

                E Offline
                E Offline
                ElectronProgrammer
                wrote on last edited by
                #11

                My experience only goes as far as Windows 7 but I would recommend the same procedure as dandy72 with one remark. If the computer has a Recovery Partition, use it instead of the ISO since that will automatically install all needed drivers for the system, although it will all be outdated. Afterwards update everything. I had problems with some missing drivers on some systems when installing from an ISO instead of the Recovery Partition because the hardware was not even listed by the Windows installer and the computer manufacturer would not provide the correct drivers on their website. The downside of using the Recovery Partition is that you also get all the crapware that the computer manufacturer wanted you to never use but still turn your top of the line computer into a disappointment. Whichever method you choose, be careful to not remove the Recovery Partition as you might need it in the future. Best regards to all

                D R 2 Replies Last reply
                0
                • S swampwiz

                  I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

                  R Offline
                  R Offline
                  rnbergren
                  wrote on last edited by
                  #12

                  I would go to a linux distro. Linux Mint is a favorite for alot of people. Main Page - Linux Mint[^] It works alot like Windows 7 did which is an old favorite. If you want something alittle mac like. You can try out Garuda. Garuda Linux | Home[^] Garuda is my current favorite. It does take a more beefy machine. And alittle more linux knowledge. But the rewards are worth it I think.

                  To err is human to really elephant it up you need a computer

                  1 Reply Last reply
                  0
                  • S swampwiz

                    I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

                    D Offline
                    D Offline
                    decaffeinatedMonkey
                    wrote on last edited by
                    #13

                    Since its Windows 10, there is a "fresh start" option that wipes everything from your drive and gives you a clean Windows 10 setup. You can access it by going to: 1. Open up the Settings app 2. Go to the "Update and Security" section 3. Next to the "Recovery" tab 4. And finally click on the "Reset this PC" button Windows will do the rest, wiping everything from the drive and re-installing a fresh copy of Windows 10 with the same license you currently have on it.

                    1 Reply Last reply
                    0
                    • E ElectronProgrammer

                      My experience only goes as far as Windows 7 but I would recommend the same procedure as dandy72 with one remark. If the computer has a Recovery Partition, use it instead of the ISO since that will automatically install all needed drivers for the system, although it will all be outdated. Afterwards update everything. I had problems with some missing drivers on some systems when installing from an ISO instead of the Recovery Partition because the hardware was not even listed by the Windows installer and the computer manufacturer would not provide the correct drivers on their website. The downside of using the Recovery Partition is that you also get all the crapware that the computer manufacturer wanted you to never use but still turn your top of the line computer into a disappointment. Whichever method you choose, be careful to not remove the Recovery Partition as you might need it in the future. Best regards to all

                      D Offline
                      D Offline
                      dandy72
                      wrote on last edited by
                      #14

                      True. Personally I avoid using recovery partitions for the reason you mention; even though you get the benefit of having the drivers automatically reinstalled, the recovery partition will also bring back the bundled crap like anti-virus trialware. At one point in time manufacturers bundled recovery discs. Then they stopped doing that, and had an app preinstalled that allowed you to burn your own set of recovery discs. Nowadays it seems like the only option is the recovery partition, which is completely useless if the disk hosting it dies... What I like to do...and I realize this only applies to systems I own/use regularly and care about...is to keep a folder on my NAS containing the latest of all drivers necessary for all of my systems. Maybe once a year I'll look for updates on the manufacturer's site, update them, and if there's no problem, replace the existing version on my NAS. What this means is that if I need to go to the extreme of blowing away the OS and reinstalling, all the drivers are there, known to be the correct ones, relatively new, and ready to go.

                      1 Reply Last reply
                      0
                      • E ElectronProgrammer

                        My experience only goes as far as Windows 7 but I would recommend the same procedure as dandy72 with one remark. If the computer has a Recovery Partition, use it instead of the ISO since that will automatically install all needed drivers for the system, although it will all be outdated. Afterwards update everything. I had problems with some missing drivers on some systems when installing from an ISO instead of the Recovery Partition because the hardware was not even listed by the Windows installer and the computer manufacturer would not provide the correct drivers on their website. The downside of using the Recovery Partition is that you also get all the crapware that the computer manufacturer wanted you to never use but still turn your top of the line computer into a disappointment. Whichever method you choose, be careful to not remove the Recovery Partition as you might need it in the future. Best regards to all

                        R Offline
                        R Offline
                        RafagaX
                        wrote on last edited by
                        #15

                        I no longer depend on Recovery Partitions, as most of the time i would just nuke the partitions in the drive anyway, also i no longer trust the drivers available in manufacturers web sites to install properly in later versions of Windows, so i just extract them using Double Driver and i'm able to simply install whatever version of Windows i fancy and restore most of the drivers shortly after.

                        "Science fiction is any idea that occurs in the head and doesn’t exist yet, but soon will, and will change everything for everybody, and nothing will ever be the same again." Ray Bradbury

                        1 Reply Last reply
                        0
                        • D dandy72

                          Don't mess around with individual partitions. Get MS's Win10 ISO download tool, boot from it, and just tell it to nuke all partitions. It'll create those small partitions it needs for boot/recovery, and allocate the rest of it to itself. Then let it install itself. Then, if you're really paranoid about wiping might still be recoverable after that, run [sdelete](https://docs.microsoft.com/en-us/sysinternals/downloads/sdelete) from SysInternals. This'll wipe any sector that is still marked as unused (even though data from previous files might still be there), so that data effectively gets overwritten with garbage. For an extra level of paranoia - start the whole thing by running DBAN. The drive will be as clean as can be reasonably expected. Then reinstall Win10, and call it a day. Or just replace the whole damned drive with one you no longer care about, after wiping it with DBAN (in case that one might ever have contained data you don't want to be recovered). Do whatever you want with the drive you've just removed.

                          S Offline
                          S Offline
                          sasadler
                          wrote on last edited by
                          #16

                          Yep, for the paranoid DBAN is my goto tool. I use it when I'm donating old computers, wipe it with DBAN and then reinstall the OS.

                          1 Reply Last reply
                          0
                          • S swampwiz

                            I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

                            N Offline
                            N Offline
                            Nelek
                            wrote on last edited by
                            #17

                            dban FTW

                            M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                            1 Reply Last reply
                            0
                            • S swampwiz

                              I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

                              M Offline
                              M Offline
                              Member_14751866
                              wrote on last edited by
                              #18

                              Hi, GOT a Certified or legal copy of Win ten in there? If so and if you can get the activation code from the Microsoft label or you know what ever that bunch of char' are... then... Back when I could see to use DOS I would use SpinRight to completely rehab all hard drives with a deep wipe just in case there was sensitive or compromising crap that a forensics could uncover... Then do a fresh install? Or take the old drives outside and put in a shallow hole and put in plenty of thermate and burn the drives until atomized? The second solution is likely to get you in some trouble depending on your neighbors? ..., But seriously, Spin Right was my goto for several reasons. Besides security there is the nice feature of rehabilitating the drives. Hope this is of use. blessings chuck

                              S D 2 Replies Last reply
                              0
                              • S swampwiz

                                I have just inherited a system, and I want to completely wipe it (there were a few non-system files, and I have copied that over to stick drive). It is Windows 10 Home, 20H2. At the end of all this, I want there to be like a new computer with this same OS. I don't have anything like a rebuild disk, etc. Since it is so weak, it might go to Goodwill.

                                P Offline
                                P Offline
                                pmauriks
                                wrote on last edited by
                                #19

                                ACSC ISM provides the following: Security Control: 0354; Revision: 5; Updated: Sep-18; Applicability: O, P, S, TS Non-volatile magnetic media is sanitised by booting from separate media to the media being sanitised and then overwriting the media at least once (or three times if pre-2001 or under 15 Gigabytes) in its entirety with a random pattern followed by a read back for verification. You can boot from a linux boot disk and use DD to achieve that. How to Wipe Hard Drive Clean Using dd Command in Linux - LookLinux[^] Or: Security Control: 1067; Revision: 3; Updated: Sep-18; Applicability: O, P, S, TS The ATA secure erase command is used where available, in addition to using block overwriting software, to ensure the growth defects table (g-list) is overwritten.

                                1 Reply Last reply
                                0
                                • D dandy72

                                  Don't mess around with individual partitions. Get MS's Win10 ISO download tool, boot from it, and just tell it to nuke all partitions. It'll create those small partitions it needs for boot/recovery, and allocate the rest of it to itself. Then let it install itself. Then, if you're really paranoid about wiping might still be recoverable after that, run [sdelete](https://docs.microsoft.com/en-us/sysinternals/downloads/sdelete) from SysInternals. This'll wipe any sector that is still marked as unused (even though data from previous files might still be there), so that data effectively gets overwritten with garbage. For an extra level of paranoia - start the whole thing by running DBAN. The drive will be as clean as can be reasonably expected. Then reinstall Win10, and call it a day. Or just replace the whole damned drive with one you no longer care about, after wiping it with DBAN (in case that one might ever have contained data you don't want to be recovered). Do whatever you want with the drive you've just removed.

                                  S Offline
                                  S Offline
                                  swampwiz
                                  wrote on last edited by
                                  #20

                                  So how do I get the installation code?

                                  D 1 Reply Last reply
                                  0
                                  • M Member_14751866

                                    Hi, GOT a Certified or legal copy of Win ten in there? If so and if you can get the activation code from the Microsoft label or you know what ever that bunch of char' are... then... Back when I could see to use DOS I would use SpinRight to completely rehab all hard drives with a deep wipe just in case there was sensitive or compromising crap that a forensics could uncover... Then do a fresh install? Or take the old drives outside and put in a shallow hole and put in plenty of thermate and burn the drives until atomized? The second solution is likely to get you in some trouble depending on your neighbors? ..., But seriously, Spin Right was my goto for several reasons. Besides security there is the nice feature of rehabilitating the drives. Hope this is of use. blessings chuck

                                    S Offline
                                    S Offline
                                    swampwiz
                                    wrote on last edited by
                                    #21

                                    I don't see any activation code in the paperwork with the system.

                                    M 1 Reply Last reply
                                    0
                                    • L Lost User

                                      swampwiz wrote:

                                      Since it is so weak, it might go to Goodwill.

                                      You might consider reviving it with a Linux distro. I like Twister OS[^]. It has themes that look and function like Windows from Windows 95 to Windows 10. It also has a DOS emulator and Wine to run Windows apps.

                                      "When you are dead, you won't even know that you are dead. It's a pain only felt by others; same thing when you are stupid." Ignorant - An individual without knowledge, but is willing to learn. Stupid - An individual without knowledge and is incapable of learning. Idiot - An individual without knowledge and allows social media to do the thinking for them.

                                      S Offline
                                      S Offline
                                      swampwiz
                                      wrote on last edited by
                                      #22

                                      I have just remembered that I have install files for Linux & gparted, so I think I will do that and just give it away to a local charity; they probably have a way to get a free Windows license. :)

                                      1 Reply Last reply
                                      0
                                      • S swampwiz

                                        So how do I get the installation code?

                                        D Offline
                                        D Offline
                                        dandy72
                                        wrote on last edited by
                                        #23

                                        If the system already had a version of Windows that was activated, MS stores (on their end) a fingerprint of the hardware that allows you to nuke the system, reinstall Windows, and it'll still recognize the hardware and re-associate it with the key it already knows about. The details of which have never been fully documented, I believe, but that's the gist of it. I went through that process a number of times, and I don't believe I was ever asked to re-enter a key under these sorts of circumstances. *If* you start changing the hardware at the same time however, then all bets are off.

                                        1 Reply Last reply
                                        0
                                        • M Member_14751866

                                          Hi, GOT a Certified or legal copy of Win ten in there? If so and if you can get the activation code from the Microsoft label or you know what ever that bunch of char' are... then... Back when I could see to use DOS I would use SpinRight to completely rehab all hard drives with a deep wipe just in case there was sensitive or compromising crap that a forensics could uncover... Then do a fresh install? Or take the old drives outside and put in a shallow hole and put in plenty of thermate and burn the drives until atomized? The second solution is likely to get you in some trouble depending on your neighbors? ..., But seriously, Spin Right was my goto for several reasons. Besides security there is the nice feature of rehabilitating the drives. Hope this is of use. blessings chuck

                                          D Offline
                                          D Offline
                                          dandy72
                                          wrote on last edited by
                                          #24

                                          Member 14751866 wrote:

                                          I would use SpinRight to completely rehab all hard drives with a deep wipe

                                          [SpinRite](https://www.grc.com/sr/spinrite.htm) is all about data recovery, not secure wiping. I'm rather familiar with the software, and I listen to its [author](https://en.wikipedia.org/wiki/Steve\_Gibson\_(computer\_programmer))'s [podcast](https://twit.tv/shows/security-now) weekly, and I've never heard him mention anything about some wiping feature in his software.

                                          M 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups