How to Fix STOP 0x00000004 Errors

A Troubleshooting Guide for the 0x4 Blue Screen of Death

Blue Screen of Death in Windows 10

STOP 0x00000004 errors are likely caused by hardware failure or device driver issues, but could be related to a virus infection.

The STOP 0x00000004 error will always appear on a STOP message, more commonly called a Blue Screen of Death (BSOD). One of the errors below or a combination of both errors may display on the STOP message:

STOP: 0x00000004
INVALID_DATA_ACCESS_TRAP

The STOP 0x00000004 error may also be abbreviated as STOP 0x4 but the full STOP code will always be what's displayed on the blue screen STOP message.

If Windows is able to start after the STOP 0x4 error, you may be prompted with a Windows has recovered from an unexpected shutdown message that shows:

Problem Event Name: BlueScreen
BCCode: 4

Any of Microsoft's Windows NT based operating systems could experience the STOP 0x00000004 error. This includes Windows 10Windows 8Windows 7Windows VistaWindows XP, Windows 2000, and Windows NT.

If STOP 0x00000004 isn't the exact STOP code you're seeing or INVALID_DATA_ACCESS_TRAP isn't the exact message, please check our Complete List of STOP Error Codes and reference the troubleshooting information for the STOP message that you are seeing.

How to Fix STOP 0x00000004 Errors

The STOP 0x00000004 STOP code is rare so there's little troubleshooting information available that's specific to the error.

However, since most STOP errors have similar causes, there are some basic troubleshooting steps to help fix STOP 0x00000004 issues:


  1. Restart your computer
    if you haven't already done so. The STOP 0x00000004 could just be a fluke, and the blue screen error may not occur again after rebooting.

  2. Did you just install or make a change to a device? If so, there's a good chance that the change you made caused the STOP 0x00000004 error.

    • Undo the change and test for the 0x4 blue screen error.
    • Depending on what changes were made, some solutions might include:
    • Removing or reconfiguring the newly installed device
  3. Starting up with Last Known Good Configuration to undo related registry and driver changes

  4. Using System Restore to undo recent changes


  5. Rolling back the device driver
    to the version prior to your driver update

  6. Update the drivers for your devices. If the driver to your hard drive or some other device is outdated or corrupted, it could be causing the STOP 0x00000004 error.


  7. Scan your computer for viruses
    that could be causing the STOP 0x00000004 error.

    You should always have updated antivirus software to prevent these types of problems. See our list of the Best Free Antivirus Software if you need one.


  8. Clear the CMOS
    . Sometimes the STOP 0x00000004 error is caused by a BIOS memory issue, so clearing the CMOS could solve that problem. 

  9. Test the hard drive for errors. A physical problem with the hard drive could be what's revealing the STOP 0x4 error.


  10. Test the system memory for errors
    . If the hard drive isn't at fault, faulty RAM might be what's causing the STOP 0x00000004 error.

     It might be a good idea to reseat the memory too, either before testing it, to make sure they're fully inserted, and/or after if any problems are found.


  11. Perform basic STOP error troubleshooting
    . These extensive troubleshooting steps aren't specific to the STOP 0x00000004 error but since most STOP errors are so similar, they should help resolve it.