Windows 10: Cannot backup Outlook.pst - API call error, Access is denied. 80070005 Solved

Page 1 of 2 12 LastLast
  1.    05 Jan 2018 #1

    Cannot backup Outlook.pst - API call error, Access is denied. 80070005


    Hi family.

    I have two backup programs that I use to backup various files. My problem is with Outlook.pst. This is a new issue for me, it has never happened before.

    When trying to backup Outlook.pst with alwaysync I am now getting error API call error, Access is denied. 80070005
    I am getting the same error now with my Outlook 2016 backup plugin , the plugin works but hits the denied error. This tells me it is something other than the software or the plugin. I don't know if it is maybe a win defender issue or what it may be, I am stumped.
    I have checked permissions for both the outlook.pst file and the default folder it sits in documents/outlook files/
    I have full permissions with both.

    Anyone have any idea why this may have all of a sudden started? I'd be ever so grateful.

    Win 10 64 up to date/Office 2016 up to date.

    cheers :)
      My ComputerSystem Spec

  2.    05 Jan 2018 #2

    When Outlook is running it locks its .pst file, so it cannot be accessed.

    But if you shut down Outlook the .pst file will be unlocked, and it will be accessible for backup.

    In the past were you backing up with Outlook running? Or with Outlook not running?
      My ComputerSystem Spec

  3.    05 Jan 2018 #3

    margrave55 said: View Post
    When Outlook is running it locks its .pst file, so it cannot be accessed.But if you shut down Outlook the .pst file will be unlocked, and it will be accessible for backup.
    In the past were you backing up with Outlook running? Or with Outlook not running?

    Hi mate. Outlook is never running. This happens when I just open windows and my backups start. I have also checked what is running at other times that this happens, unfortunatly that isn't the issue, I wish it was that simple.

    Cheers for bringing that up though
      My ComputerSystem Spec

  4.    06 Jan 2018 #4

    Perhaps some other program has the file locked?
    MS puts in lots of new stuff under the covers, and with multiple revisions in the past year I'd not be surprised to find some surprises.
    (For example ... ctfmon is back. It disappeared years ago when I moved from Office 2003 to Office 2007. Now it's back! Dunno why.)

    Anyway, do you have Lock Hunter? If not, get it. It's free.
    Right click on any file or folder and select from the context menu "What is locking this file?"
    Do that to the Outlook.pst file and discover whuzzup.
      My ComputerSystem Spec

  5.    06 Jan 2018 #5

    Thanks man, I've never heard of Lock Hunter, when I wake up after the famous 3 double shot espresso's I have to have to operate in the morning, I'll boot up the PC and give it a go. Thanks!!
      My ComputerSystem Spec

  6.    06 Jan 2018 #6

    I tried that Lock Hunter, it says its not locked by anything. Still getting following error in allwaysync and still cant use backup plugin for outlook. Really weird

    Code:
    API call error, Access is denied. (80070005), filename: Error while copying "E:\Documents\Outlook Files\Outlook.pst" to "E:\_Backup\OUTLOOK 2016 PST BACKUP\Outlook.pst", fs::copyitem::access_denied
    Now a New one

    Code:
    \Outlook.pst", fs::copyitem::DaCreateFolderEx
    Everything else backs up fine, tens of thousands of files.
    All my software and OS are legitimately owned.

    Disabling Kaspersky Internet Security has no affect.
    Last edited by antspants; 06 Jan 2018 at 22:46.
      My ComputerSystem Spec

  7.    06 Jan 2018 #7

    Quite bizarre.

    I opened start menu, asked Outlook 2016 icon to run program as administrator.
    Opened Outlook 2016 as Admin
    Closed Outlook 2016 / Backup plugin started and ran without error
    Opened my Allwaysync program and asked it to manually start backup of of Outlook 2016 (without outlook running of course) Backup completed without issue.

    So running Outlook 2016 as admin and closing outlook, seems to allow the apps to backup.
    I tried running outlook again without admin privileges and again backups failed

    Freaking weird in my opinion.
      My ComputerSystem Spec

  8.    06 Jan 2018 #8

    Just a thought but do you have auto archive enabled in Outlook?
      My ComputerSystem Spec

  9.    06 Jan 2018 #9

    SoFine409 said: View Post
    Just a thought but do you have auto archive enabled in Outlook?
    Hi there!

    Never, I always disable archiving all together. I don't see the point in it. I am pretty anal when it comes to outlook due to the important messages and private info I have to deal with so I deal with each email as it arrives. I either save it to a specified folder that I always have access to or I delete it.

    Thanks for taking an interest though.
      My ComputerSystem Spec

  10.    07 Jan 2018 #10

    Who is the owner of the outlook.pst file? What are the file permissions?
    I ask because your backup error says that access is denied:
    Code:
    API call error, Access is denied. (80070005),
    filename: Error while copying "E:\Documents\Outlook Files\Outlook.pst" to "E:\_Backup\OUTLOOK 2016 PST BACKUP\Outlook.pst",
    fs::copyitem::access_denied
    If the "user" who is running the backup does not have permissions to read the outlook.pst file, then the backup will fail.

    If that's the case, find out who is running the backup. Is that YOU? Or an admin account.
    Add the appropriate permissions to the outlook.pst file.

    I've had lots of problems with Windows 10 regarding permissions. Every new computer will not allow Firefox to save downloads on the desktop ... until I open up permissions on the Desktop folder.

    Oddly enough, Firefox would download to the Downloads folder with no problems. It was all about permissions.

    That happened on my work computer. It happened on my new home desktop last year (Win 10 Anniversary). And it happened again last week when I got the Win 10 FCU update.

    The default permissions on a fresh Win 10 install are just fine in many cases, but not so in other cases.
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
I have a main server runing Windows Server 2012 R2 and a client compter with Windows 10 Pro on my Network. The client computer was printing fine from HP Laserjet 4015 on the domain controller but later there wasan hitch in printing from the network...
Access denied error in General Support
I was playing around with the security tab in properties menu in a folder. I removed a couple of users's access in there. But I didn't remove the administrator's access. after applying, I lost my access to the whole drive. I tried to add the removed...
Solved System error 5 Access denied in User Accounts and Family Safety
Hello, When setting up a user account for my wife, which works fine, however I now cannot access my account which had administrator rights. I do not show up as an option. I tried using the default administer account via command prompt and I get a...
Hi, I have a "server" that ran win 7 and which I now updated to Win 10. On this server, there is truecrypt installed and a batch file which I call from a remote computer using psexec. This batch file mounts a truecrypt volume and shares this...
Hello Everyone, I have the iPhone 6s plus. I am using windows 10 pro. I am having an access denied error when trying to erase the photos-videos after import. I can't find the answer anywhere. I am hoping you guys can throw out some ideas. I...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:51.
Find Us