Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Outlook .pst files location

Posted on 2004-08-23
13
Medium Priority
?
2,216 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
Technology Partners: 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!

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

721 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