Try this:
The Windows 10 Thread Stuck In Device Driver error is caused by a driver file being caught in an endless loop while it waits for the hardware to enter idle state. This is usually a driver problem and rarely hardware. Thankfully, a driver or BIOS update can fix it.
The fault usually results in a BSOD crash. If you can boot into your desktop long enough, perform the steps below. If the desktop won’t stay loaded for long enough, boot your computer into safe mode using the installation media and do it from there. Fix Windows 10 Thread Stuck In Device Driver error
Performing a series of updates will usually fix this error.
1. Update your graphics and audio drivers to the latest versions.
2. Perform Windows update and install all updates.
3. Update your motherboard BIOS to the latest version.
Performing a BIOS update is a serious process and instructions vary depending on motherboard manufacturer. Fortunately, most newer boards offer simple upgrade paths that can be performed from within Windows (if you can load it) or from USB. Many users I have spoken to said that their error disappeared after updating their BIOS so it is well worth considering.