Dism /Online /Export-Driver /Destination:D:\destpath
Export all Third-Party driver including installed drivers and also the previous versions.
So in the export, there are duplicate drivers.
ExportHostDrv Export only the currently installed driver by using DI_FLAGSEX_INSTALLEDDRIVER in
SP_DEVINSTALL_PARAMS structure.
There is no need here to export the previous versions as well.
In my opinion, In Dism Export-Driver, a parameter is missing to select only the installed drivers.
or rather the opposite, a parameter to export also the previous versions in addition to the installed drivers.