• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1305
  • Last Modified:

enumerate a users pst files

I need to enumerate a users pst files attached to their outlook profile.  Ultimately, I will need to relocate them from one network location to another in a logon script.

So far, I'm pulling my hair out digging through "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook" and the random UID named keys beneath which may or may not have information about the name and location of the .pst file.  However, I'm able to ascertain that the value 001f3001 = PST name and value 01020fff = location.  Too make things interesting, the value data is all in HEX.  

What progmatic method is their to enumerate pst files configured in Outlook, detach and reattach them? - as this doesn't look like a job for reg add

(note: I understand Microsoft doesn't support network access of .pst files and am well aware of performance issues induced on file servers hosting them - but once again, no budget for a proper mail archiving product)

3 Solutions
DonNetwork AdministratorCommented:
Alexei Kuznetsov (Outlook MVP)CEOCommented:
Just use this free tool to get a report on all connected storages (including PST):
This tool has command line version.
If you need to have a real audit of PST files on your network, and then apply actions like move PST files AND update profile, you can have a look to the commercial product PSTStation Corporate : http://www.addonmail.com

About your remark, Microsoft doesn't support PST files on network, but a lot of people does that ! You can put PST files on the network if you use Outlook 2003/2007 but if you use Outlook 2010, don't use PST files on the network. Use a product like PSTStation Corporate to backup local PST files on the network.
Marketing_InsistsAuthor Commented:
Thanks, that script was dynamite!

Those third parties were great resources too.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now