Scripting Backup of Outlook PST Files

B

Barry

I've been charged with attaching a script to our network logon that will
backup each user's Outlook pst file upon network logon. Are there any
suggestions on how to accomplish this more efficiently than just copying the
pst file from its default location? And if I do have to just script the
copy, is there a configuration file or registry entry that holds the location
of the pst file for any user that is logging on to the workstation? (All the
users on the network don't use the default location for these files.) Thank
you in advance... Barry
 
D

Dmitry Streblechenko

The PST file location is stored on the per user basis in the profile data,
which in turn is store in the regsitry.
You can either read the PST path directly from the regsitry
(HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles)
Or use Extended MAPI (IProfMan interface) or the PorfMna library () to read
the PR_PST_PATH properties:
http://www.dimastr.com/redemption/profiles.htm#examples

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top