Solved

Outlook .pst files location

Posted on 2004-08-23
13
2,208 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
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
 
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Outlook Free & Paid Tools
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now