1. Home
  2. Microsoft
  3. Windows
  4. How to Fix Windows ERROR_224: Step-by-Step Troubleshooting Guide

How to Fix Windows ERROR_224: Step-by-Step Troubleshooting Guide


If you’ve encountered Windows ERROR_224, you’re not alone. This error, which commonly appears during system operations or software installations, can be frustrating, especially if you’re not sure what’s causing it or how to resolve it. But don’t worry — with a little patience and the right approach, you can fix it quickly and get your system running smoothly again.

In this comprehensive, step-by-step guide, we’ll walk you through everything you need to know about troubleshooting and fixing Windows ERROR_224. Let’s dive in!


What Is Windows ERROR_224?

Before we fix the problem, it’s helpful to understand what ERROR_224 means.

Windows errors are identified by unique codes. In this case, ERROR_224 corresponds to:

  • ERROR_224: “The requested operation cannot be performed on a file with a user-mapped section open.”

Simply put, this error usually happens when a file you are trying to modify, move, or delete is currently being used or mapped by some application or process.


Why Does ERROR_224 Occur?

Common reasons include:

  • Another program is using or has mapped the file into its memory.
  • Antivirus or other background software is locking the file.
  • Insufficient permissions caused by system protection or user restrictions.
  • Corrupted file system or interference from third-party apps.


Step-by-Step Guide to Fix Windows ERROR_224

Step 1: Close All Applications and Retry

Since the error indicates a file is in use, the first and easiest step is simply closing any open programs, especially those that might be using the file in question. This includes any background apps like:

  • Microsoft Office (if the file is a document)
  • File syncing apps (OneDrive, Dropbox)
  • Editors or development tools

How to check programs preventing the file:

  • Press Ctrl + Shift + Esc to open Task Manager.
  • Look for suspicious or related running apps.
  • Right click → End Task on each.

Retry your operation.


Step 2: Use Resource Monitor to Identify the Locking Process

If closing apps doesn’t work, you can identify which process is locking the file by using Resource Monitor.

  1. Press Win + R, type resmon, and hit Enter.
  2. Go to the CPU tab.
  3. Expand Associated Handles.
  4. In the search box, type the name or path of the file that’s causing ERROR_224.
  5. The list will display the process(es) locking the file.
  6. Right-click the process and choose End Process (be cautious, ensure it’s safe to end).

Try your operation again.


Step 3: Restart Your Computer

Sometimes the simplest fix is a reboot. Restarting Windows will close all processes and release file locks, which might fix the problem quickly if a hung process is causing the error.

Make sure to save your work before restarting.


Step 4: Disable Your Antivirus Temporarily

Antivirus applications often lock files to scan them, potentially triggering ERROR_224.

  • Temporarily disable real-time protection on your antivirus.
  • Then, try performing the operation again.

Note: Only disable antivirus temporarily and make sure to turn it back on after troubleshooting to stay protected.


Step 5: Run CHKDSK and System File Checker

Corrupted system files or disk issues can cause unexpected errors.

Run CHKDSK:

  1. Open Command Prompt as Administrator:

    • Press Win, type cmd, right click Command Prompt, choose Run as administrator.
  2. Type:

    chkdsk C: /f /r

    Replace C: with your system drive letter if different.

  3. You may be prompted to schedule the scan on the next restart. Type Y and press Enter.
  4. Restart your computer to let CHKDSK scan and repair disk errors.

Run System File Checker:

  1. Open Command Prompt as Administrator (as above).
  2. Type:

    sfc /scannow

  3. Wait for the process to complete and follow any recommendations.


Step 6: Check Permissions and Take Ownership

If the file or folder permissions are restricted, Windows may block your operation.

  1. Right-click the file/folder → PropertiesSecurity tab.
  2. Click Advanced.
  3. Check the Owner at the top. If it’s not you, click Change and type your username.
  4. After taking ownership, go back and give Full Control permissions to your user.
  5. Apply and try again.


Step 7: Boot into Safe Mode and Try Again

Safe Mode loads Windows with minimal drivers and services, which often prevents unwanted locks on files.

To boot into Safe Mode:

  • Press Win + R, type msconfig → Enter.
  • Go to the Boot tab.
  • Check Safe boot, select Minimal, click OK and restart.

Try your operation in Safe Mode. After finishing, repeat the steps and uncheck Safe boot to return to normal mode.


Step 8: Use Third-Party Tools to Unlock Files

If the above steps feel technical or haven’t worked, several third-party utilities can help unlock files without needing deep system knowledge:

  • LockHunter
  • Unlocker
  • Process Explorer (from Microsoft Sysinternals)

These programs can show which processes are locking a file and help forcibly close those locks.


Final Thoughts

Facing Windows ERROR_224 can feel like a roadblock, but it’s typically due to something holding onto files that Windows needs to change. By patiently following these steps, you’ll identify and resolve the file lock issue quickly.

Remember: Always back up important data before making significant system changes, and take your time going through the troubleshooting steps. If you’re ever unsure, ask for help in Windows forums or from a tech-savvy friend.


Did this guide help you fix ERROR_224?

Feel free to comment below with your experience or if you’d like me to cover other Windows troubleshooting tips!


Keywords:

Windows ERROR_224 fix, Windows error 224 troubleshooting, file in use error Windows, fix file locking error Windows, step-by-step Windows error guide


Thank you for reading! Stay patient, and your PC will be back to normal in no time.

Updated on June 21, 2025
Was this article helpful?

Related Articles

Leave a Comment