Registry file association error

G

Guest

Upon creation of a new user account, their are a number of file association
errors.
For this post I will only focus on the jpeg file type.

Basically, I have the same problem as this guy:
"when i try to open a jpeg on my account in xp home edition, there is no
programme available, i select one from the drop down list and tick the box to
select this option everytime but it still happens each time i try again,
there are three other accounts on this computer and none of them are affected
with the same problem, i have tried reinstalling from the disc..no change,
tried virus checking, none found, run spyware programmes, no problems...am
now at a total loss?? any suggestions"

The suggested downloadable 'fixers' encounter errors and therefore are not
of any use. However, upon attempting to apply this solution I encounter the
following:

"Most likely caused by incorrect registry permissions.

Open Regedit.exe and navigate to:

HKEY_CLASSES_ROOT\.jpeg

Right-click and choose Permissions

Add "Administrators" to the list, and give them "Full Control"

Repeat the same for the following branches:

HKEY_CLASSES_ROOT\.jpg
and
HKEY_CLASSES_ROOT\jpegfile"

I noticed that when I try to navigate to the "HKEY_CLASSES_ROOT\.jpg"
registry key - it is missing. Although the "HKEY_CLASSES_ROOT\jpegfile" is
there but clicking on it gives me the following error:
"Error opening key - Cannot open jpegfile: Error while opening key"

Any help in this matter would be greatly appreciated.


Thankyou.

P.S. See:
http://www.microsoft.com/windowsxp/...-8EB7A22FC6A0&dglist=&ptlist=&exp=&sloc=en-us
- for the full post of the extracted portions described above.
 
G

Guest

I forgot to mention, attempting to alter the permissions for the effected
registry keys gives the following:
"You do not have persmission to view the current permission settings for
jpegfile, but you cann make permissions changes."

Unfortunately this means that I can select the "Full control" checkbox for
that user account.
 
W

Wesley Vogel

Windows® XP File Association Fixes
Copyright 2003 - Doug Knox
http://www.dougknox.com/xp/file_assoc.htm

Read the instructions. Then get...

JPE/JPG/JPEG Association Fix (Restore the default associations for
jpe/jpg/jpeg files)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
G

Guest

Please see original post: "The suggested downloadable 'fixers' encounter
errors and therefore are not
of any use."(reg file location): Error accessing the registry"

I've already tried it. no good. I get the following error:
"cannot import

Unfortunately at this time, nothing works. A microsoft technitian I called
is also having problems trying to resolve the issue.
 
G

Guest

note to self: don't alt-tab when writing posts as the typing cursor doesn't
remember its location lol.

Here's the grammatically correct version of my last post:

Please see original post: "The suggested downloadable 'fixers' encounter
errors and therefore are not of any use."

I've already tried it - no good. I get the following error:
"cannot import (reg file location): Error accessing the registry"

Unfortunately at this time, nothing works. A microsoft technician I called
is also having problems trying to resolve the issue.
 
U

Uncle Grumpy

Pastaboy said:
Unfortunately at this time, nothing works. A microsoft technician I called
is also having problems trying to resolve the issue.

Maybe that technician can't keep up with your constant revisions of
what you've posted/said.
 
G

Guest

The technician is a smart guy, its just that my problem doesn't easily fit
into many troubleshooting catagories. Personal attacks such as your post are
not appreciated, espeacially in this kind of forum.

If you want to troll, go to: http://forums.worldofwarcraft.com/ and troll
till your hearts content. But just don't do it here. This forum is meant to
be serious/honest.
 
W

Wesley Vogel

My crystal ball is broken, so I have no way of knowing what "The suggested
downloadable 'fixers'" might be.

Good luck with your "microsoft technitian".

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
C

cquirke (MVP Windows shell/user)

On Fri, 5 May 2006 09:17:42 -0600, "Wesley Vogel"
My crystal ball is broken, so I have no way of knowing what "The suggested
downloadable 'fixers'" might be.

Hi! I've just arrived, what's the problem with JPG? Maybe I can help
if I hear the original tale (the head of this thread is long gone off
my news server, and I've been away a while). At the risk of covering
the basics all over again...

There are three UI levels to managing file associations:

1) Crude and brutal

Shift-rt-click, Open With
Choose the app you want
[X] Always Open With ...

Alternatively:

File Manager (WinFile.exe)
Use the file association UI from there to force an action

Nukes the file association back to Win3.yuk-era "ook, see file; ug,
open with rock". Non-default actions, DDE detail etc. typically lost.

2) More refined, but limited

Windows Explorer; Tools, Folder Options, File Types
Edit, or in the case of XP, Advanced and then Edit

This lets you add non-default actions, set an action as default,
change the icon for the file type, edit DDE detail etc. without
barfing up any existing actions that are already there. But your
access may be blocked by EditFlags settings (e.g. can't edit the
action called "open") and you can't do hairy CLSID stuff, and may not
be able to link/unlink .ext from an aggregate file type.

3) Full power, with difficulty

Regedit. Note that in XP, HKCR is an overlay of the relevant material
in both HKLM and HKU, so you may need to edit these directly if they
are at variance - suspect this if different user accounts work
differently, or the 'administrator' account used by Safe Mode works
differently to the account you normally use.

Simple file associations work like snakes-n-ladders; one or more .ext
(e.g. .jpg and .jpeg) are linked to an aggregate file type (e.g.
SomePiggyGraphicsAppFile), and when you find the aggregate, you find
the actions listed under that. By default, .jpg and .jpeg link to
jpegfile (or if I remember wrong, jpgfile).

Not all file associations are simple! Things get hairy when there's
inheritence (e.g. File Folder inheriting Folder actions) and whenever
CLSIDs are involved. Also, some environments may behave differently,
e.g. when files of that type are encountered within IE or a
Mozilla-based web browser.
 
W

Wesley Vogel

Hi Chris,

Here's the OP...

<quote>
Upon creation of a new user account, their are a number of file association
errors.
For this post I will only focus on the jpeg file type.

Basically, I have the same problem as this guy:
"when i try to open a jpeg on my account in xp home edition, there is no
programme available, i select one from the drop down list and tick the box
to
select this option everytime but it still happens each time i try again,
there are three other accounts on this computer and none of them are
affected
with the same problem, i have tried reinstalling from the disc..no change,
tried virus checking, none found, run spyware programmes, no problems...am
now at a total loss?? any suggestions"

The suggested downloadable 'fixers' encounter errors and therefore are not
of any use. However, upon attempting to apply this solution I encounter the
following:

"Most likely caused by incorrect registry permissions.

Open Regedit.exe and navigate to:

HKEY_CLASSES_ROOT\.jpeg

Right-click and choose Permissions

Add "Administrators" to the list, and give them "Full Control"

Repeat the same for the following branches:

HKEY_CLASSES_ROOT\.jpg
and
HKEY_CLASSES_ROOT\jpegfile"

I noticed that when I try to navigate to the "HKEY_CLASSES_ROOT\.jpg"
registry key - it is missing. Although the "HKEY_CLASSES_ROOT\jpegfile" is
there but clicking on it gives me the following error:
"Error opening key - Cannot open jpegfile: Error while opening key"

Any help in this matter would be greatly appreciated.


Thankyou.

P.S. See:
http://www.microsoft.com/windowsxp/...-8EB7A22FC6A0&dglist=&ptlist=&exp=&sloc=en-us
- for the full post of the extracted portions described above.

<quote>
--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
cquirke (MVP Windows shell/user) said:
On Fri, 5 May 2006 09:17:42 -0600, "Wesley Vogel"
My crystal ball is broken, so I have no way of knowing what "The
suggested downloadable 'fixers'" might be.

Hi! I've just arrived, what's the problem with JPG? Maybe I can help
if I hear the original tale (the head of this thread is long gone off
my news server, and I've been away a while). At the risk of covering
the basics all over again...

There are three UI levels to managing file associations:

1) Crude and brutal

Shift-rt-click, Open With
Choose the app you want
[X] Always Open With ...

Alternatively:

File Manager (WinFile.exe)
Use the file association UI from there to force an action

Nukes the file association back to Win3.yuk-era "ook, see file; ug,
open with rock". Non-default actions, DDE detail etc. typically lost.

2) More refined, but limited

Windows Explorer; Tools, Folder Options, File Types
Edit, or in the case of XP, Advanced and then Edit

This lets you add non-default actions, set an action as default,
change the icon for the file type, edit DDE detail etc. without
barfing up any existing actions that are already there. But your
access may be blocked by EditFlags settings (e.g. can't edit the
action called "open") and you can't do hairy CLSID stuff, and may not
be able to link/unlink .ext from an aggregate file type.

3) Full power, with difficulty

Regedit. Note that in XP, HKCR is an overlay of the relevant material
in both HKLM and HKU, so you may need to edit these directly if they
are at variance - suspect this if different user accounts work
differently, or the 'administrator' account used by Safe Mode works
differently to the account you normally use.

Simple file associations work like snakes-n-ladders; one or more .ext
(e.g. .jpg and .jpeg) are linked to an aggregate file type (e.g.
SomePiggyGraphicsAppFile), and when you find the aggregate, you find
the actions listed under that. By default, .jpg and .jpeg link to
jpegfile (or if I remember wrong, jpgfile).

Not all file associations are simple! Things get hairy when there's
inheritence (e.g. File Folder inheriting Folder actions) and whenever
CLSIDs are involved. Also, some environments may behave differently,
e.g. when files of that type are encountered within IE or a
Mozilla-based web browser.


--------------- ---- --- -- - - - - I'm baaaack!
--------------- ---- --- -- - - - -
 
C

cquirke (MVP Windows shell/user)

On Sun, 7 May 2006 10:02:41 -0600, "Wesley Vogel"
Hi Chris
Hi!

Here's the OP...
<quote>
Upon creation of a new user account, their are a number of file association
errors. For this post I will only focus on the jpeg file type.

OK; we already have some clues...
- the problem is limited to one account (HKU & NTUSER.DAT)
- it's a newly-created account (is Default User corrupted?)

New accounts are generally built upon the Default User account
template (it's an account in the D&S sense of the word, but you can't
log into it), and thus use the NTUSER.DAT there.

Try creating another new account - if that also fails, then it's a
problem inherited from the template, or boilerplate defaults.

Are there any programs installed in this new account that aren't in
other accounts, or that were installed after those were created?

Is there anything different about the rights assigned to this account?
Basically, I have the same problem as this guy:
"when i try to open a jpeg on my account in xp home edition, there is no
programme available, i select one from the drop down list and tick the box
to select this option everytime but it still happens each time i try again,
there are three other accounts on this computer and none of them are
affected with the same problem, i have tried reinstalling from the disc..no change,
tried virus checking, none found, run spyware programmes, no problems...am
now at a total loss?? any suggestions"

That it is account-specific, points away from HKLM, Win.ini
associations etc. (which are system-wide) and towards HKU.
"Most likely caused by incorrect registry permissions.
Open Regedit.exe and navigate to:

Right-click and choose Permissions
Add "Administrators" to the list, and give them "Full Control"
Repeat the same for the following branches:
HKEY_CLASSES_ROOT\.jpg
and
HKEY_CLASSES_ROOT\jpegfile"

Repeat that advice with HKCU\Software\Classes - this is the per-user
file associations that is laid over HKLM\Software\Classes to create
what you see as "HKCR".

When you opetrate on HKCR, it's not clear to me whether you are
operating on the HKLM or HKCU set of Classes.
I noticed that when I try to navigate to the "HKEY_CLASSES_ROOT\.jpg"
registry key - it is missing. Although the "HKEY_CLASSES_ROOT\jpegfile" is
there but clicking on it gives me the following error:
"Error opening key - Cannot open jpegfile: Error while opening key"

Sounds like a spot of registry corruption. Try deleting any .jpg,
..jpeg or .jpegfile in HKCU\Software\Classes in case there's broken
material there that is masking HKLM\Software\Classes


------------ ----- ---- --- -- - - - -
Our senses are our UI to reality
 
K

konaboy12

Hmmm. Didn't completely read the forum, and answered a completel
different question. Sorry
 
K

konaboy12

Hey, 1st post!...Anyways, not sure if this will help you or not

I had the same problem when trying to reassociate one of my files to
exe file that I moved. What I did was (which was a bit reckless, bu
ended up working)

(1) change all registry values pointing to the old *.exe location t
the new *.exe location

(2) using regedit, go to: HKEY_CLASSES_ROOT/applications/(your ex
file here)/shell/open/comman
-make sure the data format is as follows
"(path to the exe file)" "%1

The problem was that one of my quotation marks were missing in tha
last step! And when I changed it, was able to reassociate th
old-fashioned way in the file properties. I was just missing
stupid little

Lemme know if it works
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top