SOLVED: Steps to Resolve Outlook Error 0x80070002

Microsoft Outlook is one of the most commonly used e-mail application which integrates excellently with a number of Microsoft built applications, it is mostly used by Windows users BUT can run on both Windows and MACs. Outlook latest version at the time of writing this article is Outlook 2016. Any application running on a Windows platform is bound to produce error at times. Error 0x80070002 is a windows error but also appears on Outlook. The most common reason for this error to occur is when the file structure is corrupt or the directory where Outlook wants to create PST or any other file is inaccessible. In this guide, i won’t be addressing on how to fix the directory structure or corruption. However, we will enforce Outlook to use a different directory which is accessible.

Default File Locations

By default, there are two locations where Outlook may create PSTs. You will need to check them manually, these are:

\AppData\Local\Microsoft\Outlook\
\Documents\Outlook Files

If any of these paths are inaccessible, you will get this error.

Error 0x80070002 while setting up a new account on Outlook

If you were setting up a new account and getting this error then that probably means that the path it is trying to create the PST in is not accessible. You can verify this by manually locating and opening the path (see default paths above) and trying to open it via Windows Explorer. To fix this, we’ll use the Registry Method to edit the path and force Outlook to use a different location.

Go to Documents -> and create a new folder called Outlook2. Make sure, you can create files in this folder, and create any file as a test to ensure that it is accessible and writable. Once done, note down the full path. If it is in Documents, then it should be similar to

C:\Users\YOUR USERNAME\Documents\Outlook2

Then  Hold Windows key and Press R. Type regedit and Press Enter.

outlook error 0x80070002

Windows Registry editor will open, browse to the following path:

HKEY_CURRENT_USER\Software\Microsoft\Office\

And open the folder corresponding to your version of Office.

Outlook 2007 = \12\
Outlook 2010 = \14\
Outlook 2013 = \15\
Outlook 2016 = \16\

The path should then look like

HKEY_CURRENT_USER\Software\Microsoft\Office\15(your office number\Outlook

outlook error 0x80070002-1

With Outlook highlighted in the left pane, Right click in an empty area in the right pane and click New > String Value, Give the name ForcePSTPath to the string value.

2016-02-14_192636

Right click on it, and click Modify. Under value data, type the complete location for the PST file you noted/created earlier. Click OK. Close the Registry editor window.

2016-02-14_193112

Now run Microsoft Outlook and re-add the account, it should work without issues.

After you’ve performed the steps above, anything to do with PST whether importing, adding a new pst or creating a new pst file, will work without issues and they will be stored in the new location you’ve created. 

ABOUT THE AUTHOR

Kamil Anwar


Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.

Comments

10
    SM
    Shafique Mahmood May 22, 2017

    I had the same issue and followed your instructions and I could successfully solve my problem.It is great .Even I contacted Microosft to solve my issue, they took control of my coumputer from distance but could not solve my problem at the end they asked me to contact my email service provider telling that problem is from email service provider. Thanks a lot for your excellent instructions.

    HS
    Heru Singgih Apr 11, 2018

    it work, thank you for sharing this issue.. it very helpful for me..

    DS
    Dineshwar Singh Feb 10, 2022

    Thanks Kamil, this is very helpful and solved the problem.

    JA
    jaro555 Jul 5, 2022

    It works, thank you 🙂

    YO
    Yogi Aug 4, 2022

    Thanks Kamil, it is very useful.

    YO
    Yogi Aug 4, 2022

    Thanks Kamil

    JV
    Jaime Chaul Varela Nov 23, 2022

    You’re the best. Thanks for sharing

    PR
    Pradeep Jan 10, 2023

    Thanks Kamil, that was very useful

    PR
    Pradeep Jan 10, 2023

    Thanks Kamil, That was very useful

    JO
    Joe Jun 8, 2023

    Thank you Kamil. Your well written “how-to” article with its detailed illustrations successfully ended my very frustrating experience of setting up my Office Outlook (POP Acct) on my new WIN 11 PC. Joe