Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Access denied on the registry

Reply
 
Old 11-27-2007   #1 (permalink)
Jean-Charles Meyrignac


 
 

Access denied on the registry

I'm trying to install VS2008 since yesterday.

It crashes when it tries to install Document Explorer 2008.
So, I ran the Document Explorer installer, and the exact error is:

Error 1402.
Unable to open key
HKEY_LOCAL_MACHINE\Software\Classes\SOFTWARE\Microsoft\HTMLHelp\2.0\LocalReg\HxDS.HxRegister.1\CLSID
System error 5

Indeed, with regedt32.exe, I have no access to
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SOFTWARE\Microsoft\HTMLHelp\2.0\LocalReg\HxDs.HxRegister.1\CLSID
even though I'm an administrator of my computer, and UAC is disabled.
I also cannot remove the registry keys.

My question is: how can I remove the registry keys ?
(Reinstalling Vista is NOT an option)


My System SpecsSystem Spec
Old 11-27-2007   #2 (permalink)
Jean-Charles Meyrignac


 
 

RE: Access denied on the registry

Trying to uninstall VS2005, I get similar errors:

[11/27/07,17:58:34] Microsoft Visual Studio 2005 Professional Edition - ENU:
[2] ERROR:Error 1402.Could not open key:
HKEY_LOCAL_MACHINE\Software\Classes\VisualStudio.VSPolicyExtenderProvider.8.0\CLSID.
Verify that you have sufficient access to that key, or contact your support
personnel.



"Jean-Charles Meyrignac" wrote:
Quote:

> I'm trying to install VS2008 since yesterday.
>
> It crashes when it tries to install Document Explorer 2008.
> So, I ran the Document Explorer installer, and the exact error is:
>
> Error 1402.
> Unable to open key
> HKEY_LOCAL_MACHINE\Software\Classes\SOFTWARE\Microsoft\HTMLHelp\2.0\LocalReg\HxDS.HxRegister.1\CLSID
> System error 5
>
> Indeed, with regedt32.exe, I have no access to
> HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SOFTWARE\Microsoft\HTMLHelp\2.0\LocalReg\HxDs.HxRegister.1\CLSID
> even though I'm an administrator of my computer, and UAC is disabled.
> I also cannot remove the registry keys.
>
> My question is: how can I remove the registry keys ?
> (Reinstalling Vista is NOT an option)
>
My System SpecsSystem Spec
Old 11-27-2007   #3 (permalink)
James Matthews


 
 

Re: Access denied on the registry

install with admin rights

--

http://search.goldwatches.com/?Search=Movado+Watches
http://www.goldwatches.com/
http://www.jewelerslounge.com/
"Jean-Charles Meyrignac" <JeanCharlesMeyrignac@xxxxxx>
wrote in message news:502776F9-C9B8-485B-BA33-E08AF7B3A290@xxxxxx
Quote:

> I'm trying to install VS2008 since yesterday.
>
> It crashes when it tries to install Document Explorer 2008.
> So, I ran the Document Explorer installer, and the exact error is:
>
> Error 1402.
> Unable to open key
> HKEY_LOCAL_MACHINE\Software\Classes\SOFTWARE\Microsoft\HTMLHelp\2.0\LocalReg\HxDS.HxRegister.1\CLSID
> System error 5
>
> Indeed, with regedt32.exe, I have no access to
> HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SOFTWARE\Microsoft\HTMLHelp\2.0\LocalReg\HxDs.HxRegister.1\CLSID
> even though I'm an administrator of my computer, and UAC is disabled.
> I also cannot remove the registry keys.
>
> My question is: how can I remove the registry keys ?
> (Reinstalling Vista is NOT an option)
>
>
My System SpecsSystem Spec
Old 11-27-2007   #4 (permalink)


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Access denied on the registry

Quote  Quote: Originally Posted by Jean-Charles Meyrignac View Post
I'm trying to install VS2008 since yesterday.

It crashes when it tries to install Document Explorer 2008.
So, I ran the Document Explorer installer, and the exact error is:

Error 1402.
Unable to open key
HKEY_LOCAL_MACHINE\Software\Classes\SOFTWARE\Microsoft\HTMLHelp\2.0\LocalReg\HxDS.HxRegister.1\CLSID
System error 5

Indeed, with regedt32.exe, I have no access to
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SOFTWARE\Microsoft\HTMLHelp\2.0\LocalReg\HxDs.HxRegister.1\CLSID
even though I'm an administrator of my computer, and UAC is disabled.
I also cannot remove the registry keys.

My question is: how can I remove the registry keys ?
(Reinstalling Vista is NOT an option)
Hi Jean-Charles Meyrignac,

You will need to take ownership of the registry keys first, then you should be able to delete them. See METHED TWO step 3 in this tutorial for how to take ownership.

Take Ownership of file

Shawn
My System SpecsSystem Spec
Old 11-28-2007   #5 (permalink)
Jean-Charles Meyrignac


 
 

Re: Access denied on the registry

"James Matthews" wrote:
Quote:

> install with admin rights
>
No, it doesn't work !

I tried as follows:

1) Run as Administrator on regedt32.exe, and it's unable to access the
registry key
2) Restart/Log as administrator, and run regedt32.exe, and it's also unable
to access the registry key

I think my registry is corrupted, but I don't know how to repair it, and
installing my system again makes me want to install XP instead of Vista (I've
too much problems, even though I'm a developer !!!).

JC

My System SpecsSystem Spec
Old 11-28-2007   #6 (permalink)
Jean-Charles Meyrignac


 
 

Re: Access denied on the registry

I'm beginning to understand what happens !

It seems that some registry keys are FORBIDDEN to everybody.

I found that by executing:

psexec -s -i regedt32
(trick found on
http://www.eggheadcafe.com/software/...r-registr.aspx)

With this, I can access all registry keys.
And it appears that when I access the rights for the registry key having a
problem, it says (translated from french): no group nor user is allowed to
access to this object. However, the owner of this object can change its
rights.

And then, I have now another problem:
I have to add ADD the rights manually.
I tried to change the rights by changing the rights on the root of
HKEY_LOCAL_MACHINE (in Advanced, you can force to apply the rights
recursively), but regedt32 is unable to modify rights that don't exist !

Any idea how to repair the registry without accessing every key one by one
manually ?

My System SpecsSystem Spec
Old 11-28-2007   #7 (permalink)
jcmeyrignac


 
 

Re: Access denied on the registry

Still progressing on my problem....

I found that my computer has 729 registry keys that have no assigned
rights !
For example:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup

I think the problem may be due to installing the software with a local
account (with administrator rights), then I entered a domain and
removed this account.

I think it's a bug from Vista, since it's impossible to open the keys
that have been created by this removed account !
(Of course, it's possible with psexec -s -i regedit)

AccessEnum is unable to open these registry keys either.

I wrote a small tool that checks all registry keys and displays the
ones that are impossible to open.
The next part will be to automatically repair the rights, since I
don't think I'll have the patience to edit every of the 729 keys
manually !

I'm currently having another obscure problem while developing a Web
Service, that fails to work because it needs Windows authentication,
and it's not passed as it should.
Damn Vista !

JC


On Nov 28, 11:18 am, Jean-Charles Meyrignac
<JeanCharlesMeyrig...@xxxxxx> wrote:
Quote:

> I'm beginning to understand what happens !
>
> It seems that some registry keys are FORBIDDEN to everybody.
>
> I found that by executing:
>
> psexec -s -i regedt32
> (trick found onhttp://www.eggheadcafe.com/software/aspnet/31149193/access-denied-for...)
>
> With this, I can access all registry keys.
> And it appears that when I access the rights for the registry key having a
> problem, it says (translated from french): no group nor user is allowed to
> access to this object. However, the owner of this object can change its
> rights.
>
> And then, I have now another problem:
> I have to add ADD the rights manually.
> I tried to change the rights by changing the rights on the root of
> HKEY_LOCAL_MACHINE (in Advanced, you can force to apply the rights
> recursively), but regedt32 is unable to modify rights that don't exist !
>
> Any idea how to repair the registry without accessing every key one by one
> manually ?
My System SpecsSystem Spec
Old 11-29-2007   #8 (permalink)
Jimmy Brush


 
 

Re: Access denied on the registry

Hello,

This does sound like a registry corruption issue.

To fix the keys, you can take ownership of the keys using the advanced
security dialog (or equivalent API's), and then add the appropriate
permissions.

--
- JB
Microsoft MVP Windows Shell/User

<jcmeyrignac@xxxxxx> wrote in message
news:7f62a9fd-be5f-4338-b035-21459e203d33@xxxxxx
Quote:

> Still progressing on my problem....
>
> I found that my computer has 729 registry keys that have no assigned
> rights !
> For example:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup
>
> I think the problem may be due to installing the software with a local
> account (with administrator rights), then I entered a domain and
> removed this account.
>
> I think it's a bug from Vista, since it's impossible to open the keys
> that have been created by this removed account !
> (Of course, it's possible with psexec -s -i regedit)
>
> AccessEnum is unable to open these registry keys either.
>
> I wrote a small tool that checks all registry keys and displays the
> ones that are impossible to open.
> The next part will be to automatically repair the rights, since I
> don't think I'll have the patience to edit every of the 729 keys
> manually !
>
> I'm currently having another obscure problem while developing a Web
> Service, that fails to work because it needs Windows authentication,
> and it's not passed as it should.
> Damn Vista !
>
> JC
>
>
> On Nov 28, 11:18 am, Jean-Charles Meyrignac
> <JeanCharlesMeyrig...@xxxxxx> wrote:
Quote:

>> I'm beginning to understand what happens !
>>
>> It seems that some registry keys are FORBIDDEN to everybody.
>>
>> I found that by executing:
>>
>> psexec -s -i regedt32
>> (trick found
>> onhttp://www.eggheadcafe.com/software/aspnet/31149193/access-denied-for...)
>>
>> With this, I can access all registry keys.
>> And it appears that when I access the rights for the registry key having
>> a
>> problem, it says (translated from french): no group nor user is allowed
>> to
>> access to this object. However, the owner of this object can change its
>> rights.
>>
>> And then, I have now another problem:
>> I have to add ADD the rights manually.
>> I tried to change the rights by changing the rights on the root of
>> HKEY_LOCAL_MACHINE (in Advanced, you can force to apply the rights
>> recursively), but regedt32 is unable to modify rights that don't exist !
>>
>> Any idea how to repair the registry without accessing every key one by
>> one
>> manually ?
>
My System SpecsSystem Spec
Old 02-26-2008   #9 (permalink)
Beno


 
 

Re: Access denied on the registry

Issue: Access denied to some keys in the register, even though it was
accessed with admin rights.

I had the same problem trying to reinstall Skype. It returned an error
advising it could not access the key SPhoneParser.FoundSkypeNumber in
localmachine-software-classes. I later found these keys (and other that
could not be accessed) had no permissions set. If you click on them, you
receive a message sort of "key cannot be open". If you right click it, you
get a message sort of "you cannot see the permissions but you can change
them" (Who is the Microsoft guy who developped this modules? Weird thinking!)

1. Possible causes. A few days ago I had uninstalled Skype because it was
crashing the IE7. I decided to do a clean uninstall and used regseeker to
delete all skype entries on the register, following an advise I saw on the
web. My guess is that the application deleted most of the skype entries, but
to some of them it just deleted the permissions!

2. How I solved the problem:
First, let it be known that I tried psexec to open the register and I also
opened directly, but the results were the same.

Right click the key. The message says you "cannot see the permision but you
can change it". Okey it. Click ADD, then ADVANCED then SEEK (or FIND NOW) and
when the list of users/groups come up, choose administrator. ACCEPT twice and
then check out "Total control" to grant permissions and Accept. Get to
ADVANCE (SECURITY SETTINGS) and check the box to "include all the permissions
from the primary/parent object" (Your Windows English version may say
something a bit different. Mine is in Spanish). Click accept. At that moment,
the key should have its permissions set, equal to those of the parent key

Close the permissions window and now you should be able to access the key.
Then you can install the program which needed access to that key during
installation. If still another key comes up as unaccessible, repeat the
process with it.

Beno Ghitis


"Jimmy Brush" wrote:
Quote:

> Hello,
>
> This does sound like a registry corruption issue.
>
> To fix the keys, you can take ownership of the keys using the advanced
> security dialog (or equivalent API's), and then add the appropriate
> permissions.
>
> --
> - JB
> Microsoft MVP Windows Shell/User
>
> <jcmeyrignac@xxxxxx> wrote in message
> news:7f62a9fd-be5f-4338-b035-21459e203d33@xxxxxx
Quote:

> > Still progressing on my problem....
> >
> > I found that my computer has 729 registry keys that have no assigned
> > rights !
> > For example:
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Setup
> >
> > I think the problem may be due to installing the software with a local
> > account (with administrator rights), then I entered a domain and
> > removed this account.
> >
> > I think it's a bug from Vista, since it's impossible to open the keys
> > that have been created by this removed account !
> > (Of course, it's possible with psexec -s -i regedit)
> >
> > AccessEnum is unable to open these registry keys either.
> >
> > I wrote a small tool that checks all registry keys and displays the
> > ones that are impossible to open.
> > The next part will be to automatically repair the rights, since I
> > don't think I'll have the patience to edit every of the 729 keys
> > manually !
> >
> > I'm currently having another obscure problem while developing a Web
> > Service, that fails to work because it needs Windows authentication,
> > and it's not passed as it should.
> > Damn Vista !
> >
> > JC
> >
> >
> > On Nov 28, 11:18 am, Jean-Charles Meyrignac
> > <JeanCharlesMeyrig...@xxxxxx> wrote:
Quote:

> >> I'm beginning to understand what happens !
> >>
> >> It seems that some registry keys are FORBIDDEN to everybody.
> >>
> >> I found that by executing:
> >>
> >> psexec -s -i regedt32
> >> (trick found
> >> onhttp://www.eggheadcafe.com/software/aspnet/31149193/access-denied-for...)
> >>
> >> With this, I can access all registry keys.
> >> And it appears that when I access the rights for the registry key having
> >> a
> >> problem, it says (translated from french): no group nor user is allowed
> >> to
> >> access to this object. However, the owner of this object can change its
> >> rights.
> >>
> >> And then, I have now another problem:
> >> I have to add ADD the rights manually.
> >> I tried to change the rights by changing the rights on the root of
> >> HKEY_LOCAL_MACHINE (in Advanced, you can force to apply the rights
> >> recursively), but regedt32 is unable to modify rights that don't exist !
> >>
> >> Any idea how to repair the registry without accessing every key one by
> >> one
> >> manually ?
> >
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
ActiveX control denied registry access Vista security
Access Denied for Registry Entries Vista security
When standard users access Vista registry remotely, Access Denied Vista account administration
Registry - Access Denied Vista General
Access denied in registry with regedit Vista security


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46