Blue Screen, unexpected shutdown on Windows Server 2012! (APC_INDEX_MISMATCH)

bsodbugunexpected-shutdownwindows-server-2012

We have 2 new servers set up to allow remote desktop sessions throughout the warehouse. Intermittently we get complaints that the session has stopped working or has frozen. When we check the servers they have a blue screen with the error APC_INDEX_MISMATCH(fltmgr.sys)

I've been doing research and to no avail. It doesn't seem like this issue is solvable.Like it might be a bug issue with Microsoft. Below is the dump file information. It tells you the Bug Check String, Caused By Driver and Crash Time.

Please help me troubleshoot this!![Mini dump info on blue screen error][1]

Best Answer

There isn't enough data provided here to troubleshoot for certain, but I am pretty confident that you have a misbehaving device driver loaded on your system(s) that needs updating.

fltmgr.sys is the Filter Manager kernel mode driver. Many so-called "mini-filters" plug in to this Filter Manager architecture. These mini-filters are provided both by Microsoft and by third-party vendors to provide additional functionality to the system, such as on-access antivirus scanning, file and folder redirection, etc. So the bug check is pointing to fltmgr.sys, but fltmgr.sys is just an "umbrella" that's covering the underlying bad actor.

The APC_INDEX_MISMATCH stop code means that a driver called a routine to disable an APC (asynchronous procedure call) without also calling its matching routine to re-enable the APC when it left a guarded or critical region.

Developers have to be very careful when writing device drivers and it's easy to make mistakes when writing device drivers.

You'd use a kernel debugger with the crash dump to further investigate exactly which thread was the culprit, which would lead you to a particular device driver, which I would bet money needs to be updated.

"Update your drivers" is about all I think we can give you with the data that we have.