Windows

How to Secure Your Data with Cipher on Windows 11

Richard
Written by
Richard
Jan 31, 2026 Updated Apr 2, 2026 3 min read
How to Secure Your Data with Cipher on Windows 11

When you delete files or folders on your Windows 11 computer, the data doesn’t actually disappear right away. Windows just marks that space as available for new files. This means someone could still recover your deleted files using special software.

To keep your data safe, Windows has a built-in tool called Cipher. It overwrites deleted data with random information so it cannot be recovered.

What is Cipher?

Cipher is a Windows tool that can:

Today, we’ll focus on using Cipher to erase deleted data permanently.

Why Should You Overwrite Deleted Data?

When you delete a file, Windows doesn’t remove the actual data immediately. It only marks the space as free. Until new data replaces it, someone could recover your deleted files with data recovery tools.

Using Cipher to overwrite this space makes sure your deleted files are gone forever.

Tip: If you want to learn more about deleting files the usual way, check out this easy guide: How to Delete Files and Folders in Windows 11.

How to Overwrite Deleted Data with Cipher

Follow these simple steps to run Cipher and securely erase deleted files on your drive:

  1. Open Windows Terminal as an Administrator %%FLAG_ADMIN%%

    To do this:



    • Click the Start button or press the Windows key

    • Type Windows Terminal

    • Right-click Windows Terminal and choose Run as administrator


    If you want a detailed guide, see: How to Open Windows Terminal as Admin.


  2. Choose PowerShell or Command Prompt inside Windows Terminal

    You can switch between them using the dropdown arrow at the top or by opening a new tab. More info here: Open PowerShell on Windows 11 | Open Command Prompt on Windows 11


  3. Type the Cipher command to overwrite deleted data on your drive

    Use this command format:


    cipher /w:<drive letter>


    Replace <drive letter> with the letter of the drive where you want to erase deleted data. For example, to clean drive C, type:


    cipher /w:C


    Important: Make sure you select the correct drive letter!

  4. Press Enter and wait for the process to finish

    The tool will take some time depending on your drive size and speed. It will fill the free space with random data, making deleted files unrecoverable.

After the process completes, your deleted data will be securely erased from that drive.

Summary

  • Cipher overwrites deleted data so it cannot be recovered
  • Deleted files stay on disk until overwritten, so this step keeps your data safe
  • Using cipher /w:<drive letter> is easy and effective
  • Always run the command on the right drive to protect your private files
  • Make it a habit to run this tool regularly for better data security
  • Following these simple steps helps keep your personal information private and your computer more secure

Where to Learn More

For official details, visit Microsoft’s guide: Use Cipher to overwrite deleted data (Microsoft)

Frequently Asked Questions

What is Cipher?

Cipher is a Windows tool that can: Encrypt and decrypt files on NTFS drives Overwrite deleted files so they can't be recovered Today, we'll focus on using Cipher to erase deleted data permanently.

Why Should You Overwrite Deleted Data?

When you delete a file, Windows doesn't remove the actual data immediately. It only marks the space as free.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2468 articles → Twitter

📚 Related Tutorials

How to Delete Files and Folders in Windows 11
Windows How to Delete Files and Folders in Windows 11
How to Open Windows Terminal as Admin Automatically
Windows How to Open Windows Terminal as Admin Automatically
How to Delete Folders in Windows 11
Windows How to Delete Folders in Windows 11
How to Encrypt Files in Windows 11
Windows How to Encrypt Files in Windows 11

Leave a Reply

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