Skip to content
WindowsAdvanced

0x000000D4 SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD – Causes and Troubleshooting

Quick Answer The SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD error is a Windows Blue Screen of Death (BSOD) associated with bug check code 0x000...

BI
Bison Technical Team Enterprise IT specialists
Updated 13 min read 1 total views
Structured technical guidanceSafety notes included where requiredSources cited when applicable

Quick Answer

The SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD error is a Windows Blue Screen of Death (BSOD) associated with bug check code 0x000000D4.

It occurs when a device driver is unloaded without properly cancelling its pending operations, such as Deferred Procedure Calls (DPCs), worker threads or other queued activities. Windows subsequently attempts to access memory associated with the unloaded driver while operating at an elevated Interrupt Request Level (IRQL).

Advertisement

This can result in invalid memory access and a system crash. The most important troubleshooting step is to identify the responsible driver using the crash dump, then update, roll back or remove the problematic driver or its associated software.

1. What Is SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD?

Windows uses device drivers to communicate with hardware and manage certain system-level software components. These drivers operate with specific memory-management and execution requirements.

When a driver is being unloaded, it must properly stop its activities and cancel outstanding operations. If it fails to do so, another system component might attempt to execute a pending operation that still references the driver's memory.

The 0xD4 bug check occurs when Windows detects this type of improper driver-unload behaviour during a memory access at an elevated IRQL.

Microsoft identifies the following as examples of operations that a driver must properly handle before unloading:

  • Lookaside lists.
  • Deferred Procedure Calls (DPCs).
  • Worker threads.
  • Other pending operations associated with the driver.

For the official technical definition, refer to Microsoft's Bug Check 0xD4 documentation.

2. What Does the Error Code 0x000000D4 Mean?

The complete error name contains several technical terms that help explain the nature of the failure.

Term Explanation
SYSTEM_SCAN Refers to the system's detection of an invalid memory-access condition.
RAISED_IRQL Indicates that the processor was operating at an elevated Interrupt Request Level.
IMPROPER_DRIVER_UNLOAD Indicates that a driver was unloaded without properly cancelling its outstanding operations.
0x000000D4 The hexadecimal Windows bug check code associated with this condition.

Understanding IRQL

IRQL stands for Interrupt Request Level. Windows uses IRQLs to control the priority of interrupt handling and certain kernel-mode operations.

Some operations are restricted at elevated IRQLs. For example, a driver cannot safely access pageable memory in situations where the operating system cannot allow the required memory operation to wait.

Drivers must follow Windows kernel-mode execution rules. Improper handling of pending operations or memory references can cause system instability.

3. Common Causes of Error 0xD4

The documented cause of this bug check is an improper driver unload. The following situations are possible areas to investigate when diagnosing the underlying driver problem.

3.1 Faulty or incompatible device drivers

A driver containing incorrect cleanup or unload routines might leave pending operations active after its memory has been released.

Recently updated, outdated or incompatible drivers should be investigated, particularly when the problem started after a driver installation or Windows update.

3.2 Network adapter drivers

Network drivers interact with Windows networking components and can be affected by driver updates, device replacement and network-filter software.

If the crash dump identifies a network-related driver, investigate the network adapter driver and any recently installed network management or filtering software.

3.3 Antivirus and security software

Some security products install kernel-mode drivers to monitor system activity, network traffic and file operations.

A faulty or incompatible driver associated with such software may be worth investigating, particularly if the crashes started after installing or updating the product.

3.4 Third-party system utilities

Utilities that install low-level drivers can also be investigated. Examples include:

  • Hardware monitoring and diagnostic utilities.
  • Disk management and storage software.
  • Virtual machine and virtualization software.
  • VPN and network filtering applications.
  • Backup and endpoint protection software.

These applications are not automatically responsible for the error. Their drivers should only be considered suspects when supported by crash information or a consistent relationship with the failure.

3.5 Driver update or removal problems

The error may become visible during driver updates, device removal, software uninstallation or other operations that cause a driver to unload.

If a crash repeatedly occurs during one particular operation, investigate the driver involved in that operation rather than reinstalling unrelated drivers.

4. Symptoms of the 0x000000D4 Blue Screen Error

A computer experiencing this bug check may display one or more of the following symptoms:

  • A blue screen displaying SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD.
  • The stop code 0x000000D4.
  • Unexpected system restarts.
  • Crashes during startup or shutdown.
  • Crashes when installing, updating or removing device drivers.
  • System instability after installing hardware-related software.
  • Repeated crashes associated with a particular device or application.

Not every computer will exhibit all these symptoms. The exact behaviour depends on the driver and the circumstances in which the invalid memory access occurs.

5. How to Fix SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD

Since this error is specifically associated with improper driver unloading, troubleshooting should focus on identifying the responsible driver. Follow the steps below, starting with the least disruptive methods.

Step 1: Identify recently installed or updated drivers

Think about any changes made shortly before the first blue screen appeared.

Check whether you recently:

  • Installed a new device or hardware component.
  • Updated a graphics, network, audio or storage driver.
  • Installed antivirus, VPN or backup software.
  • Updated motherboard or chipset drivers.
  • Uninstalled hardware-related software.

If the problem started immediately after one of these changes, investigate that component first.

Step 2: Check Device Manager

Device Manager can help identify devices with driver-related warnings.

  1. Press Windows + X.
  2. Select Device Manager.
  3. Expand categories such as Network adapters, Display adapters, Sound, video and game controllers, and Storage controllers.
  4. Look for devices displaying a warning symbol.
  5. Open the device's Properties and review its Device status and Driver information.

If you identify a device whose driver was recently updated, consider rolling it back.

Step 3: Roll back a problematic driver

If the error began after a driver update, reverting to the previously installed driver may resolve the problem.

  1. Open Device Manager.
  2. Locate the suspected device.
  3. Right-click the device and select Properties.
  4. Open the Driver tab.
  5. Select Roll Back Driver, if available.
  6. Follow the instructions and restart the computer.

The rollback option may be unavailable if Windows does not retain a previous driver version.

For additional information, see Microsoft's driver rollback guidance.

Step 4: Install the correct driver from the manufacturer's website

If a driver is suspected, obtain a compatible version from the hardware manufacturer's official support website.

Depending on the affected component, check the official support portal of:

  • The computer or laptop manufacturer.
  • The motherboard manufacturer.
  • The network adapter manufacturer.
  • The graphics card manufacturer.
  • The storage controller manufacturer.

Before installing a replacement driver, confirm that it supports the installed Windows version and the exact hardware model.

Avoid third-party driver-updater applications that install drivers without verifying hardware compatibility.

Step 5: Uninstall recently added hardware-related software

If the crash started after installing a particular application, investigate whether it installed a kernel-mode driver.

  1. Open Settings.
  2. Navigate to Apps > Installed apps.
  3. Locate the recently installed application.
  4. Use its official uninstaller or the normal Windows uninstall procedure.
  5. Restart the computer and monitor whether the problem returns.

Do not manually delete driver files from the Windows system folders. Some drivers are required for Windows startup and hardware operation.

Step 6: Install available Windows updates

Windows updates can include operating system fixes, security improvements and compatibility updates.

  1. Open Settings.
  2. Select Windows Update.
  3. Click Check for updates.
  4. Review available updates.
  5. Install appropriate updates and restart the computer.

Also check the computer manufacturer's website for relevant chipset, firmware and device-driver updates.

Do not assume that installing every optional driver update is necessary. Select updates that are relevant to the affected hardware and system configuration.

Step 7: Check whether the computer works in Safe Mode

Safe Mode starts Windows with a limited set of drivers and services. It can help determine whether a problem is associated with a driver or service that is not loaded during normal startup.

  1. Open Settings.
  2. Navigate to System > Recovery.
  3. Under Advanced startup, select Restart now.
  4. After Windows enters the recovery environment, select Troubleshoot.
  5. Select Advanced options > Startup Settings.
  6. Click Restart.
  7. Press 4 or F4 to start Safe Mode.

If the problem does not occur in Safe Mode, investigate third-party drivers and services that are loaded during normal startup.

Important: Safe Mode behaviour alone does not prove that a particular driver is responsible. It is an isolation technique, not a definitive diagnosis.

6. Advanced Troubleshooting: Analyse the Windows Crash Dump

If the 0xD4 error occurs repeatedly, analysing the memory dump is one of the most useful ways to identify the responsible driver.

Windows may create a crash dump containing information about the system state when the blue screen occurred.

6.1 Locate the memory dump file

Check the following locations:

  • C:\Windows\Minidump – Small memory dump files.
  • C:\Windows\MEMORY.DMP – Kernel, automatic or complete memory dump, depending on the configured dump type.

If these files do not exist, check the Startup and Recovery configuration and available disk space.

6.2 Configure Windows to create memory dumps

  1. Press Windows + R.
  2. Type sysdm.cpl and press Enter.
  3. Open the Advanced tab.
  4. Under Startup and Recovery, click Settings.
  5. Locate Write debugging information.
  6. Select Automatic memory dump or another appropriate dump option.
  7. Click OK to save the settings.

Windows may require a suitable page file and sufficient disk space to create the selected dump. Keep the existing page-file configuration unless there is a specific reason to change it.

6.3 Analyse the dump using WinDbg

WinDbg is Microsoft's debugging tool for examining Windows crash dumps and investigating kernel-mode failures.

  1. Install WinDbg using Microsoft's official Windows Debugging documentation.
  2. Open WinDbg.
  3. Select File > Open dump file.
  4. Browse to the relevant .dmp file.
  5. Allow the debugger to load the required symbols.
  6. Enter the following command in the debugger command window:
!analyze -v

This command requests a detailed bug check analysis.

Review the output for:

  • BUGCHECK_CODE: Confirm that the crash corresponds to 0xD4.
  • BUGCHECK_P1 to BUGCHECK_P4: Examine the four bug check parameters.
  • MODULE_NAME: Review the module associated with the analysis.
  • IMAGE_NAME: Check the driver or image identified by the debugger.
  • STACK_TEXT: Examine the recorded call stack.
  • FAILURE_BUCKET_ID: Review the failure classification, where available.

A module appearing in the debugger output is an investigative clue, not automatic proof that the module is defective. Correlate the results with the stack trace, driver version and other available crash information.

6.4 Understand the four bug check parameters

Microsoft documents the following parameters for bug check 0xD4:

Parameter Meaning
Parameter 1 Memory address referenced.
Parameter 2 IRQL at the time of the memory reference.
Parameter 3 Memory operation: 0 indicates read and 1 indicates write.
Parameter 4 Address of the instruction that referenced the memory.

If Windows identifies the responsible driver, its name may be displayed on the blue screen and stored in the KiBugCheckDriver location.

For detailed technical information, refer to Microsoft's official 0xD4 bug check reference.

7. Using Driver Verifier to Identify Faulty Drivers

Driver Verifier is an advanced Windows diagnostic utility that checks driver behaviour and can detect certain driver programming errors.

Microsoft specifically recommends using Driver Verifier when the driver responsible for a 0xD4 crash has been identified and the failure needs to be reproduced for further investigation.

Warning: Driver Verifier can increase system load and deliberately trigger additional blue screens when it detects a driver violation. Incorrect configuration can make a computer difficult to start. It should be used by experienced technicians or developers, preferably on a test system rather than a production computer.

7.1 When should Driver Verifier be used?

Consider it when:

  • The crash dump indicates a suspected third-party driver.
  • The problem can be reproduced consistently.
  • Normal troubleshooting has not identified the root cause.
  • A technician needs additional evidence about driver behaviour.

7.2 Configure Driver Verifier carefully

Open Command Prompt as Administrator and enter:

verifier

This opens the Driver Verifier Manager. Select the appropriate verification settings and restrict testing to the suspected driver or a small group of relevant third-party drivers.

Do not enable verification for every driver indiscriminately. Microsoft recommends limiting the number of drivers being tested because verification adds system overhead and can cause additional crashes.

7.3 Disable Driver Verifier if problems occur

If the system becomes unstable after enabling Driver Verifier, try starting Windows in Safe Mode and open an elevated Command Prompt.

Run:

verifier /reset

Restart the computer to apply the reset.

If Windows cannot start normally, use the Windows Recovery Environment to access available recovery options and attempt to start Safe Mode.

For further information, read Microsoft's Driver Verifier documentation and Stop code troubleshooting guidance.

8. When Should You Check Hardware?

The documented 0xD4 condition specifically concerns driver unloading and memory access. Therefore, hardware replacement should not be the first response to this error.

However, if driver-focused investigation does not explain repeated crashes, consider checking the following:

  • RAM modules and system memory stability.
  • Storage devices and their controller drivers.
  • Motherboard firmware and chipset compatibility.
  • Recently installed expansion cards or USB devices.
  • Hardware connections and device compatibility.

Use the manufacturer's diagnostic utilities where available. If memory or hardware testing identifies a fault, investigate it separately rather than assuming that every 0xD4 crash is caused by defective hardware.

9. How to Prevent Error 0x000000D4

Although driver programming defects cannot always be prevented by end users, the following practices can reduce driver-related compatibility problems:

  • Download drivers from official hardware manufacturer websites.
  • Verify driver compatibility before installation.
  • Avoid unnecessary driver replacement and third-party driver-updater tools.
  • Keep Windows and essential device drivers appropriately updated.
  • Use official uninstall procedures for applications that install kernel-mode drivers.
  • Create a restore point before significant driver or system changes where System Protection is available.
  • Maintain appropriate backups of important business and personal data.
  • Investigate recurring blue screens instead of repeatedly restarting the computer without identifying the cause.

For system administrators, testing driver updates in a controlled environment before deploying them across multiple computers can help reduce operational disruption.

10. Frequently Asked Questions (FAQs)

What is the main cause of SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD?

The documented cause is a device driver failing to cancel pending operations, such as DPCs, worker threads or lookaside-list activities, before unloading. Windows subsequently detects an invalid memory reference at an elevated IRQL.

Is error 0x000000D4 related to a faulty driver?

Yes. The bug check specifically identifies an improper driver-unload condition. However, the exact driver must be identified through crash information and further diagnosis.

Can an outdated driver cause this blue screen?

An outdated or incompatible driver is worth investigating, especially if the problem began after a Windows update or hardware change. However, the stop code alone does not establish that the driver is outdated.

Can antivirus software cause error 0xD4?

A security product's kernel-mode driver may be investigated if the crash occurs after installing or updating the software. The crash dump should be examined before concluding that the antivirus product is responsible.

Will reinstalling Windows fix SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD?

Reinstalling Windows is not a recommended first step. If the underlying problem is caused by a third-party driver or its associated software, identifying and correcting that component is preferable. Reinstallation may not solve the problem if the same faulty driver is installed again.

Where can I find the 0xD4 crash dump file?

Check C:\Windows\Minidump for small memory dumps and C:\Windows\MEMORY.DMP for other configured dump types. Their availability depends on Windows crash-dump settings and whether the dump was successfully created.

Is Driver Verifier safe to use?

Driver Verifier is a legitimate Microsoft diagnostic tool, but it can deliberately trigger system crashes when it detects driver violations. It should be configured carefully and is generally better suited to controlled testing and experienced technical troubleshooting.

Does error 0xD4 mean that RAM is defective?

No. The documented meaning of 0xD4 is related to improper driver unloading and invalid memory access. Hardware memory problems can be investigated if other evidence suggests them, but defective RAM is not the established meaning of this bug check.

11. Conclusion

The SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD (0x000000D4) blue screen indicates that Windows detected a driver-related memory-access problem associated with an improper unload operation.

The most effective troubleshooting approach is to identify the driver involved, examine recent driver or software changes, check the crash dump using WinDbg and apply a suitable driver update, rollback or removal procedure.

For recurring or complex cases, Driver Verifier can provide additional diagnostic evidence when used carefully. Avoid unnecessary Windows reinstallation, registry modifications or hardware replacement before investigating the actual cause.

Official References

YOUR FEEDBACK

Was this guide useful?

Your answer helps us keep BISONKB accurate and practical.

Links are permitted only to published BISONKB articles.