Search
  • For Individuals
      « Back
    • Windows Data Recovery

      Recovers lost or deleted Office documents, emails, presentations & multimedia files.

      Free Standard Professional Premium

    • Mac Data Recovery

      Recovers deleted files, photos, videos etc. on Mac.

      Free Standard Professional Premium

    • Photo Recovery

      Recover photos, videos, & audio files from all cameras and storage on Windows or Mac.

      Free Standard Professional Premium

    • Video Repair
    • Photo Repair
    • iPhone Data Recovery
  • For Business
      « Back
    • Email Repair & Converter

      Repair for Exchange Converter for EDB Converter for OST Converter for NSF Converter for OST MBOX Repair for Outlook

    • Database & File Repair

      Repair for MS SQL Repair for Access Repair for QuickBooks Software Repair for Excel Extractor for Windows Backup Repair for MySQL

    • Data Recovery & Erasure

      Data Recovery Professional Data Recovery Technician Mac Recovery for Technician Virtual Machine Recovery File Erasure Software Mobile Erasure Drive Erasure File Eraser Software File Eraser Software for Mac

    • Toolkit

      Exchange Toolkit Outlook Toolkit File Repair Toolkit MS SQL Toolkit Data Recovery Toolkit

    • Forensic

      Email Forensic Exchange Auditor Log Analyzer for MySQL Log Analyzer for MS SQL

  • Store
  • Partners
  • Services
  • Offers
  • Support

 

  • For Individuals
    DIY software for anyone who works with data.

    Windows Data Recovery Recovers lost or deleted Office documents, emails, presentations & multimedia files

    Free Standard Professional Premium

    Mac Data Recovery Especially for Mac users to recover deleted documents and multimedia files from macOS

    Free Standard Professional Premium

    Video Repair Windows Mac Repair multiple corrupt videos in one go. Supports MP4, MOV & other formats.

    StandardPremium

    Photo Recovery Windows Mac Recover photos, videos, & audio files from all cameras and storage on Windows or Mac.

    Standard Professional Premium

    iPhone Data Recovery Windows Mac Recover deleted photos, videos, contacts, messages etc. directly from iPhone & iPad

    Recover Erase Toolkit

    Photo Repair Windows Mac Repair multiple corrupt photos in one go. Supports JPEG & other formats.

    Standard Professional Premium


  • For Business
    • Email Repair
    • Email Converter
    • File Repair
    • Data Recovery & Erasure
    • Toolkit
    • Forensic

    Exchange Repair Repair corrupt EDB file & export mailboxes to Live Exchange or Office 365

    Outlook PST Repair Repair corrupt PST & recover all mailbox items including deleted emails & contacts

    OLM Repair Repair Outlook for Mac (OLM) 2011 & 2016 backup files & recover all mailbox items

    Exchange Toolkit Repair EDB & Exchange backup file to restore mailboxes, convert OST to PST, & convert EDB to PST

    Active Directory Repair Repair corrupt Active Directory database (Ntds.dit file) & extract all objects in original form

    EDB to PST Convert online & offline EDB file & extract all mailbox items including Public Folders in PST

    OST to PST Convert inaccessible OST file & extract all mailbox items including deleted emails in PST

    NSF to PST Convert IBM Notes NSF file & export all mailbox items including emails & attachments to PST

    MBOX to PST Convert MBOX file of Thunderbird, Entourage & other clients, & export mailbox data to PST

    OLM to PST Convert Outlook for Mac Data File (OLM) & export all mailbox data to PST in original form

    GroupWise to PST Convert GroupWise mail & export all mailbox items - emails, attachments, etc. - to PST

    EML to PST Convert Windows Live Mail (EML) file & export mailbox data - emails, attachments, etc. - to PST

    Office 365 to PST Connect to Office 365 account & export mailbox data to PST and various other formats

    DBX to PST Convert Outlook Express (DBX) file & export all mailbox data - emails, attachments, etc. - to PST

    SQL Repair Repair corrupt .mdf & .ndf files and recover all database components in original form

    Access Repair Repair corrupt .ACCDB and .MDB files & recover all records & objects in a new database

    QuickBooks Repair Repair corrupt QuickBooks® data file & recover all file components in original form

    MySQL Repair Repair MyISAM & InnoDB tables and recover all objects - keys, views, tables, triggers, etc.

    Excel Repair Repair corrupt Excel (.XLS & .XLSX) files and recover tables, charts, chart sheet, etc.

    BKF Repair Repair corrupt backup (BKF, ZIP, VHDX and .FD) files and restore complete data

    Database Converter Interconvert MS SQL, MySQL, SQLite, and SQL Anywhere database files

    PowerPoint Repair Repair corrupt PPT files and restore tables, header, footer, & charts, etc. like new

    File Repair Toolkit Repair corrupt Excel, PowerPoint, Word & PDF files & restore data to original form

    Data Recovery Windows Mac Recover lost or deleted data from HDD, SSD, external USB drive, RAID & more.

    Technician Toolkit

    Tape Data Recovery Retrives data from all types and capacities of tape drives including LTO 1, LTO 2, LTO 3, & others.

    Virtual Machine Recovery Recover documents, multimedia files, and database files from any virtual machine

    File Erasure Permanently wipe files and folders, and erase traces of apps and Internet activity.

    Standard Corporate

    Mobile Erasure Certified and permanent data erasure software for iPhones, iPads, & Android devices

    Drive Erasure Certified and permanent data erasure software for HDD, SSD, & other storage media Windows Mac

    Exchange Toolkit 5-in-1 software toolkit to recover Exchange database, convert EDB to PST, convert OST to PST, restore Exchange backup, and reset Windows Server password.

    Outlook Toolkit Comprehensive software suite to repair PST files, merge PST files, eliminate duplicate emails, compact PST files, and recover lost or forgotten Outlook passwords.

    File Repair Toolkit Powerful file repair utility to fix corrupt Word, PowerPoint, and Excel documents created in Microsoft Office. It also repairs corrupt PDF files and recovers all objects.

    MS SQL Toolkit 5-in-1 software toolkit to repair corrupt SQL database, restore database from corrupt backup, reset database password, analyze SQL logs, & interconvert databases.

    Data Recovery Toolkit Software helps to recovers deleted data from Windows, Mac and Linux storage devices. Also supports recovery from RAIDs & Virtual Drives.

    Email Forensic Advanced email forensic solution for cyber experts to audit, analyze, or investigate emails & gather evidences.

    Exchange Auditor Exchange Server monitoring solution to automate audits, scans and generate reports ìn real-time.

    Log Analyzer for MySQL Analyze forensic details of MySQL server database log files such as Redo, General Query, and Binary Log.

    Log Analyzer for MS SQL Track & analyze MS SQL Server database transactions log files.

    STELLAR EMAIL FORENSIC

    Advanced email forensic tool to analyze and collect the mailbox data of email clients

    Learn More arrow


    All Products

    All Products

    All Products

    All Products

  • Our Partners
  • Lab Services
  • Trending Searches

    Data Recovery

    Photo Recovery

    Video Repair

    iPhone Data Recovery

    File Erasure Software

    Exchange Repair

    OST to PST

    PST Repair

    Raid Recovery

    MS SQL Repair

  • English Deutsch Français Nederlands Italiano Español 日本語 简体中文
  • Support
BitRaser 3 minute read

How to Delete Undeletable Files in Windows?

Updated on September 22nd, 2020
Satyeshu Kumar
Written By
Satyeshu Kumar
Rohit Arora
Approved By
Rohit Arora

It’s important to keep your system clean from junk or irrelevant files occupying unnecessary space on the drive. Despite having admin privileges in Windows, users sometimes face this issue where they are not able to delete some files or folders.

This can be caused by a virus, malware, spyware, adware, Trojan horse, or corrupt/damaged system files and permissions that locks the files, thereby making them undeletable.

In few cases, the file can’t be removed or deleted as it is being used by another application or essential program. Some frequent errors that appear in Windows when trying to delete undeletable or locked files are:

  1. The file is in use by another program
  2. There has been sharing violation
  3. Cannot delete file: Access is denied
  4. The source or file destination is in use
  5. The file or directory is corrupted or unreadable.

This could be frustrating when you are struggling to free up some space and a few troublesome files stop you from proceeding. These files can vary from a few bytes to sometimes gigabytes.

How to Delete Undeletable Files

If you have also come across a similar situation, you can forcibly delete and get rid of these undeletable files and folders either manually or by using a software.

  1. Reboot the System

First, try a reboot. It’s possible that the file or folder location might be in use by a software or essential Windows programs in the background. When you shut down the system, these processes stop. After reboot, open File Explorer and browse the file or folder location. Try deleting it. If this doesn’t work, boot into ‘Safe Mode’ in Windows by following these steps:

In Windows XP & 7

  • Shutdown your system and then press power button to turn it on.
  • Immediately start pressing ‘F8’ key on the keyboard until you see the ‘Advanced Boot Options’ screen.
  • From ‘Advanced Boot options’ select Safe Mode by using arrow key and hit ‘Enter’.

In Windows 10, 8.1, and 8

  • Go to Settings > Update & Security > Recovery and click the ‘Get Started’ button under Advance Startup.
  • From the available options, go for Troubleshoot > Advanced options > Startup Settings > Restart.
  • After the restart, press 4 or F4 to boot the system into Safe Mode.

When you have successfully booted in Safe Mode, open the File Explorer and try deleting the files or folders or proceed to the next solution if this doesn’t work.

  1. Using Command Prompt

Command Prompt or cmd can help you get rid of most troublesome files and folders from your Windows PC. Follow these instructions to permanently delete undeletable files and folders.

WARNING: Be very careful with these commands. Confirm the location of the file or folder at least two to three times before executing these commands. You may accidentally delete some important files.

  • Press ‘Windows+S’ and type cmd.
  • Right-click on ‘Command Prompt’ and select ‘Run as administrator’. A cmd window appears.
  • To delete a single file, type: del /F /Q /A C:\Users\Downloads\BitRaserForFile.exe
  • If you want to delete a directory (folder), use RMDIR or RD command. Type: rd /S /Q C:\Users\Downloads
  • Hit the ‘Enter’ button after typing the command in the cmd window.
/F Force deleting of read-only files.
/S Delete specified files from all subdirectories.
/Q Quiet mode, do not ask if ok to delete on global wildcard
/A Selects files to delete based on attributes

Followed by the location of file or folder

  1. Using a Software

If command prompt fails to delete undeletable files and folders, you can use a reliable tool like BitRaser File Eraser that can delete undeletable and locked (or infected) files and folders from your PC and helps you free up unnecessarily used space on your system. Follow these steps:

  • Download and install BitRaser for File software.
  • Run the software.
  • In the left-pane, click on ‘Erase Now’. In the right-panel, all drives and partitions are displayed.
  • Double-click (or click on ‘+’) on the drive to expand it. Keep expanding until you locate the undeletable or locked file or the folder that you want to get rid of.
  • Click the file or folder checkbox to select it. You can select multiple files and folders/subfolders.
  • Click the ‘Erase Now’ button at the bottom right corner. Confirm when prompted.
  • After cleaning selected files and folders, a popup appears where the BitRaser for File asks you to reboot the system. Click ‘Reboot’ to restart the system.

The selected undeletable files and folders are permanently removed from the system after reboot.

Moreover, this tool can also help you to clean up your internet activities, system traces, application traces, and other files and folders permanently beyond the scope of recovery and helps safeguard your privacy.

It erases data securely using 17 International erasure standards like NATO, U.S. Department of Defense (DOD Standard 5220.22-M) 3 Pass/7 Pass, etc.

Conclusion:

Remove or delete your files cautiously and securely or else you may regret deleting some important files or folders accidentally. Use a reliable and trusted antivirus and anti-malware program to protect your system and files from infection.

It will also help you avoid data loss situations due to virus or malware attacks like Ransomware. Also, run schedule cleanup tasks to remove unnecessary files and folders from your system.

You can use BitRaser File Eraser to delete undeletable files and folder and to schedule or automate erasure process (once, daily, weekly, monthly, on first boot, or on every boot).

About The Author

Satyeshu Kumar

Satyeshu is a Windows blogger and data recovery expert. He is having good technical knowledge and experience in Windows data recovery. He writes about latest technical tips, Windows issues and tutorials.

Best Selling Products

Stellar Data Recovery Professional for Windows

Stellar Data Recovery has the right Windows Recovery tool for all your data recovery

Read More

Stellar Data Recovery Professional for Mac

Stellar Data Recovery for Mac program performs safe..

 

Read More

Stellar Photo Recovery

A comprehensive photo recovery software to restore photos, music & video files

 

Read More

Stellar Repair for Video

Powerful video repair tool for repairing corrupt or damaged MOV and other video files

 

Read More

4 comments

  1. Todd Washington says:
    November 14, 2018 at 10:41 am

    I want to know can BitRaser for file support NIST- clear algorithm?

    Reply
    1. Satyeshu Kumar says:
      November 15, 2018 at 4:32 am

      Hello Todd,

      Unfortunately, the software does not support this algorithm, you need to upgrade to another variant to avail this algorithm

      Reply
  2. Tara Bush says:
    June 6, 2018 at 3:07 am

    As per my believe using third-party file eraser software is the best approach with maximum assurance that no data is recovered back. I would definitely want to try BitRaser tool in future.

    Reply
    1. Satyeshu Kumar says:
      July 25, 2018 at 6:48 am

      Thanks for using the tool in future.

      Reply

Leave a comment Cancel reply

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

1  +  4  =  

Table of Contents    

Categories

Related Posts

BitRaser

Learn: Why to Wipe Your HDD Clean Before Selling

Stellar Author Aruna Attri July 2, 2019 Read More
BitRaser

Data Erasure – a silver bullet to bring down e-waste

Stellar Author Satyeshu Kumar June 5, 2019 Read More
Data Privacy Risks with Used Media
BitRaser

Data Privacy Risks with Used Media

Stellar Author Aruna Attri April 10, 2019 Read More

Stellar Official Website

Stellar Data Recovery Inc.
48 Bridge Street Metuchen,
New Jersey 08840,
United States

ALSO AVAILABLE AT

About

  • About us
  • Career
  • ISMS Policy
  • Privacy Policy
  • Terms of Use
  • License Policy
  • Refund Policy
  • End User License Agreement

RESOURCES

  • Blog
  • Articles
  • Product Videos
  • Knowledge Base
  • Case Studies
  • Whitepapers
  • Software Catalog

NEWS & EVENTS

  • News
  • Events

PARTNERS

  • Affiliates
  • Resellers
  • Distributors

Useful Links

  • Contact Us
  • Support
  • Special Offers
  • Student Discounts
  • Awards & Reviews
  • Downloads
  • Store
  • Sitemap
Follow Us

Stellar & Stellar Data Recovery are Registered Trademarks of Stellar Information Technology Pvt. Ltd. © Copyright 2022 Stellar Information Technology Pvt. Ltd. All Trademarks Acknowledged.

DMCA.com Protection Status
We use cookies on this website. By using this site, you agree that we may store and access cookies on your device Read More Got it!