Re: kernel apc pending during exit
please have a look at the following forum thread and my posts: https://answers.ea.com/t5/Technical-Issues/Blue-Screen-of-Death-after-closing-BF2042/m-p/13138651#M54447
https://answers.ea.com/t5/Technical-Issues/Blue-Screen-of-Death-after-closing-BF2042/m-p/13138964#M54456
I was also affected by this BSOD (KERNEL APC PENDING DURING EXIT) issue when exiting BF2042.
My system
ASUS ROG Strix X570-E Gaming
AMD Ryzen 9 5950X
64GB DDR4-3600
The issue seems to be related to some ASUS drivers and EA Anti-Cheat and there is also a forum post on EA Answer HQ here: https://answers.ea.com/t5/Technical-Issues/Blue-Screen-of-Death-after-closing-BF2042/td-p/13088702
I solved it temporarily by disabling the ASUS drivers mentioned (no need to delete them, just disable them for your gaming session until the issue is resolved by EA or ASUS).
system32\drivers\AsIO2.sys
system32\drivers\AsIO3.sys
SysWOW64\drivers\AsIO.sys
SysWOW64\drivers\AsUpIO.sys
To disable those ASUS drivers, you can either do so by editing the following registry entries:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AsIO
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AsUpIO
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Asusgio2
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Asusgio3
and set the start type of each of those services (drivers) to manual:
"Start"=dword:00000003
or use the following software: ServiWin http://www.nirsoft.net/utils/serviwin.html
Please note that disabling these ASUS drivers will have an impact on software such as ASUS AI Suite or other ASUS fan software!
(I don't use ASUS AI Suite or any other ASUS fan controlling software as I use the software ICUE on my system.)
I hope this helps in the meantime 😉
EDIT: According the post from @SilverChris10 it is enough to just disable Asusgio2 and Asusgio3 - see: https://answers.ea.com/t5/Technical-Issues/Blue-Screen-of-Death-after-closing-BF2042/m-p/13139125#M54461