Solved

Outlook .pst files location

Posted on 2004-08-23
13
2,212 Views
Last Modified: 2009-04-02
I would like to find out the location of the Outlook .pst files programatically. The version that I'm interested in are Office 2000 and above.

The only thing I found out browsing my registry was that they (for my Office 2003) seems to be under some kind of GUID keys, like:

HKCU\software\microsoft\windows nt\currentversion\windows messaging subsystem\profiles\outlook

There are some GUID like keys. Some of them have a "001e6700" value which has as its data the .pst file full path.

As I said before I would like to know if this is the way to  find out the location and what are the locations for the other versions of Office.

10x
0
Comment
Question by:nonubik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
13 Comments
 
LVL 49

Expert Comment

by:sunray_2003
ID: 11868937
Hi nonubik,

Generally it is found here

Look for *.pst file searching in hidden folders
Mostly it would be found in
C:\Documents and Settings\{your profile name}\Local Settings\Application Data\Microsoft\Outlook

Well you need to make sure where you have placed your PST as the above location is only by default and you can change it to a different location in your hard disk


SR..
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 11868941
0
 
LVL 16

Author Comment

by:nonubik
ID: 11868975
Hi SR,

For the above link: I looked into, too, before asking, but the answer refers only to a backuping tool (not interested in).

>Well you need to make sure where you have placed your PST as the above location is only by default and you can change it to a different location in your hard disk

That's the problem.
I develop an application (C++) that detects Outlook mail folders and then tries to scan them (for something..). Because of this, the detection part has to be OS independent, Office version independent (I mean for 2000 and above) and so on. The user may aswell decide to add some .pst files that are not in the usual C:\Documents and Settings\{user profile name}\Local Settings\Application Data\Microsoft\Outlook.

Hence the many details and points :)
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 49

Expert Comment

by:sunray_2003
ID: 11868996
nonubik,
> that detects Outlook mail folders and then tries to scan them

Outlook emails are all stored in PST file (outlook.pst) unlike OE where each mail folder is stored in a seperate mail folder.

How difficult is for your application to scan the system for outlook.pst file ?
0
 
LVL 16

Author Comment

by:nonubik
ID: 11869025
1.If a file name is outlook.pst, this does not mean it's a Outlook mail file.
2.Outlook->File->Data File Management->Add-> ...  can add .pst files from any location, having any filename (not outlook.pst)

..I thought these things were clear. This is not an user-side kind of question.
0
 
LVL 49

Expert Comment

by:sunray_2003
ID: 11869349
nonubik,

What kind of account are you using , pop3 or imap or exchange server

The reason i said outlook.pst is that, that is the general file containing emails in a general outlook environment and you need to have some name for your program to find the location.
or can your program not just search for *.pst files ?
0
 
LVL 16

Author Comment

by:nonubik
ID: 11869823
I would like to find out the location of the Outlook .pst files programatically. The version that I'm interested in are Office 2000 and above.

In EVERY kind of environment, in EVERY kind of location.
NOT generaly.
0
 
LVL 16

Author Comment

by:nonubik
ID: 11869840
Like the OE mail files are to be found in
 key = HKCU\Identities\{guid}\software\microsoft\outlook express\5.0
 value = Store root
 data = WHAT I AM INTERESTED IN

for OE 5 and 6
0
 
LVL 3

Expert Comment

by:hehewithbrackets
ID: 11872605
nonubik,

Have you checked the following HKCU\Software\Microsoft\Office?

I believe the 9.0 subfolder is for Office 2000, 10.0 is for 2002 etc.
0
 
LVL 16

Author Comment

by:nonubik
ID: 11880009
I believe, too.

But have you read the question?
0
 
LVL 16

Author Comment

by:nonubik
ID: 11890151
Ok, I found some description about the regkeys on
http://66.102.11.104/search?q=cache:rKwE-nf7GdMJ:cameron-webb.com/blog/archive/2004/05/06/167.aspx+pr_pst_path&hl=en

But didin't seem to match for Office 2003.

(rectification: in my original question "for my Office 2003" must be read "for my Office 2002")
0
 
LVL 16

Author Comment

by:nonubik
ID: 11900887
Ok, I found out.

For 2003 there is the UNICODE version of the "001e6700" value, "001f6700" that holds an UNICODE path for the .pst files
0
 

Accepted Solution

by:
RomMod earned 0 total points
ID: 11908682
The question has been PAQ'd and the 500 points have been refunded.
RomMod
Community Support Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question