How to Erase Hard Drive with Zeros in Command Prompt
Вставка
- Опубліковано 15 вер 2024
- How to Erase Hard Drive with Zeros in Command Prompt
►►►SUBSCRIBE for more: www.youtube.co...
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...
🔵 My Official Email: brian@briteccomputers.co.uk
#SecureEraseHardDrive #WipeHardDrive #HDD #HardDrive #FormatHardDrive #ZeroHDD
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
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 !
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
I didn't know that i always used killdisk
Killdisk is a great bit of software
try:
cipher /w
eg.
cipher /w:c:
did you say fat32?
I'm sure this is a dumb question, but do you need to be connected to the internet to perform this?
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.
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 👍
Diskpart is Amazing to recover an USB stick, good vídeo, each day learning from this channel,thanks
You're welcome and thanks for watching.
Thanks again Brian, so easy and straight forward.....as long as you say you're careful you get the right drive. Cheers matey. Don
Yeah its real easy to do.
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.
ty im using this method for that too also do you remember how long it took?
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.
Very informative Thank-you for the very detailed, easy to follow tutorial.
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.
How do you know when the second method is done?
It says a "clean successfully" type of message.
Bri your the win master nice one , thanks for that one ☝️
Great video, especially as I want to erase a drive using another machine...
I just did this with a ssd, will my laptop be ok?
Great video! definitely didn't know this and will be applying this to all my drives and USBs. thanks again!
Glad i could help
Good video Brian! Thanks for sharing it with us.👍😎JP
Britec the commando tech lol great video keep them coming
Thanks Compton
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
Another great video which I'm sure will come in handy someday. Thanks!
Always nice to know these things
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
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?
there is another command to write zeroes to a drive without re formatting but i can't remember it!
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.
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
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.
Can anyone confirm if this statement is accurate ? Thanks
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
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 :/
Nice video Brian, well done to erase hard drives. 👍
Cheers Terry
I have been using clean all recently and it is annoying that it doesn't have any percentage showing how much has been done.
Is there a bat file that can be written to automate the entire disk formate without having to monitor the process?
IF i only have one drive and windows is on that drive, what to do?, i just want to erase the laptop
Does this work on SSD?
1 TB PCIe NVMe M.2 SSD, Windows 10 Home
I heard nothing ever really gets deleted, does this really wipe a drive completely?
Thanks Brian.
You're welcome
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?
Can this be deployed to an AD network from a main server?
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
I tried this and it said specified drive does not exist. But i checked and its ntfs. What do I do?
I would like to see a video that details the different file formats. I would not know what files system to chose.
Disk management will tell you what file system your using
If you don't know what you want and why you want it then just leave it what it is
thanks brian 😍🔨🤓
You're welcome
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.
Any reason for NOT just erasing the drive once?
THANKS you! This is just what I needed! wow
You're welcome
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
How long is a "bit of time" for a 1T hard drive for each pass? Hours?
how long did it take you?
I got past that by putting windows but it says warning Drive D will be lost
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?
No - fake news
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
does a full format also zero out the hard drive?
write protected.....tried cmd, regedit, nothing worked to overwrite the write protection.
Thanks mate!
Can I delete windows c drive doing this to erase the laptop?
are you sure this is "ZEROing" out the drive ? were it writes all zeros
Hopefully this saves my 480 pny ssd that was messed up by a windows 10 update
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 ?
@@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
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
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.
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. ;)
I can't install window no Media driver cant use pc it been 5 day's😢
for me it doesnt say "enter new disk for frive"
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
How did u solve it iv done same lol
@@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
is this can fix bad sector?
This will not fix bad sectors
@@Britec09 ahh okay sir. you have a tutorial to fix bad sector sir?
Yes check my videos
FILE SYSTEM
FILE SIZE
SAME NAME
OVERLAPING FILES ?
DELETE PIC
PICTURE TAK
DELETE AGAIN
IS THIS CIPHER TOOL NESSASRY ?
but Ccleaner will wipe the drive no messing
how do you know when the diskpart successfully formats the disk
Farhan Khan When it asks for the Volume label
can you tell what software can capture computer screen?
Camtasia Studio is what I use, there are free options available, which I have made videos on
Really helpful
Awesome, thanks Brian :-)
Glad you liked it.
can i use the second method to nuke my hard drive
My command:
format F: /fs: NTFS /P:8
Why when I try to type commands through control prompt i get the "alias not found" message?
Man Mind blowing...….
I don’t see no zeroes..
Sir I want to know how to remove write protection of pen drive
Thank you.................❤️❤️💕💕❤💛💚💙
You're welcome
I dont think its good for ssd drives
try one of these for SSD ua-cam.com/video/gWxIuIq3D1E/v-deo.html or
ua-cam.com/video/rpp9ECG6qCs/v-deo.html
@@Britec09 Ok thank you and love your channel keep up the great work :)
Cheers John
O % not increase format
I hope there is no way it'll work over ip
Please do no move the mouse unnecessary