-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR Installing Anything: Requested registry access is not allowed. #335
Comments
@michaelsearcy Did you buy chance not have .NET Framework 4.0 installed before you ran the installer? From what I'm finding it may be related to the install of the framework, based on setting a permissions key in the registry and may require a reboot. Some of the references will have you apply some changes, I think it may be simpler to attempt to reboot first and see if it fixes the issues. References: |
The last one mentioned I need to set things up so that choco always runs in admin mode - http://stackoverflow.com/questions/562350/requested-registry-access-is-not-allowed I don't want to go that route if I don't have to - we have folks use choco without admin access and this would remove their ability to do so. |
Quick question, you are admin - are you running an administrative command prompt? Usually choco can detect that (in this case choco thinks all is good) and warn the user, but it's not a 100% detection. |
4.5 is fine |
Hmm... Is there a chance this is x64 only? No syswow64 support for 32 bit programs? Just trying to determine if a key is missing...or 32 bit only? |
You lost me. How can I answer your last question? |
Sorry, was asking if this was a 64bit system? |
Tell me if you have the following keys:
|
Could be that last key is the issue |
We also attempt to open with read permissions - |
… So what do I do? |
I'm guessing that is likely the issue. I'm going to have you try something for me. |
Actually I don't have that key either. Hmmm |
If you were to create the key structure, I'm guessing you are still going to run into this error. |
Why me? I want to use chocolatey. What can I do? What did I do wrong? I'm thinking it must be something else if you also don't have the key. |
I'm leaning towards permission on a particular key in the registry in the uninstaller group that you don't have access to. I'll work on a way to report if the key is not accessible, but in the meantime you should take a look at all of the uninstaller keys and grab the permissions for evaluation. I believe setacl will iterate through and tell you the permissions on the registry keys so you can quickly gather all of those. https://helgeklein.com/setacl/ |
OK I am totally lost. I downloaded and unzipped this SetACL tool what do i do now? |
@michaelsearcy apologies, I don't know the exact command to inspect the values. You are looking for viewing or auditing the keys and looking for an anomaly. Not the most fun thing in the world to do. |
It is likely a subkey. I will have a build out in a bit for you to try |
Sometimes there may be issues accessing a key in the registry, don't allow it to stop capturing a snapshot. `Requested registry access is not allowed` is the error seen with GH-335.
Sometimes there may be issues accessing a key in the registry, don't allow it to stop capturing a snapshot. `Requested registry access is not allowed` is the error seen with GH-335.
Pull down 0.9.9.7 and see if it warns on the error and continues. |
Then we'll know if that fixes the issue you are running into and we can close this out. |
@michaelsearcy ping - when you get a chance :) |
OK So when you say pull down, I am assuming you mean reinstal with command line like I did @ first or downloading the source and doing my own build. I'm sorry I have limited github exposure. |
@michaelsearcy sorry, I meant reinstall from the command line. |
Looks like you are moving forward now. :) |
Fixed as part of #337 |
Thanks for working so quick on this btw |
No worries - thanks for working with me to resolve the issue! :) |
Gist of my -dv log
Clean install using the code described on the GitHub page for command line installation.
Chocolatey is in the PATH and I am admin. I have no idea what this means.
The full error:
I have 0 issues installing the GUI way.
The text was updated successfully, but these errors were encountered: