Forum Discussion
How do I permanently delete files, photos from sd card on Windows PC?
- Feb 18, 2025
+1 for Dr.Wiper. One of the best solutions for completely delete files from SD card. I used it a couple of times on my PC and no data recovery software could find the deleted files. Here is the step-by-step tutorial:
https://www.ammdiy.com/permanently-delete-files-photos-from-sd-card
Using the command line method to completely wipe SD card is actually a good choice, especially if you don't want to rely on third-party tools. I have used the Diskpart command before, which is easy to use and more thorough than normal formatting.
The specific steps are as follows:
- Open the Command Prompt (CMD): Type "cmd" in the Windows search bar, then right-click and select "Run as administrator".
- Start Diskpart: Type diskpart in the command prompt and press Enter.
- List all disks: Type list disk and press Enter. This will list all connected disks, including SD cards.
- Select your SD card: Find the number corresponding to the SD card, type select disk X, replace X with the number of the SD card, and press Enter.
- Clear data: Type the clean command and press Enter. This command will clear all partitions and data.
- Recreate partitions and format: Type create partition primary to recreate the partitions, and then use format fs=fat32 quick to quickly format the SD card.
This command line method is much more thorough than normal formatting because it clears the partition table. After that, data recovery is almost impossible. I feel this method is quite safe and suitable for completely erase file on SD card.