Might be of use for some;)..
If anyone is plagued by this nuisance error message when viewing JPEG pictures under WIN 7 instead of all the wrong answers that are spouted on various support websites, try upgrading your video graphic drivers especially if there're Intel ones.
Seems they have recently re written them for this problem AIUI.
Worked a treat for moi;)...