wiadefui.dll Error in Windows 10 and 11: Scanner dialog errors

An application fails when it opens a scanner selection or scan settings dialog, naming wiadefui.dll.
What this DLL does
This Windows component is associated with the default Windows Image Acquisition interface used by supported scanners and applications.
Start with this check
Open a second supported scanning app and see whether it can select and preview the device. Note which selections or scan modes fail.
Write down the exact message, the time, and what you were doing. If the application closes, open View reliability history from Start, select the matching failure, and copy its technical details. An exception code, full module path and application version help identify the next test.
Choose the appropriate repair
Update compatible scanner software before changing Windows. If the device works elsewhere, use the affected app’s supported repair path. If no app sees it, check the device’s approved driver and connection.
Use Microsoft’s application repair options when only one program fails and its publisher supports those options. If multiple built-in Windows features fail and there are signs of Windows system file corruption, follow Microsoft’s DISM and System File Checker instructions in that order. Use trusted Windows or publisher packages when restoring DLLs.
Verify the result
Open the scanner dialog, preview a page and save a test image to a folder you can access. Keep the original error information until the same operation also works after a restart.
The DLL Errors & Fixes Library includes related troubleshooting, including wiaaut.dll. Reference: Microsoft’s Windows Image Acquisition documentation.