How to Erase Hard Drive with Zeros in Command Prompt

  Рет қаралды 83,338

Britec09

Britec09

5 жыл бұрын

How to Erase Hard Drive with Zeros in Command Prompt
►►►SUBSCRIBE for more: kzbin.info...
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

Пікірлер: 118
@Britec09
@Britec09 5 жыл бұрын
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 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 жыл бұрын
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 жыл бұрын
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 👍
@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.
@paulstir
@paulstir 2 жыл бұрын
Bri your the win master nice one , thanks for that one ☝️
@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?
@IEnjoyCreatingVideos
@IEnjoyCreatingVideos 5 жыл бұрын
Good video Brian! Thanks for sharing it with us.👍😎JP
@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?
@wallybe2946
@wallybe2946 5 жыл бұрын
Very informative Thank-you for the very detailed, easy to follow tutorial.
@bison345
@bison345 5 жыл бұрын
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 жыл бұрын
Yeah its real easy to do.
@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
@AbbeyAdeb
@AbbeyAdeb 3 жыл бұрын
Great video, especially as I want to erase a drive using another machine...
@capman911
@capman911 5 жыл бұрын
Is there a bat file that can be written to automate the entire disk formate without having to monitor the process?
@Zendukai
@Zendukai 5 жыл бұрын
Thanks mate!
@kevlec1947
@kevlec1947 5 жыл бұрын
Thanks Brian.
@Britec09
@Britec09 5 жыл бұрын
You're welcome
@fernandozornosa6398
@fernandozornosa6398 5 жыл бұрын
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.
@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 :/
@JayLuisLive
@JayLuisLive 4 жыл бұрын
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?
@CaptNemo_
@CaptNemo_ 4 жыл бұрын
does a full format also zero out the hard drive?
@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.
@WhiteArmour
@WhiteArmour 5 жыл бұрын
Great video! definitely didn't know this and will be applying this to all my drives and USBs. thanks again!
@Britec09
@Britec09 5 жыл бұрын
Glad i could help
@kyotowolf3108
@kyotowolf3108 3 жыл бұрын
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
@__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
@Ograws
@Ograws 5 жыл бұрын
Another great video which I'm sure will come in handy someday. Thanks!
@Britec09
@Britec09 5 жыл бұрын
Always nice to know these things
@cpouyioukka4519
@cpouyioukka4519 Жыл бұрын
Can this be deployed to an AD network from a main server?
@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.
@oneofthehandlesofalltime
@oneofthehandlesofalltime 2 жыл бұрын
Would it be possible to define a fake filesystem and format a disk as it?
@YourGamingTeam
@YourGamingTeam 5 жыл бұрын
THANKS you! This is just what I needed! wow
@Britec09
@Britec09 5 жыл бұрын
You're welcome
@dristang
@dristang 2 жыл бұрын
Does this work on SSD? 1 TB PCIe NVMe M.2 SSD, Windows 10 Home
@Huny4U
@Huny4U 3 жыл бұрын
I have a question, since it's a command line you write so, can I apply it on mac terminal?
@victorfigueroa9385
@victorfigueroa9385 3 жыл бұрын
look for the erase option in disk utility, secure erase will be there.
@constant3927
@constant3927 5 жыл бұрын
How do you know when the second method is done?
@mclarenf1gtr99
@mclarenf1gtr99 Жыл бұрын
It says a "clean successfully" type of message.
@Dominic-rt8rs
@Dominic-rt8rs 3 жыл бұрын
Can I delete windows c drive doing this to erase the laptop?
@terrymcgill43
@terrymcgill43 5 жыл бұрын
Nice video Brian, well done to erase hard drives. 👍
@Britec09
@Britec09 5 жыл бұрын
Cheers Terry
@compton9585
@compton9585 5 жыл бұрын
Britec the commando tech lol great video keep them coming
@Britec09
@Britec09 5 жыл бұрын
Thanks Compton
@yoshizack7737
@yoshizack7737 3 жыл бұрын
I tried this and it said specified drive does not exist. But i checked and its ntfs. What do I do?
@limeroundup
@limeroundup 9 ай бұрын
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.
@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.
@ramonaionescu4281
@ramonaionescu4281 4 жыл бұрын
IF i only have one drive and windows is on that drive, what to do?, i just want to erase the laptop
@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?
@ashishsoni2431
@ashishsoni2431 5 жыл бұрын
Really helpful
@nakyer
@nakyer 5 жыл бұрын
Any reason for NOT just erasing the drive once?
@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
@cjhardknocks7040
@cjhardknocks7040 Жыл бұрын
I heard nothing ever really gets deleted, does this really wipe a drive completely?
@lukaandrejevic5100
@lukaandrejevic5100 4 жыл бұрын
for me it doesnt say "enter new disk for frive"
@Bluedragon-co4kb
@Bluedragon-co4kb 5 жыл бұрын
Awesome, thanks Brian :-)
@Britec09
@Britec09 5 жыл бұрын
Glad you liked it.
@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
@mikesunboxing
@mikesunboxing 5 жыл бұрын
thanks brian 😍🔨🤓
@Britec09
@Britec09 5 жыл бұрын
You're welcome
@F3arCole
@F3arCole 2 жыл бұрын
I got past that by putting windows but it says warning Drive D will be lost
@mihaimeluca3
@mihaimeluca3 2 жыл бұрын
write protected.....tried cmd, regedit, nothing worked to overwrite the write protection.
@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 жыл бұрын
No - fake news
@ULTRAJSK
@ULTRAJSK 5 ай бұрын
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
@Snapoems
@Snapoems 5 жыл бұрын
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
@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.
@princejag
@princejag 5 жыл бұрын
Man Mind blowing...….
@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 5 ай бұрын
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
@xGMOGaming
@xGMOGaming 5 жыл бұрын
Why when I try to type commands through control prompt i get the "alias not found" message?
@imothy
@imothy 20 күн бұрын
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.
@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. ;)
@johnturner7322
@johnturner7322 5 жыл бұрын
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 жыл бұрын
Disk management will tell you what file system your using
@amelliamendel2227
@amelliamendel2227 5 жыл бұрын
If you don't know what you want and why you want it then just leave it what it is
@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
@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 жыл бұрын
@@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
@mohammadshhadet9928
@mohammadshhadet9928 5 жыл бұрын
Thank you.................❤️❤️💕💕❤💛💚💙
@Britec09
@Britec09 5 жыл бұрын
You're welcome
@ErvilleRitcheBOkinlay
@ErvilleRitcheBOkinlay 5 жыл бұрын
is this can fix bad sector?
@Britec09
@Britec09 5 жыл бұрын
This will not fix bad sectors
@ErvilleRitcheBOkinlay
@ErvilleRitcheBOkinlay 5 жыл бұрын
@@Britec09 ahh okay sir. you have a tutorial to fix bad sector sir?
@Britec09
@Britec09 5 жыл бұрын
Yes check my videos
@seshurao6652
@seshurao6652 5 жыл бұрын
Sir I want to know how to remove write protection of pen drive
@wangbu8869
@wangbu8869 Жыл бұрын
I can't install window no Media driver cant use pc it been 5 day's😢
@Jack-fs2im
@Jack-fs2im 3 жыл бұрын
but Ccleaner will wipe the drive no messing
@user-pg1rt8yx6f
@user-pg1rt8yx6f 2 ай бұрын
FILE SYSTEM FILE SIZE SAME NAME OVERLAPING FILES ? DELETE PIC PICTURE TAK DELETE AGAIN IS THIS CIPHER TOOL NESSASRY ?
@etheriousanimation9523
@etheriousanimation9523 5 жыл бұрын
can i use the second method to nuke my hard drive
@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
@JLMtime
@JLMtime Жыл бұрын
are you sure this is "ZEROing" out the drive ? were it writes all zeros
@_httpantwon
@_httpantwon 4 жыл бұрын
I don’t see no zeroes..
@joaquinfernandesgarcia996
@joaquinfernandesgarcia996 Жыл бұрын
My command: format F: /fs: NTFS /P:8
@VikasSharma-dp9wz
@VikasSharma-dp9wz 5 жыл бұрын
O % not increase format
@johnbilliter212
@johnbilliter212 5 жыл бұрын
I dont think its good for ssd drives
@Britec09
@Britec09 5 жыл бұрын
try one of these for SSD kzbin.info/www/bejne/nYjbeqh_pph3Z6c or kzbin.info/www/bejne/qKHTanh5fJukedU
@johnbilliter212
@johnbilliter212 5 жыл бұрын
@@Britec09 Ok thank you and love your channel keep up the great work :)
@Britec09
@Britec09 5 жыл бұрын
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
FIX USB Flash Drive Unknown Capacity
6:49
Britec09
Рет қаралды 128 М.
Top 3 Best Free PC Cloning Software to Easily Clone Disk
7:19
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 18 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 58 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 31 МЛН
9 Command Prompt Commands You Should Know!
14:22
ThioJoe
Рет қаралды 1,1 МЛН
How To Erase Data on a Hard Drive
13:43
CyberCPU Tech
Рет қаралды 33 М.
Wipe Any PC in 2 Minutes! - Redkey USB
12:38
Linus Tech Tips
Рет қаралды 6 МЛН
How To Securely Erase Data From Your Laptop - 3 Pro Tips!
9:37
Shannon Morse
Рет қаралды 23 М.
How to Migrate Windows to Another Drive
15:24
Britec09
Рет қаралды 1,4 МЛН
Protect Your Computer With This One Simple Trick
10:33
Britec09
Рет қаралды 212 М.
How to wipe all data from a old Laptop
8:48
ElectronicsWizardry
Рет қаралды 57 М.
How to securely erase your old computer's hard drive
6:15
Dave's Tech Rescue
Рет қаралды 145 М.
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 18 МЛН