Credential Manager Error 0x80070005 Access is Denied

When you open Credential Manager, the error 0x80070005 may appear. Here’s the full error message info:

Credential Manager Error

You do not have permission to save files to this location. Select a different location.

Error code: 0x80070005
Error Message: Access is Denied

credential manager error 80070005 access denied

Also, apps such as OneDrive or Outlook may be unable to save the password in the credentials database.


Incorrect file/folder permissions or a corrupted credentials history file causes the above error.


Open an admin Command Prompt window and run the following commands:

net stop vaultsvc
attrib -s -h -r "%AppData%\microsoft\protect\CREDHIST"
ren "%AppData%\microsoft\protect\CREDHIST" CREDHIST.old
net start vaultsvc

See if the Credential Manager error is resolved.

If the error reappears, fix the permissions for these two folders:



Ensure that the following accounts/groups have full control permissions for the above folders, their subfolders, and the files.

  • BUILTIN\Administrators
  • Your User account.

I hope that resolves the Credential Manager error 0x80070005.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded in 2005.

Leave a Reply