Remember the Cipher Command

By | December 4, 2023

 

 

Remember the Cipher Command

The Cipher command has been around as long as Windows and is still an available command in Windows 10 and Windows 11.

When you delete files or folders, the data isn’t removed from the hard drive. Instead, the space on the disk that was occupied by the deleted data is deallocated. After it’s deallocated, the space is available to use when new data is written to the disk. Until the space is overwritten, you can recover the deleted data using data recovery software.

So, simply put, when you delete something on your computer, it’s still there until the disk space occupied by whatever you deleted is overwritten by something else. Until that space is overwritten, the data you deleted is easily recoverable.

You can use the cipher command to overwrite the space that was occupied by deleted data thus making it unrecoverable. You can use the cipher command to overwrite deleted data on an entire drive or directory. The cipher command does not delete, change, or affect undeleted data. So, you can run the cipher command without affecting the undeleted data in directories or drives.

To overwrite all deleted data on an entire hard drive, type CMD into the taskbar search and press enter when you see Command Prompt appear.

To overwrite all deleted data on the C: drive, use the command:

CIPHER /W:C

Remember spaces are important.

It’s the word CIPHER a space, a slash, a W, a colon, and the letter C (or the letter of the drive you want to clean)

The spaces in the command must be included. W:C means overwrite deleted data on drive C. If you want to overwrite the deleted data on drive E:\ then the command would be

CIPHER /W:E

The Mysterious Cipher Command - Cloudeight InfoAve

To overwrite deleted data in a specific directory use the example command below. You can substitute the directory name in which you want to overwrite all deleted data. Below we’re overwriting deleted data in the Documents folder. You can substitute any directory name (folder name) instead of Documents.

CIPHER /W:DOCUMENTS

Cloudeight InfoAve - Cipher command

Remember…any files or folders you delete on your Windows computer are not deleted, they can still be recovered until the space that was occupied by those files and folders is overwritten. If you want to make all your deleted files and folders unrecoverable, you can use the Cipher command to overwrite all deleted data. 

NOTE: The Cipher command can take a very long time to complete – sometimes more than 12 hours depending on the size of the drive, the speed of the computer, the amount of free space to be overwritten, and the number of background programs. So run the Cipher command when you’re not planning on using your computer for a while – like while you’re sleeping…

5 thoughts on “Remember the Cipher Command

    1. infoave Post author

      Does not matter what kind of drive you use (USB, SSD, HDD). Windows does not delete data when you delete it. It marks the space on the drive as available for use, but does not erase the data. The cipher command overwrites the space marked as “available to use” with gibberish so your deleted files cannot be recovered.

      Reply
      1. D.

        I have run Cipher on an HDD, I just did’nt know you could on a SSD. Thank you for that info.

        Reply
  1. Joann Bolen

    I was never acquainted w/Cyber Command.
    I won’t be able to use any of my Senior Pass or any Key that I may still have.

    I realize I need an app’t. w/you to do any kind of “cleanup” on my computer. I have not been able to accomplish such app’t.

    Thanks.

    Joann B.

    Reply

Leave a Reply

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