Certificate Import Error – ‘Exception from HRESULT: 0x80070005’

KB ID 0000818 

Problem

Seen on Windows Server 2012 when trying to complete a certificate request.

HResult 0x80070005

There was an error while trying to perform this operation
Details:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Solution

1. Open Windows Explorer and navigate to;

C:ProgramDataMicrosoftCryptoRSAMachineKeys

Note: ProgramData is a hidden folder.

2. Open the folder properties > Security > Advanced > Permissions.

Certificate Permissions

3. Make sure the Administrators group, has the following rights to ‘This folder, subfolders, and files’ > Full control.

Admiistrators Certificate Rights

4. Make sure the Everyone group, has the following rights to ‘This folder only’ > Select ‘Show advanced permissions’.

List folder/read data>
Read attributes
Read extended attributes
Create folders/append data
Write attributes
Write extended attributes
Read permissions</br

Everyone Certificate Rights

 

Related Articles, References, Credits, or External Links

NA

Author: Migrated

Share This Post On