Table of Content
    File Eraser

    How to Permanently Delete Files from External Storage Device?


    Table of Content

      External storage devices harbor your documents, pictures, videos, music and other personal files. Many people use external storage media as a backup storage option for their PC. Nevertheless, sometimes the data in the external storage device needs to be permanently erased.

      There are many reasons why you might want to wipe your external storage device. For instance, before recycling, sharing, or selling your external storage device, it’s important to clean any personal data to prevent unauthorized exposure of sensitive personal data. This data may include your financial details, personal photos, videos, emails, and messages, which can cause serious harm if exposed.

      How Simple Deletion Works on Any Storage Media?

      To permanently wipe data from a storage media, you typically use the device’s user interface, or connect the storage device to your PC and use the File Explorer to delete the data. After deletion, you may think the files are gone for good, but you can’t be more wrong.

      File deletion removes the pointer or address to the file, not the actual file. Once you delete a file stored on your storage drive, it is relocated to the Bin or Trash folder. When you empty the Trash folder, the OS removes the file from disk’s folder directory and makes the previously occupied space on the sector as available for storing new data.

      This means that the Master File Table (MFT) — used by the device’s OS to track the record of files and folders — no more holds the address to the file. Similarly, reformatting the drive will only delete all the folder directories on the hard disk. Hence, it’s important to understand that post deletion, the original data still remains on the storage media, where it was previously stored, until it gets overwritten by new data.

      Permanently Delete Files on SD Card

      SDelete is secure delete utility that helps users erase data from a connected SD card (NTFS or FAT32 only). By default, the utility uses DOD 5220.22-M standard to erase a file or folder (& subdirectories) with one pass. You can choose as many passes as you want, but there is no option to choose the erasure algorithm.

      To use SDelete for deleting files from SD card, follow these steps:

      Step 1: Download SDelete.exe from Microsoft’s official site.

      Download SDelete.exe

      Step 2: Copy ‘SDelete.exe’ and paste it into the root folder of the SD card (for example, if the SD card is assigned letter E:, then paste the SDelete at E:\SDelete).

      Step 3: Press & hold the Shift key and right-click in the root directory of the SD card.

      Step 4: Choose ‘Open command window here’ from the context menu.

      Step 5: To delete a file, at the command prompt, type: sdelete –p 2 ‘FilePath’ (replace FilePath with the file location, such as “E:\PrivateFiles\MySecretFile.txt”).

      Step 6: To delete a folder containing subfolders and files, type sdelete –s –r –p 2 ‘.\FolderPATH’ (here –s and –r are used to erase folder and subfolders recursively along with contained files with 2 passes).

      Permanently Delete Files on External Hard Drive

      If you are using an external hard drive such as Toshiba or Seagate, it might contain your sensitive data, including social security numbers, addresses, phone numbers, etc. To make sure such confidential data is permanently deleted before you dispose of your storage media, you must erase it. You can delete your external hard drive files using your PC’s command prompt. Follow the steps below:

      Step 1: Press Windows + R button to open the Run command.

      Step 2: Enter CMD in the Run window and press Enter.

      Step 3: In the CMD window, type diskpart, and press Enter.

      Step 4: Next, type list disk.

      Step 5: Then select disk # (make the selection of external hard drive).

      Step 6: Type clean all to remove all files from the selected disk.

      remove all files from the selected disk

      Permanently Delete Files on USB Drive

      Formatting a USB drive is the most common method to delete the data stored on it. However, as stated earlier, the deleted data is not permanently wiped out and can still be recovered using a specialized data recovery tool.To overcome this, you can useanother tool called WinHex.

      WinHex helps you destroy your confidential data but in a different way. The tool is a hexadecimal editor for Windows that lets you edit a file’s hex code, thereby destroying it completely. It also follows the DoD 5220.22-M standard for wiping the files or disks.

      Here’s how to erase a file on USB drive with WinHex:

      Step 1: Download the WinHex software and unzip to any location on your system.

      Step 2: Open the extracted folder and double-click on the WinHex application icon to launch it.

      Step 3: Grant permission if prompted and then go to Tools > Open Disk (or simply press F9).

      Step 4: Select the USB drive and go to Edit > Fill Disk Sectors. For example, fill with zeroes or random bytes.

      Caution: The above step wipes the entire USB drive, so use it appropriately.

      Step 5: If you want to delete a single file, go to Tools > File Tools.

      Step 6: Select ‘Wipe Securely’ to browse and wipe one file at a time from the USB drive or choose ‘Delete Recursively’ to select the directory on the USB drive containing subfolders or files and delete them recursively.

      Permanently Delete Files Using Built-in Utilities on Windows and macOS

      Both Windows & Mac offer built-in tools for secure deletion. Windows users can use the Cipher command to overwrite files with random data and ensure their secure deletion. Similarly, macOS users can employ the SRM command to securely delete files.

      Limitations of Using Conventional Command-line Tools

      These command-line tools might not be suitable for non-technical users as they are complex, time-consuming, and may not fully erase residual data on SSDs due to wear-leveling mechanisms. In addition, they are often unable to recognize, access, or overwrite data contained in bad and hidden sectors. Relying on these tools could leave fragments of sensitive data recoverable, putting your privacy and security at risk.

      Permanently Erase External Storage Device with a File Erasure Software

      Simply deleting files using your PC or Mac settings does not erase them from your computer, as any data recovery software can easily trace and recover them.

      Therefore, a file erasure software is the prescribed method to permanently delete files from any external storage devices, such as Hard drive, USB, SD card, etc. This software functions by overwriting on top of the files you wish to delete. This overwriting can be done once or multiple times.

      As a result of the erasure, the files become unreadable and beyond the capacity of data recovery software. This is known as erasure beyond recovery and only an efficient file erasure software can accomplish that.

      Stellar File Eraser to Permanently Erase Your External Storage Device Files

      Stellar File Eraser is a recommended file erasure software that can easily and efficiently erase all contents of your external storage device. This way, you can securely destroy your data and make it inaccessible to anyone. It is available for both Windows and Mac computers.

      Stellar File Eraser helps you permanently erase date from all external storage drives, including HDDs, SSDs, USB drives, SD cards, etc. It works seamlessly with external storage devices of all make and models, such as Toshiba, Seagate, Western Digital (WD), SanDisk, and more.

      Follow the steps below to remove temporary files using Stellar File Eraser:

      Step 1: Install and launch Stellar File Eraser on your PC.

      launch Stellar File Eraser

      Step 2: Click on Erase Files & Folders on the left side.

      Step 3: Click Add Items to add the temporary files you wish to delete and click Erase Now.

      click Erase Now

      Step 4: A Confirm Erasure dialog box appears, click Proceed to continue.

      Step 5: Process Completed window appears with the Erasure Summary of deleted files. Click Ok to finish the process.

      Conclusion

      Although the blog mentions tools such as SDelete and WinHex to erase data; it’s worthwhile to know that these tools are neither easy nor safe to use. While SDelete can lead to accidental erasure of the important files if you mistype the drive letter or command, WinHex requires technical knowledge and is difficult to use by a non-technical person. Hence, we recommend using file eraser software to securely erase the data from your external storage devices.

      Was this article helpful?

      No NO

      About The Author

      Rishabh Singh linkdin

      Rishabh is a senior content specialist at Stellar Information Technology, where he writes about comprehensive data care solutions. His domain expertise and hands-on approach helps him deliver tailored DIY guides and feature articles on data recovery, file repair, troubleshooting Windows and Mac system errors.

      8 comments

      1. Thanks for sharing this informative article!
        Is there a difference in the deletion process between HDDs and SSDs ?

        1. Thank you for your comment! Regarding your question about the deletion process, there are indeed some differences between HDDs (Hard Disk Drives) and SSDs (Solid State Drives).

          When it comes to HDDs, deleting a file typically involves removing the reference to the file from the file system’s index. This makes the file’s space available for reuse, but the actual data remains on the drive until it gets overwritten by new data. Until that happens, it may be possible to recover the deleted file using specialized software.

          On the other hand, SSDs work differently. They use a technology called NAND flash memory, which stores data in memory cells. When you delete a file from an SSD, the controller marks the corresponding cells as available for new data. However, the actual data may still persist on the drive in a process known as “garbage collection” or “wear leveling.” This process aims to optimize the SSD’s performance and lifespan by distributing writes evenly across the memory cells. As a result, the data may remain recoverable even after deletion.

          I hope this helps clarify the differences in the deletion process between HDDs and SSDs. If you have any further questions, feel free to ask!

      2. Are there any recommended practices for verifying that files have been successfully and permanently deleted from the external hard drive?

        1. When it comes to verifying that files have been successfully and permanently deleted from an external hard drive, there are several recommended practices you can follow. While BitRaser File Eraser is a reputable tool for file deletion, it’s always good to take additional steps to ensure the data is irrecoverable. Here are some suggestions:

          1. Multiple Overwrites: If you are not using any data erasure tool then consider performing multiple overwrites on storage device.
          2. Random Data Overwrite: When erasing files, use a random data pattern instead of simple zeroes or ones.
          3. Full Disk Erasure: If you want to ensure all data on the external hard drive is securely erased, consider performing a full disk erasure rather than just deleting specific files.
          4. Use Data Recovery Tools: To double-check the effectiveness of the file erasure process, you can try using data recovery tools on the external hard drive after the deletion. If they fail to retrieve any of the erased data, it indicates a successful deletion.

          Furthermore, BitRaser File Eraser is no ordinary software; it packs world-class data wiping technology to give you a failsafe assurance of data safety.

      3. Great article! It’s important for people to understand that simply deleting files from an external hard drive does not actually remove them permanently. Your step-by-step guide for securely erasing files is very helpful. It’s always better to be safe than sorry when it comes to sensitive information.

      4. I’ve been looking for a solution to permanently delete files from my external hard drive without having to physically destroy it. Your post has been incredibly helpful in guiding me through the process. Thank you for sharing!

        1. Thank you for your comment, Zyair! I’m glad to hear that the article was helpful to you. It’s always great to know that the information we provide is useful to our readers.

      Leave a comment

      Your email address will not be published. Required fields are marked *

      Image Captcha
      Refresh Image Captcha

      Enter Captcha Here :

      Related Posts

      WHY STELLAR® IS GLOBAL LEADER

      Why Choose Stellar?

      • 0M+

        Customers

      • 0+

        Years of Excellence

      • 0+

        R&D Engineers

      • 0+

        Countries

      • 0+

        PARTNERS

      • 0+

        Awards Received