Error reading device driver information 'ThrowExceptionForHRInternal'
Issue
When scanning a Windows machine the agent fails when reading device driver information and the following error is seen
System.Runtime.InteropServices.COMException (0x800706BE) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
Cause
This error can be caused when there are excessive volume shadow copies created for a drive.
Resolution
View the shadow copies configured for the drives on the Windows machine and remove as necessary.
More Information
The WMI query causing the issue can be tested directly by executing the following WQL using wbemtest.exe.
SELECT * FROM Win32_PnpSignedDriver