Disclaimer: MashTips is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission at no extra cost to you.

Home Computer Windows How to Delete Files Securely in Windows

How to Delete Files Securely in Windows

Beware! Your deleted files are not deleted actually. Usually, we all delete the file and clear from recycle bin. Do you think those files are completely removed from your PC? It is not. Even though you delete a file from your PC and you clear from recycle bin. Still, the file will be in you your PC hard disk. Those files can be retrieved easily by using some data recovery tools.

Microsoft says, When you delete files or folders, the data is not initially removed from the hard disk. Instead, the space on the disk that was occupied by the deleted data is “deallocated.” After it is deallocated, space is available for use when new data is written to the disk. Until space is overwritten, it is possible to recover the deleted data by using a low-level disk editor or data-recovery software.

We advise you whenever you delete sensitive files from your PC, make sure those are deleted properly and can’t retrieve in future. There are a couple of tools to safely delete files, but Windows is coming with an inbuilt tool to do this job for you.

The cipher.exe command is an external command that can be used to overwrite on your free hard disk space to permanently delete your deleted file from hard disk. We are using this command to overwrite data that you have deleted so that it cannot be recovered and accessed.

Please follow the steps below to overwrite deleted data on your hard disk by using Cipher.exe, use the /w switch with the cipher command.

Close all open applications before proceeding.

Click on Start, click Run, type cmd, and then press ENTER.

Type cipher /w:driveletterfoldername, and then press ENTER.

Replace the drive letter with your hard disk drive letter and specify the folder name.

Please see the screenshot below with a sample command. This drive letter is E and the folder name is mashtips in this case.

Once you enter the command, the system will start to write 00 (0000 0000) on all empty or deleted space of that volume. In the second level, the tool will write FF (1111 1111) on the same place. And as the last step, it will write the Random Numbers over it, to make sure the deleted files are non-recoverable.

Please wait until you get the DOS prompt again to make sure the process finished. This command permanently removes the deleted data from the hard disk and can take a long time if you are overwriting a large space Hard Disk.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Free Newsletter


This Simple Tip Help You To Secure Your Facebook Account

This article help you to secure your Facebook account if you suspect that somebody hacked your Facebook account and misusing the account with out...

This simple trick can hide any iOS App without rooting.

Good news for all iOS users, you can hide almost any application from your iPhone or iPad without using any third party apps or...

Top 10 features of Windows 10: A new OS or Old?

Microsoft has unveiled its new OS called Windows 10 on 30th Sep 14, instead of a widely expected Windows 9. This time, Microsoft did...

How to Sign A PDF on Mac Quickly

What would you do when you get a document file that requires your signature? In normal cases, you would require to take a print...

8 Best Google Home Compatible Devices to Work with Google Assistant

A few years ago, smart speakers were completely unheard of, but thanks to Amazon Echo, these devices are taking the world by storm right...

Audials One 2019: Lets you Legally Download Music, Movies, Shows & More

Audials One 2019 is the modern version of home-made VCR tapes. It lets you record music from various online sources including Spotify, the largest...