Solved

Outlook .pst files location

Posted on 2004-08-23
13
2,214 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

630 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