HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler

Delete the value there, or change it to something non-existant so Windows doesn't know what to do with that file type so does nothing strange. You can probably do it to other media types causing problems too, I think