Go to Control Panel, uninstall HP printer application, remove the Microsoft Security Update, then reinstall HP printer software. HP Document Viewer should work fine after performing these operations.
Other questions about "How to open scanned jpg files"