• Around The HomeToggle Menu

    • Entertainment
    • Productivity
    • Smart Home
  • FamilyToggle Menu

    • Parenting
    • Toys
    • Pets
    • Travel
  • Product ReviewsToggle Menu

    • Phones
    • Tablets
    • Laptops
    • Desktops
    • Wearables
    • Audio
    • Cameras
    • Headphones
    • Printers
    • Smart Home
    • TVs
    • Gaming and Video
  • One Cool ThingToggle Menu

    • Frugal Tech
    • Kickstarters
    • Videos
Techwalla
  1. Home
  2. Around The Home
  3. Productivity
  4. How to Force Windows to Delete a File

How to Force Windows to Delete a File

March 31, 2015
By: AllenBethea
  • Share
  • Share on Facebook

Although there are usually several ways you can delete a file on your Windows system, you'll run into problems if the file is locked. Windows locks or restricts access to a file in order to prevent more than one user or application from deleting or altering it. Also, after you close down an application or it crashes, software bugs may prevent it from releasing files in a timely manner. No matter why a file is locked, however, there are multiple methods you can use to force Windows to delete a locked file.

Video of the Day

Young female doctor using laptop at desk in clinic
Federal laws may require doctors to protect patients' privacy by securely deleting their files.
credit: moodboard/moodboard/Getty Images

Close the Application Using the File

Step

Examine the file extension to determine which application it may belong to. For example, a file with a .docx file extension is probably being kept open by Microsoft Word.

Step

If you can't determine the application from its file extension, right-click it, click "Open with," and then see what application options Windows gives. For instance, a file with a .html extension may be opened by Notepad, WordPad or an HTML editor like Dreamweaver.

Step

Close the application that is currently using the file and then try again to delete it. If the file is no longer in use, you can delete it.

FileASSASSIN File Unlocker

Step

Download FileASSASSIN directly from the Malawarebytes website (see Resources). Double-click the downloaded file to install FileASSASSIN and then run it.

Step

Click the ellipses button to launch the file manager. Navigate to the folder containing the file you want to delete.

Step

Select the locked file and then click "Open."

Step

Check the "Unlock locked file handles," "Unload modules," "Terminate the file's process" and "Delete file" check boxes. With these options selected, FileASSASSIN is free to shut down any program, dynamic library or system process that is preventing your file from being deleted.

Step

Click "Execute" to delete the file. Once the file is deleted, FileASSASSIN will display the message "The file was deleted successfully!"

Using IObit Unlocker

Step

Download and install Unlocker directly from the IObit Website (see Resources). Launch Unlocker and then click "Yes" to give the program permission to make changes to your system.

Step

Launch Windows File Explorer and then locate the file you want to delete.

Step

Drag the file to the text box in IObit and then click "Add."

Step

Click the downward-facing arrow next to the Unlock button, select "Unlock & Delete" and then click "OK" to delete your file.

Unlock With LockHunter

Step

Download LockHunter directly from the LockHunter Website (see Resources). Install and launch the program.

Step

Click the ellipses icon to launch the file manager, click "Browse for a file" and then navigate to the folder containing the file you want to delete.

Step

Select the locked file and then click "Open."

Step

Click "Unlock It" and then "Delete It" to remove the file.

Show Comments

Related Articles

How to Raise a Dell Monitor

How to Raise a Dell Monitor

Around The Home
Productivity
By: JaneEllis
10 Ways Computers Are Used in Medicine

10 Ways Computers Are Used in Medicine

Around The Home
Productivity
By: Gabriel Dockery
Choose a Password Manager to Protect Your Security

Choose a Password Manager to Protect Your Security

Around The Home
Productivity
By: Jackie Dove
How to Remove Write Protection on a Kingston Micro SD Card

How to Remove Write Protection on a Kingston Micro SD Card

Around The Home
Productivity
By: Jason Gordon
What Causes the Slide Unlock Not to Work on an iPhone?

What Causes the Slide Unlock Not to Work on an iPhone?

Around The Home
Entertainment
By: Carol Finch
Canes to Gloves: 8 Smart Devices For When We Need Extra Help

Canes to Gloves: 8 Smart Devices For When We Need Extra Help

Around The Home
Smart Home
By: David Isaac
  • HOW WE SCORE
  • ABOUT US
  • CONTACT US
  • TERMS
  • PRIVACY POLICY
  • COPYRIGHT POLICY
  • Advertise

An error occurred. Try again later.

Thanks for signing up!
© 2018 Leaf Group Ltd. Leaf Group Media

Get great tech advice delivered to your inbox.

Keep your family productive, connected, entertained, and safe.

Please enter a valid email.