How to Permanently and Securely Delete Files on Windows 10 (2024)

How to permanently delete files from Windows 10

To permanently delete files on Windows, send them to the Recycle Bin and then empty the Recycle Bin to delete them for good. Once the bin is empty, you can’t recover the files unless you have data or file recovery software. And even that may not work, because recovery software is no guarantee.

Keep reading to learn about more ways to get rid of Windows files on your computer permanently.

This Article Contains:

This Article Contains:

    See all Performance articles

    How to Permanently and Securely Delete Files on Windows 10 (1)

    This Article Contains:

      Use Keyboard shortcuts to delete files

      You can skip the Recycle Bin by selecting a file and clicking Shift + Delete (holding down the Shift key and then pressing the Delete key).

      Here’s how to permanently delete files on Windows using keyboard shortcuts only:

      1. Click on the file once to highlight it. If the file is saved directly on your desktop, click on it there. Otherwise, find it and click to highlight it in Windows File Explorer.

        How to Permanently and Securely Delete Files on Windows 10 (2)
      2. Hold down the Shift key and press the Delete key. (Remember that the Backspace key isn’t the same as the Delete key.)

      3. Click Yes on the window that pops up.

        How to Permanently and Securely Delete Files on Windows 10 (3)

      This is how you can delete files in Windows without using the Recycle Bin. With keyboard shortcuts, you don’t need to bother with emptying the Recycle Bin to get rid of files — they’re already gone.

      In some cases, files you think are permanently deleted are actually still recoverable. That’s because Windows doesn’t turn the space on the disk that was holding the file back into a blank slate. Instead that disk space is marked as ready to be overwritten. It might be overwritten by something you do immediately after, or that disk space might hang around for much longer.

      Make sure that data doesn’t linger with a tool like Avast Data Shredder. Data shredder tools are especially good for wiping temporary files, where things like credit card numbers might get stored, and making sure deleted files can’t ever be recovered.

      If you’re looking to free up more disk space on your computer, or if you find your machine suffering from 100% disk usage, check out our dedicated guides.

      Use the File Explorer Ribbon to delete files

      You can delete files in Windows by using the File Explorer, which is the folder that holds all your files. Find the file you want to get rid of, then use the Windows File Explorer Ribbon to delete it. Here’s how:

      1. Click the folder icon in the taskbar at the bottom of your screen or press the Windows Key + E to open Windows File Explorer.

        How to Permanently and Securely Delete Files on Windows 10 (4)
      2. Navigate to your file and click it to highlight it.

        How to Permanently and Securely Delete Files on Windows 10 (5)
      3. Click Delete in the File Explorer Ribbon at the top of the window, or click the arrow underneath the Delete option and select Permanently delete. Clicking Delete sends the file to the Recycle Bin, while selecting the Permanently delete option deletes the file for good.

        How to Permanently and Securely Delete Files on Windows 10 (6)

      Use Powershell to delete files

      More advanced users can use Powershell or the Windows Command Prompt to permanently delete files. Here’s how to use Powershell to delete files:

      1. Type “powershell” in the Start Menu at the bottom of your screen.

      2. Press Enter if Windows PowerShell is highlighted, or click the option for Windows PowerShell.

        How to Permanently and Securely Delete Files on Windows 10 (7)
      3. Type Remove-Item -path c:\[Filename] -recurse and press Enter. This will delete everything in the folder, including any files and folders inside that folder.

        How to Permanently and Securely Delete Files on Windows 10 (8)

      Use software tools to delete files

      Some software tools will delete files past the point of recoverability. Here are a few apps you can use to permanently delete files or wipe a folder clean:


      File shredding software uses random data to write over the space on your disk where the file used to be stored. Then, if anybody tries to restore files or data from that space, they’ll find only random data.

      Despite the many wiping options, only one overwriting pass is necessary. But if you’re feeling extra cautious, file shredding programs can overwrite files with random data many times. Using data shredder tools is the most secure way to delete data, because recovery is essentially impossible afterwards.

      If you want to shred files or otherwise clear out space on your computer, a PC optimization app is a great tool to get the job done automatically.

      Use the right-click menu to delete files

      Another way to delete a file is to right-click it, on your desktop if it’s stored there or in your File Explorer. Here’s how to delete a file by right-clicking it:

      1. Go to the folder where the file is stored.

        How to Permanently and Securely Delete Files on Windows 10 (9)
      2. Right-click the file and select Delete.

        How to Permanently and Securely Delete Files on Windows 10 (10)

      Deleting files by right-clicking them sends them directly to the Recycle Bin. To permanently delete all the files in your Recycling Bin, minimize all your open windows, right-click the Recycle Bin on your desktop, and select Empty Recycle Bin.

      What happens when you delete a file?

      Emptying your PC’s trash bin isn’t enough to securely erase the data in those files. Anyone with access to your hard drive can still easily recover files or other data in your Recycling Bin. Whenever you sell, lend, or hand your computer to someone to repair it, clean that PC thoroughly.

      If you have an Apple computer, check out our article on how to permanently delete files on a Mac. And find out how to clean your Mac with some of the best Mac cleaning software around.

      To understand why anyone with access to your hard drive can recover the data in your deleted files, let’s look at what happens inside each type of drive when you delete a file.

      Hard Drive

      When you delete a file on a hard disk drive (HDD), Windows sections off the space that the file took up and marks it as overwritable. But before that space is overwritten, the data still lingers there. Those files can hang around for a very long time after deletion, even if you’ve defragged your PC.

      And if you’re concerned with data security and privacy, make sure to get one of the best security apps along with strong PC cleaning software for your PC.

      SSD

      Solid-state drives use a much different file storage system than HDDs. Since the technology supports only so many writes, SSDs spread data out across the drive, constantly consolidating to make the best use of space.

      On SSDs, data gets moved around all the time, increasing the chances that parts of a file will survive. Recent SSDs come with a feature called TRIM that overwrites deleted data, so less data remains after a deletion.

      Another option on SSDs is to use Secure Erase, which, as the name suggests, securely removes all data. A new feature of Secure Erase takes advantage of SSDs with encryption. The decryption key gets deleted instead of the data, saving the drive some write cycles and preserving its lifespan.

      Learn more about the difference between SSDs and HDDs here.

      Fix your Windows PC issues with Avast Cleanup

      While wiping leftover data from your drive is useful, it won’t have any effect on your computer’s performance. To fully optimize your computer, you need a tool for cleaning up junk, bloatware, and unused programs.

      Avast Cleanup performs regular, automatic maintenance to help fine-tune and increase the speed of your PC. This includes deleting temporary browser and cache files, updating your programs, defragging your hard drive, and much more. It’s the perfect tune-up tool to keep your computer running just as smoothly as the day you got it.

      DOWNLOAD AVAST CLEANUPFree Trial

      Get it for PC, Android

      DOWNLOAD AVAST CLEANUPFree Trial

      Get it for Android, Mac

      Get it for PC, Mac

      DOWNLOAD AVAST CLEANUPFree Trial

      Get it for PC, Android

      How to Permanently and Securely Delete Files on Windows 10 (2024)

      FAQs

      How to Permanently and Securely Delete Files on Windows 10? ›

      How to permanently delete files from Windows 10. To permanently delete files on Windows, send them to the Recycle Bin and then empty the Recycle Bin to delete them for good. Once the bin is empty, you can't recover the files unless you have data or file recovery software.

      How to permanently and securely delete files on Windows 10? ›

      How to securely delete files in Windows 10. If you're a Windows 10 user, you can securely delete files using third-party apps like Eraser, file shredder, or Freeraser. Using either of these methods, you can securely delete individual files and folders depending on your preference.

      How do you permanently delete files so they Cannot be recovered in Windows 10? ›

      Press the Windows key + R together to open the Run command window. Type powershell and press Enter. Type in Remove-item [file path] -recurse, replacing [file path] with the actual path of the file or folder you wish to permanently delete. Then hit Enter.

      How do I permanently delete deleted files from my computer? ›

      To delete file(s) without moving to the Recycle Bin first, select the folder or files and press SHIFT+Delete (at the same time) on your keyboard. Windows 10 asks for confirmation before it removes the files – when you are asked “Are you sure you want to permanently delete this file(s)?”, press Yes.

      What is the most secure way to delete files? ›

      The safest way to permanently delete files from your hard drive is through a process called “zero fill.” When you zero fill a storage device, you're overwriting your entire drive contents with zeroes so that data on that drive can no longer be recovered by others.

      How do you permanently delete files? ›

      Put a file in trash

      If you're the owner of the file, others can access it until you permanently delete the file. If you're not the owner, others can access the file even if you empty your trash. On your Android phone or tablet, open the Google Drive app. Remove.

      Can files be recovered after permanently deleted? ›

      Yes, files can be recovered after being deleted. The level of difficulty depends on how long ago the file was deleted, however, and you may need to use specialized tools if trying to recover data that has been corrupted.

      How to recover permanently deleted files in Windows 10 without software for free? ›

      To Recover Deleted Files on Windows 10 for free:
      1. Open the Start menu.
      2. Type “restore files” and hit Enter on your keyboard.
      3. Look for the folder where you deleted files were stored.
      4. Select the “Restore” button in the middle to undelete Windows 10 files to their original location.
      Jan 2, 2023

      How to permanently delete photos so that it cannot be recovered? ›

      When you empty your trash, you permanently delete any photos and videos in your trash, and they can't be restored.
      1. On your Android phone or tablet, open the Google Photos app .
      2. Sign in to your Google Account.
      3. At the bottom, tap Library Trash More Empty Trash. Delete permanently.

      How do I delete deleted files traces? ›

      Wipe free space & data remanence

      An alternative way is to first 'delete' files normally – moving the files to your recycle bin and then emptying it – and then use a data wiping tool to wipe the free space and data remanence. Pros: This is a good solution for those who still 'delete' files by normal means.

      How to permanently delete files on PC so that it cannot be recovered? ›

      Step 1 Right-click on the Recycle Bin from your desktop. Step 2 Click on 'Properties' and then choose the drive for which you want to delete the data permanently. Step 3 After selecting the drive, mark the option called 'Don't move files to the Recycle Bin. Remove files immediately when deleted'.

      Do files ever get deleted from computers if so where do they go? ›

      The way Windows works is that when it deletes a file it only deletes the directory entries to the file. The actual data is still there. Windows just does not know it is there.

      What files should not be deleted? ›

      There are seven windows files and folders you should avoid deleting to prevent any miserable data loss in your Windows computer.
      1. Program files folder. ...
      2. WinSxS folder. ...
      3. System32 folder. ...
      4. Windows folder. ...
      5. System volume information folder. ...
      6. Swapfile. ...
      7. Pagefile.
      Nov 2, 2019

      Does Windows 10 have a secure delete? ›

      On Windows 11, after right-clicking a file, click on Show more options to open the menu and see the Secure Delete option in it. If you're on Windows 10, the Secure Delete option will be visible in the context menu when you right-click a file.

      What is the difference between deleting a file and securely deleting a file? ›

      Deleting Versus Secure Deleting

      The actual file remains on the hard drive, where it can be retrieved with common software tools. A secure delete application or process prevents the recovery of deleted files by overwriting the file data with meaningless data.

      Can permanently deleted files be recovered? ›

      Can files be recovered once deleted? Yes, files can be recovered after being deleted. The level of difficulty depends on how long ago the file was deleted, however, and you may need to use specialized tools if trying to recover data that has been corrupted.

      What is the difference between normal file deletion and secure file deletion? ›

      Deleting Versus Secure Deleting

      The actual file remains on the hard drive, where it can be retrieved with common software tools. A secure delete application or process prevents the recovery of deleted files by overwriting the file data with meaningless data.

      Top Articles
      Latest Posts
      Article information

      Author: Prof. Nancy Dach

      Last Updated:

      Views: 6073

      Rating: 4.7 / 5 (77 voted)

      Reviews: 92% of readers found this page helpful

      Author information

      Name: Prof. Nancy Dach

      Birthday: 1993-08-23

      Address: 569 Waelchi Ports, South Blainebury, LA 11589

      Phone: +9958996486049

      Job: Sales Manager

      Hobby: Web surfing, Scuba diving, Mountaineering, Writing, Sailing, Dance, Blacksmithing

      Introduction: My name is Prof. Nancy Dach, I am a lively, joyous, courageous, lovely, tender, charming, open person who loves writing and wants to share my knowledge and understanding with you.