After doing a clean install of Windows 7 on my main desktop PC, I installed Windows Media Encoder 9 to assist in video file conversions to WMV format for my Zune. When I tried to run this command to do a batch conversion,
c:\Windows\System32\cscript.exe “C:\Program Files\Windows Media Components\Encoder\WMCmd.vbs” -input “C:\Users\Public\Recorded TV\ER_TNTP.mpg” -output “C:\Users\Public\Recorded TV\ER_TNTP.wmv” -loadprofile “c:\Dave’s Files\VideoTools\zune_profile_hd.prx” -v_clip 0 2 0 0
this error message dialogbox appears on the screen,
This error is related to the Data Execution Protection feature in the Windows OS, and the system won’t run the VisualBasic script to do the conversion. The proper corrective action is to use this HotFix supplied by Microsoft titled, “Hotfix entitled: FIX: You may experience issues when you use Windows Media Encoder 9 Series on a computer that is running Windows Vista”. After installing this HotFix (originally designed for Vista), I can run this conversion script with no issues.
So if you’re running Windows 7 or Vista and you see this error when trying to use Windows Media Encoder in batch mode, here’s your fix! 🙂