SDelete Permanently Deletes Files in Windows 8, 10

Radu Tyrsina By: Radu Tyrsina
3 minute read

Home » How To » SDelete Permanently Deletes Files in Windows 8, 10

Deleting a file for good from your Windows 8 system does not happen when you use the Shift+Delete keyboard combination or when you empty the Windows Recycle Bin. By using the SDelete software, you will be able to permanently delete the wanted files from your command line
delete files permanently windows 8
The Shift+Delete keyboard combination that many think is efficient against removing all the files from your Windows 8 only empties the Windows Recycle Bin and the files don’t get actually deleted. What happens is that Windows only removes the index for that file in the file system. If you want to delete a file for good, you can use the SDelete software, which is one of the Sysinternals tools provided by Microsoft (download link at the end).

Securely deleting a file that has no special attributes is relatively straight-forward: the secure delete program simply overwrites the file with the secure delete pattern. What is more tricky is securely deleting Windows NT/2K compressed, encrypted and sparse files, and securely cleansing disk free spaces. Compressed, encrypted and sparse are managed by NTFS in 16-cluster blocks. If a program writes to an existing portion of such a file NTFS allocates new space on the disk to store the new data and after the new data has been written, deallocates the clusters previously occupied by the file. NTFS takes this conservative approach for reasons related to data integrity, and in the case of compressed and sparse files, in case a new allocation is larger than what exists (the new compressed data is bigger than the old compressed data). Thus, overwriting such a file will not succeed in deleting the file’s contents from the disk.

Read Also: Defraggler is the Best Solution to Defrag Windows 8 and Windows 8.1

SDelete is a command-line utility that overwrites the contents of free space on a disk so that no one can recover the deleted data that the disk contains. It relies on the Windows defragmentation API to see which disk clusters hold deleted data. Here are the command lines that you can use with SDelete:

  • -a: Remove Read-Only attribute.
  • -c: Clean free space.
  • -p passes: Specifies number of overwrite passes (default is 1).
  • -q: Don’t print errors (Quiet).
  • -s or -r: Recurse subdirectories.
  • -z : Zero free space (good for virtual disk optimization).

Download SDelete from Windows Sysinternals

SDelete alternatives for all users

Not all the users might need SDelete on their Windows 8, 8.1 or 10 devices in order to permanently delete some files. This tool is not the easiest to use, and in this case, less skilled users might encounter some difficulties while using it. Well, we have considered this situation and prepared here a list of file deleters that you could use on your PC. Here it is:

Let us know in the comments if this article somehow helped you permanently delete files.

Editor’s Note: This post was originally published in December 2013 and has been since revamped and updated for freshness, accuracy, and comprehensiveness.

Discussions

Next up

Candy Crush Saga removed in Windows 10 May 2019 Update

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

Microsoft finally listened to Windows 10 users and removed Candy Crush Saga from the upcoming May 2019 Update. And there is more to this story: […]

Continue Reading

How to stop taskeng.exe from popping up on Windows PCs

Mihai Duna avatar. By: Mihai Duna
3 minute read

The frequent issue regarding taskeng.exe popping up randomly for many users has become quite an annoying problem. The taskeng.exe pop-up goes in front of other […]

Continue Reading

ARK: Survival Evolved Issues on Windows 10 [FIX]

Milan Stanojevic avatar. By: Milan Stanojevic
6 minute read

ARK: Survival Evolved is a popular action gamethat gained its massive popularity during the last years. Of course, ARK: Survival Evolved has its fair share […]

Continue Reading