How to zero out a storage disk using SDELETE in Windows

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ส.ค. 2024
  • Today we show how to use sdelete from sysinternals to zero out a storage disk. To zero out a disk, we first need to delete all volumes on the disk. We show how to list volumes from the Windows command line, delete volumes using diskpart and zero out with sdelete.
    Sdelete can also be used to securely delete files and other data in a partition.
    Sysinternals sdelete: docs.microsoft.com/en-us/sysi...
    bit.ly/2Ij9Ojc -- Subscribe for more videos and updates!
    Support DFIR.Science on Patreon - / dfirscience
    010001000100011001010011011000110110100101100101011011100110001101100101
    Our Site → DFIR.Science
    Subscribe → bit.ly/2Ij9Ojc
    Support → / dfirscience
    Contact Us → / dfirscience
    DFIRScience RSS → DFIR.Science/feed.xml
    Host: Joshua I. James → / jijames
    010100110111010101100010011100110110001101110010011010010110001001100101
    Tools to help manage your TH-cam Channel: www.tubebuddy.com/DFIRScience
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 33

  • @HappyHappyPanda88
    @HappyHappyPanda88 5 ปีที่แล้ว +2

    Love that mic and clear instruction

  • @sowhatsupeirik
    @sowhatsupeirik 5 ปีที่แล้ว

    You make fantastic content! Treasure trove of a channel.

  • @ifun888
    @ifun888 6 ปีที่แล้ว

    This help me in most efficient way. Thanks!

  • @kcarmack99
    @kcarmack99 4 ปีที่แล้ว

    Excellent! This is MOST helpful.

  • @classical-dude
    @classical-dude ปีที่แล้ว

    Your voice is so soothing :)

  • @michaelduchac2742
    @michaelduchac2742 3 ปีที่แล้ว

    absolutely brilliant! thanks!!!!

  • @manuelvizcarra8283
    @manuelvizcarra8283 ปีที่แล้ว

    Thanks alot man this was great

  • @hellonterna7636
    @hellonterna7636 2 ปีที่แล้ว

    Very good and direct, congrats!

  • @nion456789
    @nion456789 6 ปีที่แล้ว

    Thanks sir

  • @CarlosMartinezTech
    @CarlosMartinezTech 6 ปีที่แล้ว

    Hi Sr. I am using SDelete for wiping drives, it is ok if I clean the disk then
    diskpart
    select disk #
    clean
    Then use SDelete.exe -p 3 -z -c Disk#
    it is ok to wipe the drive first and then clean the drive with SDelete on Raw format ?

  • @CarlosMartinezTech
    @CarlosMartinezTech 6 ปีที่แล้ว

    I have built a solution on Powershell using SDelete that I allow me to wipe multiple drives at the same time. but I would like to know if Sdelete could be use in this way. Thanks

  • @classical-dude
    @classical-dude ปีที่แล้ว

    @DFIRScience If I run sdelete a few passes, do I still need to verify that everything has been zeroed out? Asking because I don't have winhex :)

  • @dxdyww
    @dxdyww 15 วันที่ผ่านมา

    is it okay to zeroing multiple disk at a time? will the sdelete perfectly do its task? thanks for the share

  • @raazedilofficial2044
    @raazedilofficial2044 5 ปีที่แล้ว +1

    My Extrnal drive Doesnt Exist Now?
    What To Do

  • @khooricky-be5bz
    @khooricky-be5bz 2 ปีที่แล้ว +1

    hello ,i already learn this before from the other video ,i install it on C:\Sysinternals\Sdelete , so when i use it clean D drive ,i input C:\Sysinternals\Sdelete\Sdelete64 -C :D -P 5 ,it work normally ,but after a few months i not use ,when i am back to use it ,it's doesn't work , some time i will also use the defragler too ,same thing happen when i am back to use it after not use it for a few months ! it say you need to activate task organizer in services ,(i am not sure about this in english cause my pc display in other language) ,might be a system setting issue ! can you please help me to fix this?!

    • @DFIRScience
      @DFIRScience  2 ปีที่แล้ว

      Difficult to say exactly what the issue might be. I would guess your path variable is getting reset after a few months, maybe with a Windows update.

  • @alexdurain3753
    @alexdurain3753 4 ปีที่แล้ว +1

    So sdelete didn’t work and now my computer won’t boot up. Best part is Sdelete didn’t even get to do anything. It just said there was a volume and command prompt couldn’t find it.

  • @randyr6745
    @randyr6745 2 ปีที่แล้ว +1

    What did you do to stop it from runing?

    • @DFIRScience
      @DFIRScience  2 ปีที่แล้ว

      From terminal you can press ctrl+C that will stop any running command.

  • @MaddBadgerr
    @MaddBadgerr ปีที่แล้ว

    I'm using SDelete to clear free space on the drive, using the command 'sdelete -c c:'. How do I target an internal drive drive other than the C-Drive for this action? Let's imagine that this drive is called the E-Drive or the F-Drive.

    • @DFIRScience
      @DFIRScience  ปีที่แล้ว

      You'll need to use the special device \\.\PHYSICALDISK# -> docs.microsoft.com/en-us/powershell/module/storage/get-physicaldisk?view=windowsserver2022-ps

    • @MaddBadgerr
      @MaddBadgerr ปีที่แล้ว

      @@DFIRScience Does SDelete legitimately not have the ability to target specific drives to clean other than the C drive. Surely, if I can target a drive to completely wipe, I can target a drive to simply clean.

  • @googleuser7202
    @googleuser7202 4 ปีที่แล้ว +1

    *Note: SDelete securely deletes file data, but not file names located in free disk space.*

    • @DFIRScience
      @DFIRScience  4 ปีที่แล้ว

      Right. sdelete will try to securely delete allocated file data locations. It will not clear the file system entries entirely. However, if you are running sdelete on a whole physical disk, it will wipe out the file system as well.

  • @MaxCE
    @MaxCE 3 ปีที่แล้ว

    So I don't have an os installed cause for some reason it won't find it but I still want to wipe it out. How.

    • @DFIRScience
      @DFIRScience  3 ปีที่แล้ว

      You can use a Linux Live CD/USB to boot the computer, and use built-in utilities to access and wipe the hard drive. This article is old, but it has the basic idea: www.howtogeek.com/howto/15037/use-an-ubuntu-live-cd-to-securely-wipe-your-pcs-hard-drive/

  • @dristang
    @dristang 2 ปีที่แล้ว

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

    • @DFIRScience
      @DFIRScience  2 ปีที่แล้ว

      Yup. SDELETE will delete whatever you point it at. The SSD has an internal controller that will actually remove the data.

    • @dristang
      @dristang 2 ปีที่แล้ว

      @@DFIRScienceah alright. Also is the SDELETE harmful to the SSD in any way?
      Like decrease performance or anything?

    • @dristang
      @dristang 2 ปีที่แล้ว

      @@DFIRScience one more question. Can I use this same command or similar command to write Zeros to the hard disk without formatting it? I don't want to format as I have a lot of data. How can I get this done?

    • @DFIRScience
      @DFIRScience  2 ปีที่แล้ว

      @@dristang Technically yes. The easiest thing to do is sdelete a file directly. Whole sections of the drive are a bit more complicated/dangerous.

    • @dristang
      @dristang 2 ปีที่แล้ว

      @@DFIRScience ah I see.
      Is the Cipher /w command same as SDELETE? Does the cipher command cause harm to the drive similarly to Sdelete? As SSD drive is different from an ordinary HDD
      I'm trying to clear unused available space on the drive, so I'm not sure if SDELETE is the right tool for this purpose