How to Recover Files from a System Stuck in the «INVALID_DATA_ACCESS_TRAP» (0x00000004) Loop

Does your Windows-operated laptop or desktop computer show a blue screen? Does it restart after flashing the message «INVALID_DATA_ACCESS_TRAP» (0x00000004)? Looking for a way to fix 0x00000004: "INVALID_DATA_ACCESS_TRAP"?

How to Recover Files from a System Stuck in the «INVALID_DATA_ACCESS_TRAP» (0x00000004) Loop

How to Fix "INVALID_DATA_ACCESS_TRAP" (0x00000004) Error

Causes of The Error

  • There is not enough free space in the hard disk of your computer/laptop. For Windows 10 to operate correctly you need to have from 2 to 10 Gb of free space in your system disk.

  • An incompatible version of BIOS was installed or the firmware was damaged.

  • Device drivers incompatible with the OS were installed.

  • Windows registry was damaged or deleted, or cleaning operations accidentally deleted system keys.

  • Antivirus software or viruses may block system files or delete important registry keys.

  • An error occurred in the work of backup software.

  • It can also happen as a result of a Windows update.

Read more how to fix 0x00000004: "INVALID_DATA_ACCESS_TRAP" in Windows 11, Windows 10, Windows 8.1, Windows Server 2012, Windows 8, Windows Home Server 2011, Windows 7 (Seven), Windows Small Business Server, Windows Server 2008, Windows Home Server, Windows Vista, Windows XP, Windows 2000, Windows NT.

Here are some ways of eliminating the problem with "INVALID_DATA_ACCESS_TRAP":

Restore Deleted Files

Often BSoD errors cause loss of important files. Files blocked by computer viruses, backup software errors, damaged or overwritten system files, file system errors or bad hard disk sectors – these are only some of the causes that can make your data lost.

Corrections of the corresponding errors will restore the normal operation of your devices, but it does not always restore damaged or lost files. Also, it is not always possible to eliminate an error without formatting the hard disk or clean installation of the operating system, which can also involve loss of files.

Partition Recovery™ 4.9
The tool recovers data from any devices, regardless of the cause of data loss.
Download

Download for free and scan your device with the help of Hetman Partition Recovery. Learn about the program features and step-by-step guide.

Hetman Partition Recovery

Start The Computer in Safe Mode

If the error "INVALID_DATA_ACCESS_TRAP" (0x00000004) occurs when loading Windows and blocks any attempts to work with the system, try loading the computer in Safe Mode. This mode is meant for operating system (OS) diagnostics, but OS functions are very limited in this mode. Safe Mode should only be used if the system is blocked otherwise.

Start The Computer in Safe Mode

In order to start Safe Mode you should do the following:

  1. Go to Start menu and choose Settings.

  2. In the settings window that appears go to Update & Security menu and choose the Recovery tab.

  3. In the tab Recovery find Advanced startup and click the button Restart now.

  4. As your Windows restarts, it will ask you to choose the next step. Choose Troubleshoot.

  5. In the Troubleshoot menu click on Advanced Options and then on Startup Settings.

  6. Then Windows will inform you that the computer can be restarted with the use of additional settings one of which is Enable Safe Mode. Press Restart.

  7. After restarting choose Enable Safe Mode by pressing F4.

Go to view
How to Boot Windows 10 in Safe Mode (All Methods)

How to Boot Windows 10 in Safe Mode (All Methods)

Update a Driver With The Device Manager

Have you installed new hardware to your computer? Are you using a new USB device? These can be the causes for the error "INVALID_DATA_ACCESS_TRAP". If you installed your device driver from the disk you have found in the device delivery package or if you are using a driver which was downloaded from a place other than Microsoft official website, this can be the core of the problem. You will have to update the device driver to fix it.

Update a Driver With The Device Manager

You can do it manually in the Windows device manager by taking the following steps:

  1. Press Windows button and type device manager on the keyboard.

  2. Choose Device Manager from the list.

  3. View the list of device categories and click on the arrow nest to the category in which your new device falls. The driver can be marked with a yellow triangle.

  4. Right-click on the device name and press Update Driver Software.

  5. Then a window of Update Driver Software with two options will appear:

    • Search automatically for updated driver software. Windows will automatically check availability of the best suitable driver for this device.

    • Browse my computer for driver software. Use this option to show the OS where the driver files are kept.

Restart the computer after the driver is installed.

Use sfc /scannow To Check All System Files

Damaged or rewritten system files may cause the error "INVALID_DATA_ACCESS_TRAP". The command sfc finds damaged Windows system files and replaces them.

Use sfc /scannow To Check All System Files
  1. Press Windows button and enter cmd from the keyboard.

  2. Right-click on CMD and launch it as administrator.

  3. In the command prompt window, type in sfc /scannow and press Enter.

This process may take several minutes.

Go to view
How to Recover Windows 10, 8, 7 System Files (SFC, DISM)

How to Recover Windows 10, 8, 7 System Files (SFC, DISM)

Check for Errors The Disk Where Windows Is Installed By Using The Command chkdsk c: /f

The blue screen with "INVALID_DATA_ACCESS_TRAP" may be caused by a file system error or by bad sectors in your disk. The command CHKDSK will check the disk for file system errors and bad sectors. Using the setting /f will make the program to automatically correct the detected errors, and the setting /r allows finding and fixing problem disk sectors. To launch it, follow these steps:

Check for Errors The Disk Where Windows Is Installed By Using The Command chkdsk c: /f
  1. Press Windows, then enter CMD from the keyboard.

  2. Right-click on CMD and launch it as administrator.

  3. In the command prompt window type chkdsk c: /f and press Enter (use the letter of the drive where your OS is installed).

Wait until the process is over and restart your computer.

Use The Mode of Compatibility With an Old Version of Windows

A error with the code "INVALID_DATA_ACCESS_TRAP" may be caused by outdated software. If this error occurs after launching a program, then using Windows compatibility mode can help you get rid of the problem. To fix it, do the following:

Use The Mode of Compatibility With an Old Version of Windows
  1. Find a program executable file (it has .exe extension) and right-click on it.

  2. In the quick menu, select Troubleshoot compatibility.

  3. At the next stage, you will see the window Program Compatibility Troubleshooter. You will have two troubleshooting options to choose from:

    • Try recommended settings. Select this variant to start a test run of the program using recommended compatibility settings.

    • Troubleshoot program. Select this variant to choose compatibility settings based on what problems you have encountered.

  4. After testing the program under various versions of Windows and startup settings save the suitable settings for your program.

Setup compatibility mode
Check errors
Setup Windows version
Go to view
How to Run a Program in Compatibility Mode With Windows 10, 8 and 7

How to Run a Program in Compatibility Mode With Windows 10, 8 and 7

Disable Unnecessary Programs in Windows Startup Menu

The software causing "INVALID_DATA_ACCESS_TRAP" (0x00000004) may be written to Windows Startup list so the error occurs immediately after the system starts without any user activity. You can delete programs from Startup by using Task Manager.

Disable Unnecessary Programs in Windows Startup Menu
  1. Load the computer in Safe Mode.

  2. Right-click on Task Bar and then on Task Manager.

  3. Go to Startup tab.

  4. To delete a program from the startup list select it and disable by clicking Disable in the right lower corner of the window.

Consult Microsoft Support Service

Microsoft offers several solutions to eliminate the blue screen error. "INVALID_DATA_ACCESS_TRAP" (0x00000004) can be fixed with the help of Windows Update or by addressing Windows Support.

Consult Microsoft Support Service
  1. Go to Microsoft Support Service.

  2. Enter your error code and message into the search field and follow the directions.

  3. If you don’t find a ready solution as the community where your query can be answered by a certified system administrator.

Install Latest System Updates

Windows provides updates that extend your driver database and correct errors or security vulnerabilities. Download the latest updates to get rid of the error "INVALID_DATA_ACCESS_TRAP" (0x00000004).

Install Latest System Updates

You can launch Windows Update like this:

  1. Go to Start menu and select Settings.

  2. In the Settings window go to Update and Security tab.

  3. To install the latest Windows updates click on Check for updates and wait until they are found and installed.

Set up automatic download and installation of system updates

It is recommended to set up automatic download and installation of system updates with the help of Advanced Options.

To enable automatic system update you need to start Windows Update:

  1. Go to Start menu and choose Settings.

  2. In the Settings window go to the Update and Security menu and select Windows Update. To install the latest Windows updates click on Check for updates and wait until they are found and installed.

  3. Go to Advanced Options and choose the mode of update installation - Automatic.

Scan The System For Viruses

The blue screen of death with the error "INVALID_DATA_ACCESS_TRAP" 0x00000004 can be caused by computer viruses that infected your system.

To check the computer for viruses launch your antivirus program.

Modern antiviruses allow checking both hard disks and RAM. Run a full system scan.

Test Your RAM

System memory problems may cause errors, loss of data or even make your computer stop working.

Before you start checking RAM, take it out of the slot on the motherboard and then stick it back again. Sometimes the error "INVALID_DATA_ACCESS_TRAP" can be caused by the memory stick which was set into the slot incorrectly or not tight enough, and sometimes by the slot contacts covered with dust.

If the above actions did not make things better, you can check your RAM with the means of your operating system – Windows Memory Diagnostic.

JYou can start this tool in two ways:

  1. With the help of Control Panel:

    Start Windows Memory Diagnostic with Control Panel

    Go to Control Panel / System and Security / Administrative Tools. Launch the application Windows Memory Diagnostic.

  2. With the use of Run:

    With the use of Run

    Launch the Run tool with the combination of keys Windows + R. Type in mdsched and press Enter. The Windows Diagnostic tool will start.

To start the checking select one of the suggested variants to decide how your RAM will be tested after the computer is restarted.

If the diagnostic tool finds errors that cannot be corrected, such memory should be replaced (that is, you have to replace the memory stick where errors were found).

Make a Clean Installation of Windows

If none of the methods helped you to get rid of "INVALID_DATA_ACCESS_TRAP", try reinstalling Windows. In order to make a clean installation of Windows you need to create a setup disk or another media which you are going to use to install the OS.

Start the computer with the setup disk. To do it you may need to change boot priority in BIOS or UEFI for newer computers.

Following the installer menu stages, specify the disk where you want your Windows installed. You will have to format it then. If you are not satisfied with the number or size of the local disks they can be deleted and repartitioned.

Remember that formatting, deleting or partitioning your disks will destroy all files in the hard disk.

After specifying the disk to install Windows to, the process of copying system files and installing the operating system will start. During the installation, no additional action is required. In the process, the screen will go off for a while several times, and the computer will restart on its own to complete certain stages of installation.

Depending on the version of Windows at one of the stages you may have to select or enter basic personalization settings, choose how the computer works with networks and select settings of your account or create a new one.

As the computer loads the desktop, a clean installation of Windows is finished.

Note. Before you start a clean installation of Windows make sure you have drivers for all your hardware and that your files are safe. Download and save drivers to a separate media, and create a backup copy of important data.

Go to view
How to Reset Windows 10 or 8 PC to Factory Default Settings (All Methods)

How to Reset Windows 10 or 8 PC to Factory Default Settings (All Methods)

Go to view
How to Reset Windows 10 or 8 PC If The Operating System Won't Boot

How to Reset Windows 10 or 8 PC If The Operating System Won't Boot

Feedback

We will be happy to answer your questions!

Comments (1)

  • Hetman Software: Data Recovery
    Hetman Software: Data Recovery 19.02.2020 12:39 #
    Leave a comment if you have any troubleshooting questions about "INVALID_DATA_ACCESS_TRAP" BSoD error in Windows!
Post comment
User
Leave a reply
Your email address will not be published. Required fields are marked *

Vladimir Artiukh

Author: Vladimir Artiukh, Technical Writer

Vladimir Artiukh is a technical writer for Hetman Software, as well as the voice and face of their English-speaking YouTube channel, Hetman Software: Data Recovery for Windows. He handles tutorials, how-tos, and detailed reviews on how the company’s tools work with all kinds of data storage devices.

Oleg Afonin

Editor: Oleg Afonin, Technical Writer

Oleg Afonin is an expert in mobile forensics, data recovery and computer systems. He often attends large data security conferences, and writes several blogs for such resources as xaker.ru, Elcomsoft and Habr. In addition to his online activities, Oleg’s articles are also published in professional magazines. Also, Oleg Afonin is the co-author of a well-known book, Mobile Forensics - Advanced Investigative Strategies.

Share

Hello! This is AI-based Hetman Software virtual assistant, and it will answer any of your questions right away.
Start Chat