![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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 Specs![]() |
| | #3 (permalink) |
| | 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 Specs![]() |
| | #4 (permalink) |
| Vista x64 Ultimate SP2, Windows 7 Ultimate x64 | Re: 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) 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 Specs![]() |
| | #5 (permalink) |
| | Re: Access denied on the registry "James Matthews" wrote: Quote: > install with admin rights > 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 Specs![]() |
| | #6 (permalink) |
| | 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 Specs![]() |
| | #7 (permalink) |
| | 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 Specs![]() |
| | #8 (permalink) |
| | 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 Specs![]() |
| | #9 (permalink) |
| | 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 Specs![]() |
![]() |
| 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 | |||