How To Fix APC_INDEX_MISMATCH Blue Screen
APC_INDEX_MISMATCH is a Windows blue screen with the stop code 0x1.
Microsoft says it indicates a mismatch in the asynchronous procedure call (APC) state index.
The fix is to find the file system or driver that caused it and update, disable or remove it.
Table of Contents
- Quick answer
- What APC_INDEX_MISMATCH means
- What usually causes it
- Reading the parameters
- What the APC disable values reveal
- Check new hardware first
- Look for the driver in Event Viewer
- Update or roll back the driver
- Use Safe Mode if the crash comes too fast
- Repair Windows files
- Restore, uninstall or reset
- Save a crash dump for later analysis
- Driver Verifier for repeat crashes
- If you write drivers
- When to contact support
- Sources and related guides
- More Windows error guides
Quick answer
The table gives the fastest route for each situation.
| Situation | What to do |
|---|---|
| You installed hardware recently | Check it is compatible with your Windows version, or remove it |
| The blue screen names a driver | Disable the driver or check the maker for an update |
| The name is not shown | Check the System log in Event Viewer |
| The PC will not stay up | Use Safe Mode to update or disable drivers |
| Nothing helps | Run DISM and SFC, then restore or reset Windows |
What APC_INDEX_MISMATCH means
The bug check has the value 0x00000001.
Microsoft says it results from an internal kernel error that occurs on exit from a system call.
The APC state recorded for the thread does not match what the kernel expects at that point.
Microsoft’s page is written for programmers, so the steps below combine it with its general guidance for customers.
What usually causes it
Microsoft says the most common cause is a file system or driver that makes a mismatched sequence of calls to disable and re-enable APCs.
Its example is that every call to KeEnterCriticalRegion must have a matching call to KeLeaveCriticalRegion.
A driver that skips the matching call leaves the thread in the wrong state when the system call returns.
Reading the parameters
The crash dump holds four values that point to the offending routine.
| Parameter | Meaning |
|---|---|
| 1 | Address of the system function (system call) or worker routine |
| 2 | The current thread’s ApcStateIndex value |
| 3 | The current thread’s CombinedApcDisable value |
| 4 | Call type: 0 for a system call, 1 for a worker routine |
Parameter 3 combines two 16-bit fields, SpecialApcDisable and KernelApcDisable.
What the APC disable values reveal
Microsoft says the CombinedApcDisable field is the key data item.
| Field value | What it means |
|---|---|
| SpecialApcDisable is negative | A driver disabled special APCs and did not re-enable them |
| KernelApcDisable is negative | A driver disabled normal (kernel) APCs and did not re-enable them |
| Either field is positive | A driver enabled APCs more times than it disabled them |
These values matter to developers, but they also tell you the fault is in a driver or file system rather than in your hardware.
Check new hardware first
Microsoft says to confirm that any newly installed hardware is compatible with your installed version of Windows.
If the blue screen began after you added a device, shut down and remove it.
Restart and see whether the error returns before you try anything else.
Look for the driver in Event Viewer
Microsoft says to check the System log in Event Viewer for messages that might identify the device or driver behind the bug check.
Open Event Viewer from the Start menu search and look at entries near the time of the crash.
If the blue screen itself names a driver, Microsoft says to disable it or check with the manufacturer for an update.
Update or roll back the driver
Microsoft recommends using Windows Update first for drivers.
- Open Start, then Settings, then Windows Update, and select Check for updates.
- Right-click Start and open Device Manager.
- Right-click the affected device and select Update driver.
- If the problem began after an update, open the device Properties, go to the Driver tab and select Roll Back Driver.
- To start fresh, select Uninstall device, confirm and restart.
Our guide to the DRIVER_POWER_STATE_FAILURE blue screen covers a similar driver workflow.
Use Safe Mode if the crash comes too fast
Go to Settings, then System, then Recovery, and select Restart now beside Advanced startup.
Choose Troubleshoot, Advanced options, Startup Settings and Restart.
Press 4 or F4 for Safe Mode, or 5 or F5 for Safe Mode with Networking.
From Safe Mode, Microsoft says you can disable a faulty driver in Device Manager.
Repair Windows files
Open Command Prompt as administrator and run DISM.exe /Online /Cleanup-image /Restorehealth.
Then run sfc /scannow and wait until it reaches 100%.
Microsoft’s guide also suggests keeping 10% to 15% of the drive free and running chkdsk /f /r if you suspect disk errors.
Restore, uninstall or reset
If a recent update, driver or app triggered the error, Microsoft says a restore point or Startup Repair is the best option.
| Option | Effect |
|---|---|
| Uninstall a recent update | Keeps your files and apps |
| System restore point | Rolls back system files and settings, not personal files |
| Reset this PC | Reinstalls Windows and lets you keep or remove personal files |
| Installation media | Reinstalls Windows, and a clean install removes everything |
Have your BitLocker recovery key ready for most recovery options on an encrypted drive.
Save a crash dump for later analysis
A saved dump lets you or a technician identify the faulty driver after the PC restarts.
- Search the taskbar for Advanced system settings and press Enter.
- On the Advanced tab, select Settings under Startup and Recovery.
- Under Write debugging information, choose Automatic memory dump.
- Select OK and restart.
Small dumps land in %SystemRoot%\Minidump, and the larger ones in %SystemRoot%\MEMORY.DMP.
Open the file in WinDbg on another PC, set the Microsoft symbol path and run !analyze -v.
Microsoft says the module names in STACK_TEXT, such as a .sys driver, point to the likely culprit.
Driver Verifier for repeat crashes
If the error keeps returning, Microsoft lists Driver Verifier as a way to isolate drivers and validate what they do.
Start with suspicious drivers, such as any updated just before the crashes began.
Microsoft warns that it can slow the PC and cause more crashes, and that it does not run in Safe Mode.
If you write drivers
Microsoft says to run the !analyze and !apc debugger extensions to see the APCs involved.
It also recommends Static Driver Verifier with the CriticalRegions rule to check that your code uses these calls in the right order.
When to contact support
If a third-party driver or file system filter is named, contact its vendor with the stop code and dump file.
Use your PC maker for firmware and BIOS updates that Microsoft lists among its general stop error steps.
Sources and related guides
- Microsoft Learn: Bug Check 0x1 APC_INDEX_MISMATCH
- Microsoft Learn: advanced troubleshooting for stop errors
- Microsoft Support: update drivers through Device Manager
- Microsoft Support: recovery options in Windows
- Our guide to blue screens on Windows 11
- MEMORY_MANAGEMENT blue screen fix
More Windows error guides
- How To Fix KERNEL_MODE_HEAP_CORRUPTION Blue Screen
- How To Fix BAD_SYSTEM_CONFIG_INFO Blue Screen
- How To Fix ATTEMPTED_WRITE_TO_READONLY_MEMORY Blue Screen
- How To Fix IO1_INITIALIZATION_FAILED Blue Screen
- How To Fix MACHINE_CHECK_EXCEPTION Blue Screen
- How To Fix VIDEO_SCHEDULER_INTERNAL_ERROR Blue Screen
See all: Windows 11 Guides