Many reports of this error apparently occur when viewing previews of video clips in Windows Explorer, such as in the My Videos folder.
There is a possibility that the fault for these users is caused by a video codec. Unregistering and reregistering this codec can contribute to preventing the issue.
To do this, go to Start > Run and Enter:
regsvr32 /u shmedia.dll
You should receive a dialogue box informing you that the file has been unregistered (using the /u switch).
Next, go again to Start > Run and this time, type:
regsvr32 shmedia.dll
The second command re-registers the dll related to the potentially troublesome codec. Note that if you do not have this file on your PC, the problem lies elsewhere.