How To Fix PNP_DETECTED_FATAL_ERROR Blue Screen (2027)
PNP_DETECTED_FATAL_ERROR is a blue screen with the stop code 0xCA.
Microsoft says the Plug and Play manager hit a severe error, probably because of a problematic Plug and Play driver.
That makes the fix a hunt for the device or driver that Windows was trying to set up when it crashed.
Table of Contents
- Quick answer
- What PNP_DETECTED_FATAL_ERROR means
- What parameter 1 tells you
- What to write down first
- Remove new hardware
- Check Device Manager
- Install a driver by hand
- Install Windows updates
- Start in Safe Mode if the PC keeps crashing
- Repair Windows system files
- Keep free disk space
- Use a restore point
- What to try, in order
- Official sources
- More Windows error guides
Quick answer
Use this table to choose where to begin.
| If this is true | Try this |
|---|---|
| It began after you plugged in a device | Unplug it, then restart the PC |
| A driver was updated shortly before | Roll the driver back in Device Manager |
| A device shows an exclamation point | Update, disable or uninstall that device |
| It happens during startup | Start in Safe Mode and change drivers there |
| Windows is behind on updates | Install updates from Windows Update |
| Nothing helps | Repair system files, then use a restore point |
What PNP_DETECTED_FATAL_ERROR means
The bug check value is 0x000000CA.
Plug and Play is the part of Windows that finds hardware, loads its driver and keeps track of every device on the PC.
When that manager finds something badly wrong in the way a driver reports a device, Windows stops with this blue screen.
Microsoft says its technical page is meant for programmers and directs owners to its general blue screen guide.
What parameter 1 tells you
Parameter 1 gives the type of violation, and the other parameters depend on it.
Microsoft lists these causes.
| Parameter 1 | Cause of the error |
|---|---|
| 0x1 | Duplicate PDO: a driver enumerated several devices with the same device ID and unique ID |
| 0x2 | Invalid PDO: an API that needs a device object was called with a bad or uninitialized one |
| 0x3 | Invalid ID: a bus driver returned an ID with illegal characters or no proper end |
| 0x4 | Invalid enumeration of a PDO the driver had already deleted |
| 0x5 | PDO freed while still linked in the device tree |
| 0x8 | NULL pointer returned as a bus relation |
| 0x9 | Invalid connection type passed to IoDisconnectInterruptEx |
| 0xA | A driver failed to keep the IRQL or APC disable count unchanged across a notification |
| 0xB | A deleted PDO reported as a removal relation |
PDO stands for physical device object, the record Windows keeps for each device on a bus.
Every cause in the table points to a driver that handled a device incorrectly, not to Windows itself.
What to write down first
Note the stop code on the blue screen, because it confirms you are fixing the right error.
Think about what changed in the days before the first crash.
Note any new hardware, driver update or newly installed program.
Our guide to the KMODE_EXCEPTION_NOT_HANDLED blue screen covers another stop that often comes from a driver.
Remove new hardware
Microsoft says to shut down and remove any hardware you added before the error appeared, then restart.
That means USB devices, docks, adapters, cards and add-on drives.
If the blue screen stops, reconnect the items one at a time to find the one that causes it.
Then look for a newer driver for that device on its maker site.
Check Device Manager
Microsoft says to open Device Manager by right-clicking Start and selecting Device Manager.
Look for any device with an exclamation point.
| Goal | Steps |
|---|---|
| Update automatically | Right-click the device, select Update driver, then Search automatically for updated driver software |
| Check Windows Update for drivers | Choose Search for updated drivers on Windows update if nothing is found |
| Roll back | Right-click the device, select Properties, open the Driver tab, select Roll Back Driver, then confirm |
| Reinstall | Right-click the device, select Uninstall device, confirm, then restart so Windows tries to reinstall it |
Rolling back needs administrator permissions.
Microsoft says that if the update steps do not help, you should disable or uninstall the device.
If automatic steps fail, it also says to contact the device maker for the latest compatible driver.
Install a driver by hand
Some devices only get their newest driver from the maker site.
- Download the driver that matches your version of Windows and the 64-bit or 32-bit type.
- Extract it if it comes as a compressed file, and note where it is.
- In Device Manager, right-click the device and select Update driver.
- Select Browse my computer for drivers, choose the folder, then select Next.
If Windows says the best drivers are already installed, the current one is the newest it can find.
Our guide to updating graphics drivers in Windows 11 shows the same process for a display driver.
Install Windows updates
- Open Start, then Settings, then Windows Update.
- Select Check for updates.
- Install what is offered, then restart.
Start in Safe Mode if the PC keeps crashing
Microsoft says to start in Safe Mode when the PC will not restart normally, and to do the remaining steps there.
In Windows Recovery Environment, select Troubleshoot, Advanced options, Startup Settings, then Restart.
Press 4 or F4 to choose Enable Safe Mode, or 5 or F5 for Safe Mode with Networking.
Safe Mode with Networking helps when the driver you need must be downloaded.
Repair Windows system files
Open Command Prompt as administrator, then run these commands in order.
DISM.exe /Online /Cleanup-image /Restorehealthsfc /scannow
The DISM step can take several minutes.
Leave the window open until the SFC check reaches 100%.
Keep free disk space
Microsoft says Windows needs roughly 10% to 15% of the drive free for swap files and other work.
If the drive is nearly full, remove files you no longer need.
Use a restore point
If the crashes continue, Microsoft says to restore Windows with a restore point or another recovery option.
System Restore returns system files, registry settings and installed programs to an earlier state, and is designed to leave personal files alone.
Press Windows + R, type rstrui.exe, then pick a restore point from before the first crash.
Select Scan for affected programs to see what will be changed.
What to try, in order
| Order | Step | Why |
|---|---|---|
| 1 | Remove new hardware | The error comes from device handling |
| 2 | Update, roll back or disable the device driver | Microsoft points to a Plug and Play driver |
| 3 | Install Windows updates | Delivers driver and system fixes |
| 4 | Repair files with DISM and SFC | Rules out damaged system files |
| 5 | Use a restore point | Undoes recent changes |
Restart after each step so you can tell which change helped.
For the wider list of stop codes, see our guide to blue screens in Windows 11.
Official sources
- Microsoft Learn: Bug Check 0xCA PNP_DETECTED_FATAL_ERROR
- Microsoft Support: Troubleshooting Windows unexpected restarts and stop code errors
- Microsoft Support: Update drivers through Device Manager
More Windows error guides
- How To Fix VIDEO_DXGKRNL_FATAL_ERROR Blue Screen
- How To Fix INTERNAL_POWER_ERROR Blue Screen (2027)
- How To Fix VIDEO_SCHEDULER_INTERNAL_ERROR Blue Screen
- How To Fix KERNEL_DATA_INPAGE_ERROR Blue Screen (2027)
- WHEA_UNCORRECTABLE_ERROR Blue Screen Fix In Windows 11 (2027)
- How To Fix CRITICAL_STRUCTURE_CORRUPTION Blue Screen (2027)
See all: Windows 11 Guides