registry key deletion

N

novrad

I've got a stubborn registry called ".tiff" and it's preventing me from
repairing, deleting, and (re)installing a program. I get the familiar 1402
error message - Error 1402. Could not open key:...

How do I get the necessary permission to delete this key? I've gone into
permissions but I can't seem to get it right. Incidentally the key is
HLKM/Software\Classes\.tiff
 
P

Paul Montgumdrop

novrad said:
I've got a stubborn registry called ".tiff" and it's preventing me from
repairing, deleting, and (re)installing a program. I get the familiar
1402 error message - Error 1402. Could not open key:...

How do I get the necessary permission to delete this key? I've gone into
permissions but I can't seem to get it right. Incidentally the key is
HLKM/Software\Classes\.tiff

What are you getting permission denied or what?
 
N

novrad

I need to uninstall and reinstall Adobe Photoshop Elements due to a quirk in
the program. When I try to delete or do a repair it gets to the end of the
install/repair and a windows opens with the following message:

Error 1402.Could no open key:
HKEY_LOCAL_MACHINE\Software\Classes\.tiff\OpenWithList\PhotoshopElementsEditor.exe.
Verify that you have sufficient access to that key, or contact your support
personnel.

It won't let me touch the permissions. If you can give me some insight into
this I'd appreciate it.
 
P

Paul Montgumdrop

novrad said:
I need to uninstall and reinstall Adobe Photoshop Elements due to a
quirk in the program. When I try to delete or do a repair it gets to the
end of the install/repair and a windows opens with the following message:

Error 1402.Could no open key:
HKEY_LOCAL_MACHINE\Software\Classes\.tiff\OpenWithList\PhotoshopElementsEditor.exe.
Verify that you have sufficient access to that key, or contact your
support personnel.

It won't let me touch the permissions. If you can give me some insight
into this I'd appreciate it.

Here is what I suggest you do to see the problem with permissions as
user/admin please do the test so you may understand:

1) Go to the Program Files and create a new directory call it *Test*.
Vista should allow you to create the directory even as you being Admin
on the machine.

2) Start Notepad enter some text and try to SaveAs with the file to
Program Files/Test. You should get permission denied. Yeah, you're
getting it even if the account you're using is your Admin account.

3) Come out of Notepad, forget the save, and cancel out of Notepad.

4) Go to the directory and to the Security tab for the directory and add
a new account to the security account list. It's going to be the User
account you login to the computer with as Admin. If you login with
*novrad * as admin on the machine, then you're going to add *novrad * as
another account that will have access to the directory.

5) You'll set *novrad* to have Full Control just as Administrators has
Full Control of the folder.

6) Go back to step # 2 with Notepad and try to SaveAs the file to
Program Files\Test. You should be able to save the file.

Hopefully, you'll see the issue of account permissions conflict for the
user/admin on Vista.

On one hand, your account is in the Administrators group account. But on
the other hand, your account is part of the User group account. If your
user account *novrad* is not on the folder with the same rights as as
Administrators, there is going to be a permissions conflict, because
Vista with UAC enabled is looking at the combined rights of those two
accounts in some situations.

What Vista defaults to is Users account group permissions on the
directory if it doesn't see your individual user account on the folder,
and Users doesn't have Full Control.

This is because on Vista with UAC enabled, a user/admin on Vista is not
an Admin with Full rights, like it is on XP or Win 2k.

Now after seeing what happened for this test scenario, you may see that
you need to get *novrad* on that key with the same rights as the
Administrator group. I also think Everyone is Users in the case of the
registry, and you may have to do something with it too, possibly.

You may also need to look at accounts in the Advanced Button section.
 
N

novrad

I did. Changed permissions to Everyone & administrator. When I click delete
I get a "Cannot delete .tiff; Error deleting key." It has some sub-keys but
clicking on them gives another error message about permissions. Is there a
primer on registry permissions when running Windows Vista?
 
J

Jag Chan

Here is what I suggest you do to see the problem with permissions as
user/admin please do the test so you may understand:

1)

2)

3)

4)

5)

6)

Hopefully, you'll see the issue of account permissions conflict for
the user/admin on Vista.

On one hand, your account is in the Administrators group account. But
on the other hand, your account is part of the User group account.

What Vista defaults to is Users account group permissions on the
directory if it doesn't see your individual user account on the
folder, and Users doesn't have Full Control.

This is because on Vista with UAC enabled, a user/admin on Vista is
not an Admin with Full rights, like it is on XP or Win 2k.

Now after seeing what happened for this test scenario, you may see
that you need to get *novrad* on that key with the same rights as the
Administrator group. I also think Everyone is Users in the case of the
registry, and you may have to do something with it too, possibly.

You may also need to look at accounts in the Advanced Button section.

OMG!
 

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