How to Erase Hard Drive with Zeros in Command Prompt

Поделиться
HTML-код
  • Опубликовано: 6 фев 2019
  • How to Erase Hard Drive with Zeros in Command Prompt
    ►►►SUBSCRIBE for more: ruclips.net/user/Britec09...
    How to completely erase your hard drives, SSDs and thumb drives? Today we will take a look at zeroing a hard drive using the Format command in command prompt. This secure erase method is free and easy to use. I will show you two ways on how to zero out your hard drive. The standard format command does not secure erase the drive and data can be recovered from that drive.
    Using the command format d: /fs:NTFS /p:2 with overwrite the drive with zeros and do two overwrites on that drive and give it a NTFS file system.
    Change the command to your needs
    Zeroing out your hard drive with Diskpart
    1. Type "diskpart"
    2. Type “list disk” and hit “enter”.
    3. select disk 2 (or what ever your disk number is that you want to select)
    Disk 2 is now the selected disk.
    4. type: "clean all"
    These formats are not the most secure wipes you can do on a hard drive, for a more secure erase use something like DoD 5220.22-M but if you want to wipe a hard drive without software, then use one of the methods above.
    ------- My Social Links:
    🔵 View My Channel - / britec09
    🔵 View My Playlists - / britec09
    🔵 Follow on Twitter - / britec09
    🔵 Follow on Facebook: / briteccomputers
    🔵 View my Website: BritecComputers.co.uk
    🔵 My Official Email: brian@briteccomputers.co.uk
    #SecureEraseHardDrive #WipeHardDrive #HDD #HardDrive #FormatHardDrive #ZeroHDD

Комментарии • 116

  • @Britec09
    @Britec09  5 лет назад +8

    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    T H A N K Y O U F O R W A T C H I N G !
    P L E A S E L I K E A N D S U B S C R I B E !
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

    • @rizla4606
      @rizla4606 5 лет назад +1

      I didn't know that i always used killdisk

    • @Britec09
      @Britec09  5 лет назад

      Killdisk is a great bit of software

    • @mclab33
      @mclab33 5 лет назад

      try:
      cipher /w
      eg.
      cipher /w:c:

    • @imnotyouraveragejo578
      @imnotyouraveragejo578 4 года назад

      did you say fat32?

    • @zscottcollier4837
      @zscottcollier4837 3 года назад

      I'm sure this is a dumb question, but do you need to be connected to the internet to perform this?

  • @oneszeros1
    @oneszeros1 5 лет назад +1

    Nice one Brian and good to hear you specify giving away to a friend and makes it HARD to recover... obviously a forensic specialist would more than likely achieve a good rebuild but I've seen you mention DoD standards in another post here... in any country and Gov agency it's all about Policy Policy Policy which if highly sensitive will include secure destruction such as drive crushing and shredding as I know you are aware... cheers again for a great method for the home user helping out friends for a giveaway 👍

  • @paulstir
    @paulstir 2 года назад

    Bri your the win master nice one , thanks for that one ☝️

  • @chester_ville_4066
    @chester_ville_4066 Год назад

    I’m trying to do this for a bit locked hard drive so I can use it for myself. I’ll post if it works. This is still good to know for future use. Thank you.

  • @IEnjoyCreatingVideos
    @IEnjoyCreatingVideos 5 лет назад +1

    Good video Brian! Thanks for sharing it with us.👍😎JP

  • @wallybe2946
    @wallybe2946 5 лет назад +3

    Very informative Thank-you for the very detailed, easy to follow tutorial.

  • @bison345
    @bison345 5 лет назад +2

    Thanks again Brian, so easy and straight forward.....as long as you say you're careful you get the right drive. Cheers matey. Don

    • @Britec09
      @Britec09  5 лет назад +1

      Yeah its real easy to do.

  • @GuitarFool1569
    @GuitarFool1569 4 года назад

    I have a 500GB SSD that was partitioned into 2 X 250GB. I’m trying to erase the partition but my system won’t see it as a temp partition but rather as a permanent partition and won’t allow me to make it 500GB again. Will writing the hard drive with 0’s overwrite all partitions?

  • @KrissBartlett
    @KrissBartlett 5 лет назад

    mine wont format Brian as its protected i pulled it out long time ago and it put protection on it so wont format it ???? tried both wont go says it write protected ive had it long time wont erase it ever done everything to try change it

  • @stevenproctor3727
    @stevenproctor3727 2 года назад

    Hello. Thank you for the video. I have an old 500gb HDD i'd like to erase. It has a partition on it with a seperate drive labled System Reserved D: or something similar that is only 100mb and the rest of the drive (460GB) is E:. How do I format the entire drive? If I use format e: /fs:NTFS /P:2 will that only zero wipe the E partition or the entire drive that E is on?

  • @WhiteArmour
    @WhiteArmour 5 лет назад +1

    Great video! definitely didn't know this and will be applying this to all my drives and USBs. thanks again!

  • @capman911
    @capman911 5 лет назад

    Is there a bat file that can be written to automate the entire disk formate without having to monitor the process?

  • @fernandozornosa6398
    @fernandozornosa6398 5 лет назад +2

    Diskpart is Amazing to recover an USB stick, good vídeo, each day learning from this channel,thanks

    • @Britec09
      @Britec09  5 лет назад

      You're welcome and thanks for watching.

  • @Zendukai
    @Zendukai 5 лет назад

    Thanks mate!

  • @kevlec1947
    @kevlec1947 5 лет назад +1

    Thanks Brian.

  • @kikoskater123
    @kikoskater123 3 года назад

    when i try clean all this happens
    DiskPart has encountered an error: Data error (cyclic redundancy check).
    See the System Event Log for more information.
    What should i do? i cant even mount.. i used a program to check the status and its says my SSD is in good condition i tried everything dont know what to do :/

  • @Ograws
    @Ograws 5 лет назад +1

    Another great video which I'm sure will come in handy someday. Thanks!

    • @Britec09
      @Britec09  5 лет назад

      Always nice to know these things

  • @AbbeyAdeb
    @AbbeyAdeb 3 года назад

    Great video, especially as I want to erase a drive using another machine...

  • @garylollman5339
    @garylollman5339 5 лет назад

    I have a WD external passport ssd drive that is passworded protected. I haven’t been able to come up with the correct password to unlock it. Will what you did in this video by using 0’s to erase the drive work for my WD passport work? I don’t care about what is on the drive. I would just like to be able to again used the the drive.

  • @CaptNemo_
    @CaptNemo_ 4 года назад

    does a full format also zero out the hard drive?

  • @__M__133
    @__M__133 3 года назад

    Is this safe to do to my old laptop C: disk? I want to get rid of all the data possible before giving it away

  • @kyotowolf3108
    @kyotowolf3108 3 года назад +1

    I just did this with a ssd, will my laptop be ok?

  • @mariod1485
    @mariod1485 3 года назад

    Hi Brian
    I tried what you showed with my flash drive (32G) , but it says that my drive is in raw and it wont format .....i'm stuck.
    Oh and by the way ....great vids
    Thanks

  • @wayneosman8971
    @wayneosman8971 2 года назад

    Britec09, I love using "CMD", this works, "BUT", ( I use the nasty little word "but") we must be sure Windows is up to date, otherwise use a Windows boot disk to access the command line or use a third party bootable program. Windows will always find a way to update in the middle of a Command line "Clean All" or "Format fs=ntfs". We could always unplug our LAN or Wi-FI as I am learning . Still it worth it to use Windows bootable Disk or PartedMagic on a USB device. It's safer and efficiently faster at least for large hard drives. As for USB Flash drives your way is the best within a Windows OS.

  • @JayLuisLive
    @JayLuisLive 4 года назад +1

    I tried the first step to wipe out windows 10 Free version off of my 1TB HDD and it worked.
    Out of all the guides to wipe out the HDD I researched, this method works!
    (It only works if you have the actual Windows 10 product key). Windows 10 Free version doesn’t allow you to use this function in command prompt. Hope I helped.

    • @visuals2779
      @visuals2779 3 года назад

      ty im using this method for that too also do you remember how long it took?

  • @dristang
    @dristang 2 года назад

    Does this work on SSD?
    1 TB PCIe NVMe M.2 SSD, Windows 10 Home

  • @oneofthehandlesofalltime
    @oneofthehandlesofalltime 2 года назад

    Would it be possible to define a fake filesystem and format a disk as it?

  • @constant3927
    @constant3927 5 лет назад +7

    How do you know when the second method is done?

    • @mclarenf1gtr99
      @mclarenf1gtr99 Год назад

      It says a "clean successfully" type of message.

  • @terrymcgill43
    @terrymcgill43 5 лет назад +1

    Nice video Brian, well done to erase hard drives. 👍

  • @yoshizack7737
    @yoshizack7737 3 года назад

    I tried this and it said specified drive does not exist. But i checked and its ntfs. What do I do?

  • @Dominic-rt8rs
    @Dominic-rt8rs 4 года назад

    Can I delete windows c drive doing this to erase the laptop?

  • @ramonaionescu4281
    @ramonaionescu4281 4 года назад +1

    IF i only have one drive and windows is on that drive, what to do?, i just want to erase the laptop

  • @YourGamingTeam
    @YourGamingTeam 5 лет назад +1

    THANKS you! This is just what I needed! wow

  • @cpouyioukka4519
    @cpouyioukka4519 Год назад

    Can this be deployed to an AD network from a main server?

  • @compton9585
    @compton9585 5 лет назад +2

    Britec the commando tech lol great video keep them coming

  • @nakyer
    @nakyer 5 лет назад

    Any reason for NOT just erasing the drive once?

  • @F3arCole
    @F3arCole 2 года назад

    Bro please help when I do format D: /fs:NTFS /P:2 it says The type of file system is NTFS Enter current volume label for drive D

    • @whiffleroar
      @whiffleroar 2 года назад

      You have to enter the name assigned to the drive. Example: mine is New Volume (D:)... That means I type in New Volume. I think they do it so you don't accidentally wipe the wrong drive.

  • @lukaandrejevic5100
    @lukaandrejevic5100 4 года назад

    for me it doesnt say "enter new disk for frive"

  • @limeroundup
    @limeroundup 10 месяцев назад

    Thank you! you just saved me 15 USD because I would have considered a third party program to do this for me instead of this simple command line.

  • @mihaimeluca3
    @mihaimeluca3 2 года назад

    write protected.....tried cmd, regedit, nothing worked to overwrite the write protection.

  • @zx8401ztv
    @zx8401ztv 5 лет назад

    Thanks Brian :-D
    Dos or pseudo dos still has it's uses, i use a very simple batch file to clear chrome cache after it's been closed, chrome never really lets go of history/files.
    Active killdisk was the old favorite for drive blanking, most patition programs seem to have that function these days.

  • @eminusipi
    @eminusipi 3 года назад

    How long is a "bit of time" for a 1T hard drive for each pass? Hours?

    • @Zombie_VAV
      @Zombie_VAV 3 года назад

      how long did it take you?

  • @F3arCole
    @F3arCole 2 года назад

    I got past that by putting windows but it says warning Drive D will be lost

  • @bigkevin42ful
    @bigkevin42ful Год назад

    I have a old computer from a hospital that I got out of the trash I need codes don't work is there any way you can help me

  • @xGMOGaming
    @xGMOGaming 5 лет назад

    Why when I try to type commands through control prompt i get the "alias not found" message?

  • @whiffleroar
    @whiffleroar 2 года назад

    Just from an assumption, you can only do this to external drives. If you tried to do this on your c drive, it would probably crash because cmd is located on your local disk. Just a tip for those curious.

    • @tbmoffittiii
      @tbmoffittiii Год назад

      Can anyone confirm if this statement is accurate ? Thanks

    • @ULTRAJSK
      @ULTRAJSK 6 месяцев назад

      If you boot from a bootable usb/cd with windows installation during install process hit shift+f10 it will bring up cmd then do the above from the bootable

  • @farhankhan1381
    @farhankhan1381 4 года назад

    how do you know when the diskpart successfully formats the disk

    • @JayLuisLive
      @JayLuisLive 4 года назад

      Farhan Khan When it asks for the Volume label

  • @cjhardknocks7040
    @cjhardknocks7040 Год назад

    I heard nothing ever really gets deleted, does this really wipe a drive completely?

  • @imothy
    @imothy 27 дней назад

    there is another command to write zeroes to a drive without re formatting but i can't remember it!

  • @MorbidCrow666
    @MorbidCrow666 Год назад

    I have been using clean all recently and it is annoying that it doesn't have any percentage showing how much has been done.

  • @Snapoems
    @Snapoems 5 лет назад +1

    can you tell what software can capture computer screen?

    • @Britec09
      @Britec09  5 лет назад

      Camtasia Studio is what I use, there are free options available, which I have made videos on

  • @GregM
    @GregM 5 лет назад

    With Diskpart after using the select disk I always then issue another list disk which will show with a * what disk is selected. That way it just makes sure that any subsequent commands are going to be performed on the right volume. Better to check twice just to make sure aka measure twice cut once. ;)

  • @vedales8670
    @vedales8670 4 года назад

    You have the most useful content. Unfortunately, the infections on some system are beyond military grade and long standing at that. Have you heard of malware being installed through the electrical outlets?

    • @grtbluyonder88
      @grtbluyonder88 3 года назад +4

      No - fake news

    • @ULTRAJSK
      @ULTRAJSK 6 месяцев назад

      No but it can be installed through iot devices, hence if your computer is on a network with multiple device like printers smart sockets/ switch’s camera devices like ring, or cctv dvr box it can also embed itself in hardware firmware and bios etc it can use ram cache to create virtual drive and use the first sectors of ssd/hd to direct u to the malicious code there are so many vulnerabilities boot kit rootkit etc these are hard to detect and remove

  • @johnturner7322
    @johnturner7322 5 лет назад +1

    I would like to see a video that details the different file formats. I would not know what files system to chose.

    • @Britec09
      @Britec09  5 лет назад +1

      Disk management will tell you what file system your using

    • @amelliamendel2227
      @amelliamendel2227 5 лет назад +1

      If you don't know what you want and why you want it then just leave it what it is

  • @mikesunboxing
    @mikesunboxing 5 лет назад +1

    thanks brian 😍🔨🤓

  • @ashishsoni2431
    @ashishsoni2431 5 лет назад

    Really helpful

  • @indabells2267
    @indabells2267 3 года назад

    Dude after i did the one that cleans the drive with no indicator of how long it takes i closed down my computer the next day and turned it back off and now i have the no boot found problem

    • @brethrin7278
      @brethrin7278 3 года назад

      How did u solve it iv done same lol

    • @indabells2267
      @indabells2267 3 года назад

      @@brethrin7278 so u need a usb drive with windows installed on it and you need to go to your PCs bios and upload the usb

  • @princejag
    @princejag 5 лет назад

    Man Mind blowing...….

  • @ErvilleRitcheBOkinlay
    @ErvilleRitcheBOkinlay 5 лет назад +1

    is this can fix bad sector?

    • @Britec09
      @Britec09  5 лет назад +1

      This will not fix bad sectors

    • @ErvilleRitcheBOkinlay
      @ErvilleRitcheBOkinlay 5 лет назад +1

      @@Britec09 ahh okay sir. you have a tutorial to fix bad sector sir?

    • @Britec09
      @Britec09  5 лет назад +1

      Yes check my videos

  • @user-pg1rt8yx6f
    @user-pg1rt8yx6f 3 месяца назад

    FILE SYSTEM
    FILE SIZE
    SAME NAME
    OVERLAPING FILES ?
    DELETE PIC
    PICTURE TAK
    DELETE AGAIN
    IS THIS CIPHER TOOL NESSASRY ?

  • @Jack-fs2im
    @Jack-fs2im 4 года назад

    but Ccleaner will wipe the drive no messing

  • @seshurao6652
    @seshurao6652 5 лет назад

    Sir I want to know how to remove write protection of pen drive

  • @Jdp313
    @Jdp313 3 года назад

    Hopefully this saves my 480 pny ssd that was messed up by a windows 10 update

    • @machodge2021
      @machodge2021 3 года назад

      I also get the same problem due to windows 10. Please let me know which method was helpful to you from the video, either the disk part or the other one ?

    • @Jdp313
      @Jdp313 3 года назад +1

      @@machodge2021 yes it helped I just formatted and was able to use for my new build. You can format to why it was or exfat either will work

  • @Bluedragon-co4kb
    @Bluedragon-co4kb 5 лет назад +1

    Awesome, thanks Brian :-)

    • @Britec09
      @Britec09  5 лет назад

      Glad you liked it.

  • @etheriousanimation9523
    @etheriousanimation9523 5 лет назад +2

    can i use the second method to nuke my hard drive

  • @wangbu8869
    @wangbu8869 Год назад

    I can't install window no Media driver cant use pc it been 5 day's😢

  • @JLMtime
    @JLMtime Год назад

    are you sure this is "ZEROing" out the drive ? were it writes all zeros

  • @mohammadshhadet9928
    @mohammadshhadet9928 5 лет назад

    Thank you.................❤️❤️💕💕❤💛💚💙

  • @ashokchowdhary9574
    @ashokchowdhary9574 3 года назад

    Sir you have described everything in your demonstration yet viewer is not so much talented as you are, try to simplify the subject in next video

  • @joaquinfernandesgarcia996
    @joaquinfernandesgarcia996 Год назад

    My command:
    format F: /fs: NTFS /P:8

  • @_httpantwon
    @_httpantwon 4 года назад

    I don’t see no zeroes..

  • @VikasSharma-dp9wz
    @VikasSharma-dp9wz 5 лет назад

    O % not increase format

  • @johnbilliter212
    @johnbilliter212 5 лет назад +3

    I dont think its good for ssd drives

    • @Britec09
      @Britec09  5 лет назад +2

      try one of these for SSD ruclips.net/video/gWxIuIq3D1E/видео.html or
      ruclips.net/video/rpp9ECG6qCs/видео.html

    • @johnbilliter212
      @johnbilliter212 5 лет назад +1

      @@Britec09 Ok thank you and love your channel keep up the great work :)

    • @Britec09
      @Britec09  5 лет назад +1

      Cheers John

  • @Rolatnor
    @Rolatnor 5 лет назад

    I hope there is no way it'll work over ip

  • @davidteo03
    @davidteo03 2 года назад

    Please do no move the mouse unnecessary