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


10 Best Accessories for iPhone 11 & iPhone 11 Pro.

Apple is selling a ton of iPhone 11 units and plenty of iPhone 11 Pro and iPhone 11 Pro Max units as well, just...

How to Backup iPhone Contacts to Computer?

Did you ever lose your contact list from iPhone? Do you ever wish to back up your iPhone contacts to a single file? You...

How to Make Free Phone Call and Send Text Message from MAC?

The combination of Google Voice and Growl Voice is the best choice if you are are relying on text / sms messages for your...

How to Make Your Own Facebook Avatars

Facebook just released the Bitmoji version of the social media platform, which lets you create avatars with your face. The Facebook Avatar feature is...

12 Free iOS Chromecast Games to Play on TV

Chromecast is a device that brings your daily media experience using simple Chromecast apps from your iPhone, laptop, tablet, or any other smart device...

18 Best iPhone X Tricks, Gesture Shortcuts and Button Combos.

For the last decade, iPhone owners have been using the Home button to perform various actions. Well, there is no home button on iPhone...