The Error might also read as "HP cue scanning flow component problem" when trying to scan something. T0 resolve this error message all you need to is first execute the hpqdstcp.exe file in the C:\Program Files\Hewlett-Packard\Digital Imaging\bin folder.
You are near in solving the error, just Follow This link and perform the steps carefully. the below screen give you a graphical ide on what you should change.
Type Regedit in run
In the registry window expand HKEY_LOCAL_MACHINE-Softwares-Hewlett Packard-DigitalImaging
In the Right window search for ProfileWritePath and double click on it check the path.
it should read %APPDATA%\HP\Digital Imaging\Data\Destination
Change this to %ALLUSERSPROFILE%\HP\Digital Imaging\Data\Destination and click on ok, click the below screen for visual thought.
This would resolve the HP CUE Scanning Flow Component has encountered a problem issue and if the issue persists then completely uninstall and reinstall from lower version to higher version. also try installing the software on new account(create a new user account with administrative privileges from start--control panel-user accounts).
Hope the Above information Might Help some the other, use the comments section to discuss on the HP Cue scanning flow component Error