There are different reason why you may get an access denied error 0x80070005. This particular one and the following fix is only applicable when the following is met:
- Your operating system is Windows Server 2008/Vista. If it is Windows 7 or 2008 Server R2 then this fix does not apply.
- You have no other problems at all with shadow copies/previous versions. It works perfectly fine accessing previous versions of all other folders except just one (or a few) folders.
- UAC (User access control) is enabled. More info about UAC can be found here.
- You are logged in as an Administrator who should be able to access these folders/shadow copies.
The error is caused because of a bug in Windows Explorer and how it handles UAC. It is exactly the same reason as to why you get an access denied message when trying to access certain folders you should have access to. In these scenarios you have given the administrators group full control of the folder, you are a member of this group but you still get an access denied message. See the following UAC access denied for the cause and fix. It talks about Explorer having problems accessing certain folders. As shadow copies/previous versions are launched through Explorer it applies to this also.
NOTE: In the article some of the fixes say to modify the permissions on the folders. This is not possible with shadow copies as the folders are stored in a snapshot. Instead you will only be able to apply the fixes that modify UAC behaviour (solutions 3 and 4).