How to Fix STOP 0x00000004 Errors

A Troubleshooting Guide for the 0x4 Blue Screen of Death

Image of a Blue Screen of Death (BSOD) in Windows 10
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.

Note: 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

Note: 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:

  1. 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.
  2. Scan your computer for viruses that could be causing the STOP 0x00000004 error.

    Important: 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.
  3. Clear the CMOS. Sometimes the STOP 0x00000004 error is caused by a BIOS memory issue, so clearing the CMOS could solve that problem. 
  4. Test the hard drive for errors. A physical problem with the hard drive could be what's revealing the STOP 0x4 error.
  5. 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.

    Tip: 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.
  6. 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.

Please let me know if you've fixed the STOP 0x00000004 blue screen of death using a method that I don't have above.

I'd like to keep this page updated with the most accurate STOP 0x00000004 error troubleshooting information as possible.

Need More Help?

See Get More Help for information about contacting me on social networks or via email, posting on tech support forums, and more. Be sure to let me know that you're trying to fix the STOP 0x4 error and what steps, if any, you've already taken to resolve it.

If you're not interested in fixing this problem yourself, even with help, see How Do I Get My Computer Fixed? for a full list of your support options, plus help with everything along the way like figuring out repair costs, getting your files off, choosing a repair service, and a whole lot more.

Important: Please make sure you've stepped through my basic STOP error troubleshooting information before asking for more help.

Was this page helpful?