Bug Check 0x000000D3: DRIVER_PORTION_MUST_BE_NONPAGED – Causes and Troubleshooting
Quick Answer DRIVER_PORTION_MUST_BE_NONPAGED (Bug Check 0x000000D3) is a Windows Blue Screen of Death (BSOD) error that occurs when the operating system atte...
Quick Answer
DRIVER_PORTION_MUST_BE_NONPAGED (Bug Check 0x000000D3) is a Windows Blue Screen of Death (BSOD) error that occurs when the operating system attempts to access pageable memory while running at an Interrupt Request Level (IRQL) that is too high for that memory to be safely accessed.
This error is usually associated with a device driver that has incorrectly marked its code or data as pageable, or has attempted to access memory that is not guaranteed to remain available at the current execution level.
Common troubleshooting approaches include:
- Identifying recently installed or updated device drivers.
- Checking the Windows crash dump to identify the driver responsible.
- Updating, rolling back or reinstalling the suspected driver.
- Removing recently installed software that uses low-level system drivers.
- Checking Windows system integrity and hardware stability if the problem persists.
Microsoft identifies incorrectly marked pageable driver code or data as the usual cause of this bug check. The exact driver should be identified through crash dump analysis rather than assuming that every occurrence has the same cause.
What Is DRIVER_PORTION_MUST_BE_NONPAGED (0xD3)?
DRIVER_PORTION_MUST_BE_NONPAGED is a Windows kernel-level bug check. It indicates that a driver attempted to access memory that could be paged out while executing at an IRQL where accessing pageable memory is not permitted.
Windows uses virtual memory management to organize physical memory and the paging file. Certain portions of memory can be moved out of physical RAM when they are not actively needed. These are known as pageable memory regions.
However, kernel operations that execute at elevated IRQL levels cannot safely wait for a memory page to be brought back from storage. The required code and data must remain resident in physical memory.
If a driver attempts to access pageable code or data under these conditions, Windows may stop the system to prevent further execution in an unsafe state.
The error is particularly relevant to device-driver developers and system administrators investigating kernel-level crashes.
Understanding Pageable and Nonpaged Memory
To understand this error, it is important to distinguish between pageable and nonpaged memory.
What Is Pageable Memory?
Pageable memory is memory that Windows can move out of physical RAM and store in the paging file when it is not actively required.
This helps Windows manage available physical memory more efficiently. However, accessing pageable memory can require a page fault and additional memory-management operations.
What Is Nonpaged Memory?
Nonpaged memory is memory that remains resident in physical memory and cannot be paged out while allocated as nonpaged memory.
Drivers use nonpaged memory for code and data that must remain immediately accessible, particularly when executing at elevated IRQL levels.
Why Does IRQL Matter?
IRQL stands for Interrupt Request Level. Windows uses IRQL to manage the priority of interrupt handling and certain kernel operations.
At higher IRQL levels, Windows restricts which operations can be performed. In particular, code running at or above DISPATCH_LEVEL must not access pageable code or data unless the relevant memory has been locked in memory.
If a driver violates this requirement, accessing a pageable memory region can result in a system crash.
Common Causes of the 0x000000D3 Error
Microsoft identifies incorrectly marked pageable driver code or data as the usual cause of this bug check. Other driver-related defects may also need investigation when examining the crash context.
1. Incorrectly Configured Device Drivers
A driver may incorrectly designate a section of its code or data as pageable even though that section can be accessed at an elevated IRQL.
This is a driver implementation problem and may cause a crash when Windows attempts to execute the affected code.
2. Recently Updated or Installed Drivers
A newly installed or updated driver may introduce compatibility problems or programming defects.
Drivers associated with graphics cards, network adapters, storage controllers and other hardware can be investigated if the crash began after a driver change. However, the bug check alone does not identify any particular device category.
3. Third-Party System-Level Software
Some applications install kernel-mode drivers to provide additional system functionality.
Examples include:
- Antivirus and endpoint security software.
- VPN and network filtering applications.
- Disk encryption and storage management utilities.
- Hardware monitoring and device management tools.
- Virtualization and low-level system utilities.
If the error started after installing or updating such software, its associated driver may be worth investigating.
4. Driver Compatibility Problems
A driver developed for a different Windows version or hardware configuration may not operate correctly in the current environment.
Check whether the manufacturer provides a supported driver for the installed Windows version and the specific hardware model.
5. Memory or Hardware Instability
Although Microsoft identifies driver memory-section handling as the usual cause of 0xD3, unstable hardware or memory corruption can complicate crash diagnosis.
If different bug check codes appear repeatedly, or crash dumps show inconsistent failure locations, investigate system memory and hardware stability as part of the wider diagnosis.
DRIVER_PORTION_MUST_BE_NONPAGED Bug Check Parameters
Windows records four parameters when this bug check occurs. These values provide useful information for kernel debugging.
| Parameter | Description |
|---|---|
| Parameter 1 | The memory address that was referenced. |
| Parameter 2 | The IRQL at the time of the memory reference. |
| Parameter 3 | Indicates the operation: 0 means read and 1 means write. |
| Parameter 4 | The address of the instruction that referenced the memory. |
These parameters are particularly useful when examining a Windows crash dump using WinDbg.
How to Troubleshoot DRIVER_PORTION_MUST_BE_NONPAGED (0xD3)
Follow the troubleshooting steps below, starting with basic driver checks and progressing to advanced crash analysis.
Step 1: Identify Recently Installed or Updated Drivers
First, determine whether the blue screen started after installing new hardware, updating a driver or installing system-level software.
- Right-click the Start button.
- Select Device Manager.
- Expand the relevant hardware categories.
- Identify devices whose drivers were recently updated or installed.
- Check the driver provider, version and installation date under the device's Properties and Driver tab.
Pay particular attention to hardware or software changes that occurred immediately before the first crash.
Do not uninstall or disable multiple drivers simultaneously. Changing one suspected component at a time makes it easier to identify the actual cause.
Step 2: Update or Roll Back the Suspected Driver
If the error appeared after a driver update, rolling back to the previous stable version may help.
- Open Device Manager.
- Locate the suspected device.
- Right-click the device and select Properties.
- Open the Driver tab.
- If available, select Roll Back Driver.
- Restart Windows and monitor system stability.
If the issue started before the latest driver update, check the hardware manufacturer's official support website for a compatible driver.
Download drivers only from trusted manufacturer sources. Avoid third-party driver-updater utilities that may install incorrect or incompatible drivers.
Step 3: Check for Recently Installed Software
If the crash began after installing an antivirus product, VPN client, security application or hardware utility, investigate whether it installed a kernel-mode driver.
- Open Settings.
- Navigate to Apps and then Installed apps.
- Review recently installed applications.
- Check the software manufacturer's documentation for known driver compatibility issues.
- If appropriate, uninstall the suspected application using its official uninstaller.
- Restart Windows and check whether the crash continues.
Before removing security or encryption software, make sure you have an appropriate alternative and access to any required recovery keys.
Step 4: Start Windows in Safe Mode
Safe Mode starts Windows with a limited set of drivers and services. It can help determine whether a recently installed driver or third-party application is involved.
- Open Settings.
- Navigate to System and then Recovery.
- Under Advanced startup, select Restart now.
- After Windows enters the recovery environment, select Troubleshoot.
- Select Advanced options and then Startup Settings.
- Choose Restart.
- Press the appropriate key for Safe Mode, normally 4 or F4.
If Windows remains stable in Safe Mode but crashes during normal operation, a driver or service loaded during normal startup may be involved.
This is a diagnostic clue, not proof that a particular driver is responsible.
Step 5: Analyze the Windows Crash Dump
Crash dump analysis is one of the most useful methods for identifying the driver responsible for a 0xD3 bug check.
Windows can create memory dump files when a system crash occurs. These files contain information about the crash, including the bug check parameters and relevant kernel state.
Locate the Crash Dump Files
Check the following locations:
C:\Windows\Minidump\– Contains small memory dump files when configured.C:\Windows\MEMORY.DMP– Common location for a kernel, complete or automatic memory dump.
The actual dump location depends on the Windows crash-dump configuration.
Use WinDbg to Examine the Dump
Microsoft provides WinDbg for analyzing Windows debugging and crash dump files.
- Install WinDbg from Microsoft's official documentation or Microsoft Store.
- Open WinDbg.
- Select File and then Open dump file.
- Browse to the relevant crash dump.
- Wait for the debugger to load the dump and initialize symbols.
- Enter the following command in the command window:
!analyze -v
This command performs an initial analysis of the crash and displays information such as the bug check code, parameters, stack information and possible driver involvement.
Look for the following information:
BUGCHECK_CODE– Confirms the bug check identifier.BUGCHECK_P1throughBUGCHECK_P4– Displays the four bug check parameters.MODULE_NAME– Identifies a module associated with the failure analysis.IMAGE_NAME– May identify the driver image involved.STACK_TEXT– Displays the recorded stack trace.Probably caused by– Provides a debugger-generated lead that requires further verification.
If the initial analysis identifies a possible driver, examine the stack trace and surrounding evidence before concluding that the named module is responsible.
Additional WinDbg Commands
Microsoft documents additional debugging commands that can help investigate this bug check.
| Command | Purpose |
|---|---|
!analyze -v |
Displays detailed bug check analysis. |
kb |
Displays the kernel stack backtrace. |
lm |
Lists loaded modules. |
lmvm drivername |
Displays detailed information about a specified driver module. |
Replace drivername with the actual module name identified during analysis.
For example, if the analysis identifies a driver module named example.sys, investigate its manufacturer, version and relationship to the affected hardware or software.
Important: A driver appearing in the stack trace is not automatically the root cause. Other drivers, corrupted memory or earlier kernel operations may have contributed to the failure.
Step 6: Check Windows System File Integrity
If the crash persists after investigating drivers, check the integrity of Windows system files.
Open Command Prompt or Windows Terminal as Administrator and run:
DISM.exe /Online /Cleanup-Image /RestoreHealth
Allow the operation to complete. Then run:
sfc /scannow
DISM checks and repairs the Windows component store where possible, while System File Checker checks protected Windows system files and attempts to repair corrupted files.
Restart the computer if repairs are completed and monitor whether the blue screen returns.
These commands address Windows component and system-file integrity. They do not directly repair a defective third-party driver.
Step 7: Check Memory and Hardware Stability
If driver-related investigation does not identify the cause, perform additional hardware diagnostics.
To run Windows Memory Diagnostic:
- Press Windows + R.
- Type
mdsched.exe. - Press Enter.
- Select Restart now and check for problems, after saving your work.
- Allow the memory test to complete.
If memory errors are reported, investigate the RAM modules, memory configuration and motherboard according to the manufacturer's diagnostic procedures.
Also check for BIOS or firmware updates from the computer manufacturer if the crash analysis suggests a hardware or platform compatibility issue. Firmware updates should be performed carefully, with stable power and the manufacturer's recommended procedure.
How to Prevent the 0xD3 Blue Screen Error
The following practices can reduce the risk of driver-related crashes:
- Install device drivers from official hardware manufacturer websites.
- Use drivers compatible with the installed Windows version.
- Avoid unnecessary third-party driver-management utilities.
- Keep Windows and supported hardware drivers updated.
- Remove obsolete drivers and software through supported uninstall procedures.
- Maintain reliable backups of important data.
- Investigate recurring blue screens instead of repeatedly restarting the system without diagnosis.
- Keep crash dump files when investigating recurring system failures.
- Avoid manually modifying driver memory settings or kernel configuration without appropriate technical knowledge.
Important Information for Driver Developers
Bug Check 0xD3 is particularly relevant to Windows kernel-mode driver developers.
Microsoft explains that drivers can designate specific code and data sections as pageable. For example, sections whose names begin with PAGE can be treated as pageable by the I/O manager when the driver is loaded.
However, code that executes at IRQL greater than or equal to DISPATCH_LEVEL must be resident in memory or appropriately locked in memory.
Developers should investigate the following areas:
- Whether code executed at elevated IRQL is incorrectly placed in a pageable section.
- Whether data accessed at elevated IRQL can be paged out.
- Whether pageable sections are accessed without being locked when required.
- Whether the driver's execution path respects IRQL restrictions.
- Whether the stack trace identifies an invalid call path into pageable code.
Microsoft provides the PAGED_CODE macro to help verify that pageable functions are called only at an appropriate IRQL.
Developers can also investigate the documented memory-management routines MmLockPagableCodeSection, MmLockPagableDataSection and MmUnlockPagableImageSection where appropriate.
These mechanisms must be used according to the Windows driver development documentation and the relevant locking requirements.
When Should You Contact Technical Support?
Consider contacting the computer manufacturer, hardware vendor or software developer if:
- The system continues to crash after updating or rolling back the suspected driver.
- The same driver repeatedly appears in crash dump analysis.
- Windows crashes during startup and normal troubleshooting is not possible.
- Multiple bug check codes appear without an identifiable pattern.
- Memory or hardware diagnostic tests report errors.
- The computer is a business-critical workstation or server where uncontrolled driver changes could affect operations.
When requesting support, provide the bug check code, Windows version, computer model, recently installed drivers and relevant crash dump analysis. Avoid sharing complete memory dumps publicly because they may contain sensitive system information.
Frequently Asked Questions (FAQs)
1. What does DRIVER_PORTION_MUST_BE_NONPAGED mean?
It means Windows detected an attempt to access pageable memory at an IRQL where that memory cannot safely be accessed. The error is usually associated with a driver that has incorrectly marked its code or data as pageable.
2. Is DRIVER_PORTION_MUST_BE_NONPAGED a hardware or software problem?
It is primarily associated with kernel-mode driver behavior. However, hardware instability or memory corruption can complicate the investigation. Crash dump analysis is the best starting point for identifying the actual cause.
3. Can an outdated driver cause error 0xD3?
An outdated or incompatible driver may be involved in a system crash. However, the specific 0xD3 bug check is associated with an invalid access to pageable memory at an elevated IRQL. The driver should be investigated rather than assuming that its age alone caused the error.
4. How do I identify the driver responsible for this blue screen?
Examine the Windows crash dump using WinDbg and run !analyze -v. Review the bug check parameters, module information and stack trace. If Windows identifies the responsible driver, its name may also be recorded in the KiBugCheckDriver variable.
5. Can updating Windows fix DRIVER_PORTION_MUST_BE_NONPAGED?
Installing applicable Windows updates may resolve some operating system or driver compatibility problems. However, an update is not a guaranteed solution if the underlying problem is a defective third-party driver.
6. Is it safe to ignore the 0xD3 error if Windows restarts successfully?
No. A successful restart does not mean the underlying problem has been resolved. Repeated occurrences can lead to data loss or interrupted work. Investigate the crash, especially if it happens frequently.
7. Does this error mean that the computer has insufficient RAM?
No. Bug Check 0xD3 does not directly indicate insufficient physical RAM. It identifies an invalid attempt to access pageable memory at an elevated IRQL. Adding more RAM is not an established fix for this error.
Conclusion
DRIVER_PORTION_MUST_BE_NONPAGED (0x000000D3) is a Windows kernel bug check generally associated with incorrect handling of pageable code or data by a device driver.
The most effective troubleshooting approach is to identify recent driver or software changes, examine Windows crash dump files and use WinDbg to investigate the responsible module and execution path.
Updating or rolling back the affected driver may resolve the issue when a defective or incompatible driver is responsible. If the crash continues, investigate memory and hardware stability rather than applying unrelated repairs.
Accurate crash analysis is more reliable than randomly replacing drivers, modifying registry settings or reinstalling Windows.
Official References
Was this guide useful?
Your answer helps us keep BISONKB accurate and practical.