Windows Explorer crashes with DEP if MPEG file in directory

Ryland

Platinum Member
Aug 9, 2001
2,810
13
81
This is on a fresh installation of windows but I saw the same issue on my old installation of windows on my older hardware. Whenever I open a directory that contains mpeg video I find the explorer crashes with the following:

Data Execution Prevention

Name: Windows Explorer

It wasn't doing this until AFTER I installed Real Player. Any ideas (other than to uninstall real player). I currently have WMP set to play MPEG's so it may be something else causing this.

ideas?
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
You need an update for whatever codec is rendering mpg's for you (possibly one Real provided)...
 

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
Try going in a folder without MPEGs, doing Tools->Folder Options, and removing Real Player from any associations of .mpg files. This may also at the same time remove the shell hooks. Or better yet uninstall Real Player and see if it helps. If it does, start using Real Alternative.
 

Ryland

Platinum Member
Aug 9, 2001
2,810
13
81
I found a solution. I told windows to stop trying to preview media files in explorer and now it doesn't crash.
 

AccuGrip

Junior Member
Dec 4, 2005
1
0
0
How exactly does one get windows to stop trying to preview media files in explorer? I've been experiencing the exact same DEP problems due to .mpeg's. I'm running Windows XP.
 

Ryland

Platinum Member
Aug 9, 2001
2,810
13
81
Originally posted by: AccuGrip
How exactly does one get windows to stop trying to preview media files in explorer? I've been experiencing the exact same DEP problems due to .mpeg's. I'm running Windows XP.

The solution is here. The steps are:

Simply do the following steps:
1) Open a command window (Start->Run, type in 'cmd' hit enter)
2) To remove image preview, type and hit enter
regsvr32 /u shimgvw.dll
3) To readd image preview, type and hit enter
regsvr32 shimgvw.dll
4) To remove media preview, type and hit enter
regsvr32 /u shmedia.dll
5) To readd media preview, type and hit enter
regsvr32 shmedia.dll