-
Notifications
You must be signed in to change notification settings - Fork 89
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
Unable to execute attest-tool in some windows systems #251
Comments
A little bit of googling indicates that 0x80090030 is NTE_DEVICE_NOT_READY. I don't really know what that indicates. What kind of TPM are you running against? Do any commands work? |
Thanks for the reply. Here is the TPM information : TpmPresent : True I also searched for the error code. So, i tried update the TPM firmware. But it is already uptodate. |
I am facing the same issue. It's a permission thing.
The call to the second method fails. I was able to find out that the current user was denied read access to the EK in the registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TPM\WMI\Endorsement But even after I granted read permission to the user the command failed, this time claiming (0x80280400) The command was blocked. If you run it with elevated rights it works as expected. I think it could work with the correct dwflags in the NCryptSetProperty() call but all this security stuff surpasses my intellect. |
@buhtig0815 Thanks you for the response. I am running in all the systems as administrator. Can you please tell me how to check and add permission or endorsement ? |
Mmmh, that's weird. Check: Now run your tool/command that is causing the 0x80090030 error. Then look for ACCESS DENIED results. Add permission |
@buhtig0815 Thank you. This looks like a great way to check for permissions. |
I am facing the same issue. The ProcMon tool is very helpful, thank you! It seems like I had to allow access for "everyone" for registries "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TPM\WMI\Endorsement" and HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TPM\WMI\Admin" and another one for telemetry. However, it looks like it still get's blocked somewhere in TBS and I continue receiving the same error always.
I tried to compare the Process Monitor results with and without admin, and they literally look the same. So I have no idea where it ends up being blocked. |
Tried to run 'self-test' , 'tpm-info' , getting the following error :
FAIL
Error: credential activation failed: failed to generate activate credential: NCryptGetProperty returned 80090030 (The operation completed successfully.) for key activation
I am able to run the same binary and get expected output output in some systems while in some other systems, I am getting the error mentioned.
It will be very useful if someone can point out a way to solve this error. Many Thanks.
The text was updated successfully, but these errors were encountered: