Link to home
Start Free TrialLog in
Avatar of sedberg1
sedberg1

asked on

Prevent Opening Certain Files in WMP

I need to add WMP to my XP clients so they can listen to MP3s.  I'd like to disable any access to other multimedia file extensions, so they can't open anything other than MP3s.  Anyone have suggestions on how to do that?
Avatar of Brian B
Brian B
Flag of Canada image

You might need to use registry changes to remove the file association between other audio file types and WMP, or you could lock it in by policy. Although that won't stop the user from manually opening the file in WMP.
Avatar of sedberg1
sedberg1

ASKER

and how would i do that?

I tried going to HKEY_CLASSES_ROOT and changing the permissions on .wmv (for a test) so everyone had Deny Full Control. Didn't do much.  Rahter than block access to the file type, it would prompt a user for the application to open it.
You could remove WMP with the add/remove windows components tool in control panel and install Free WinAmp Lite and during setup deselect any video support.  (Deselect all the toolbar and extra garbage too).It plays a wide variety of audio files, but not so much in the video department.  Unless users have install rights, they shouldn't be able to add any plugins for any video files it may be able to support with additional downloaded plugins.

They can't play what an app doesn't support.
Just to be certain you are DENYing the right spot in the registry....

HKEY_CLASSES_ROOT\.wmv

Depending on your version, you might see a different "Default" value... Mine is "WMP11.AssocFile.WMV"

That means you would DENY the rights to "HKEY_CLASSES_ROOT\WMP11.AssocFile.WMV"

Course there are a ton of other keys related to WMP11 under HKCR, that you might need to DENY as well, for various formats/extensions.....
As written:
"I tried going to HKEY_CLASSES_ROOT and changing the permissions on .wmv (for a test) so everyone had Deny Full Control."

Also did this on WMVFILE key in HKEY_CLASSES_ROOT.  No go.  I guess I'll have to look through the entire hive and see any references to wmv.  If I can get it to block WMV, then I should be able to reproduce the same actions (hopefully) to get the others blocked.
ASKER CERTIFIED SOLUTION
Avatar of Brian B
Brian B
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I don't think that method will prompt for an association, rather result a generic "Access Denied".....

Its a tough predicament fer sure....