Why can't I open .jpg files?

My computer is not letting me open .jpg files. I get error messages - “No file format information can be found in Registry” and “Unknown file format”.

How do I fix this?

do you know the files are good jpg files?

Yes, they’re good jpg files with .jpg file extensions.

What OS are you using? I’m assuming Windows, with the reference to the registry, but what version?

You might try right-clicking it and click “Open with…” and look for Windows Picture Viewer or something similar.

It’s Windows XP.

That seems to work, but it’s cumbersome to open a series of pictures with that method. How do I change things to allow opening on double clicking?

It might be worth resetting the association for jpg files. Go to the control panel then open Folder Options, click the File Types tab and scroll down to JPG. You can re-associate it with the program you want to open JPG files.

If that doesn’t work, maybe it will lead to an error that provides more clues about what’s wrong.

OK. I got to the FileTypes tab and found JPG. It tells me that JPG opens with Microsoft Photo Editor, which is what I expect, but all the control buttons are greyed out - I can’t go beyond this. This is true for all the file types in the list.

Just right click on the file and go to properties

About a third of the way down it’ll say Opens with and they’ll be a button for change. Click that.

You can choose from the recommended programs, or you can choose browse and pick your favourite picture viewer.

Since they don’t have permissions to change the setting through the control panel I don’t think they will be able to that way either.

My hunch is that you may be having this issue:

Note that you should be very careful if editing the registry. It looks like a simple fix but be sure to follow the MS knowledgebase article to the letter if you attempt it or even bigger problems could ensue.

Lack of control panel permissions shouldn’t affect the regular settings. I know–I run into this problem a lot when running as a Limited User.

Just right click, select Open With, and if a submenu opens, select “choose program.” then select the appropriate program, and check “Always use selected program with this type of file.”

That said, if it is the bug mentioned above, that probably won’t work. But registry control has nothing to do with it.

I didn’t mean to imply permissions to change the registry.

It is a permission setting that is granted or denied by a registry key to allow user accounts in general to access graphics filters. Apparently an MS Office installation can cause it to be set to block access to all users.

Changing the permission setting in that registry key is the solution to that problem but that would definitely require the user account currently logged in to have access to edit the registry.

The KB article that I cited begins with instructions to log in as Administrator. If jebert does so they will be able to both edit the registry key and change file associations through the control panel if they wanted to. But changing the file association isn’t required. They already said the program that is selected is the one they want.