Link to home
Create AccountLog in
Avatar of leatherleaf
leatherleafFlag for United States of America

asked on

Change File Association Using Group Policy

I've seen a lot of posts here about changing which program opens different file types/extensions, but I can't get this to work. All I want to do is set a group policy which forces all .jpg and .jpeg files to open using Windows Picture and Fax Viewer. I have tried exporting/importing the registry keys under HKEY_CLASSES_ROOT and setting the ftype for jpegfile. Neither will work. The files are still opening under a different program. Can someone please give me a clear, specific set of steps to get this change made? Thanks
ASKER CERTIFIED SOLUTION
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
I saw the posting and figured this was a perfect fit for the article. Thanks for posting mkline.

To be honest this is defintiely one of the tasks the GPP goes above and beyond any of the old ways of doing it. Assuming that you have the pre-reqs needed to use GPP I would highly reccomend this approach.
It is a great article, thanks for writing it.

...anyone that comes across this question make sure to mark the article as helpful :)
Avatar of leatherleaf

ASKER

This is great, but what if a user has set the class, jpeg image, to open with Internet Explorer? Changing the class doesn't necessarily change the application. I tried this solution and it didn't work if the end user had changed jpg to open with IE, Paint, etc under Folder Options>File Types.
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
What I ended up doing was pushing out the registry key below with group policy via a logon script. This seems to be working great.

Thanks for all the help, though, it got me looking in the right direction!

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg]
"Application"="shimgvw.dll"