Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

enumerate a users pst files

Posted on 2011-02-18
4
Medium Priority
?
1,301 Views
Last Modified: 2012-05-11
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)

0
Comment
Question by:Marketing_Insists
4 Comments
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 1200 total points
ID: 34928806
0
 
LVL 15

Assisted Solution

by:Alexei Kuznetsov (Outlook MVP)
Alexei Kuznetsov (Outlook MVP) earned 400 total points
ID: 34933312
Just use this free tool to get a report on all connected storages (including PST):
http://www.outlookfreeware.com/en/products/all/OutlookStorageReport/
This tool has command line version.
0
 
LVL 7

Assisted Solution

by:GillesT
GillesT earned 400 total points
ID: 34940716
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.
0
 

Author Closing Comment

by:Marketing_Insists
ID: 34957339
Thanks, that script was dynamite!

Those third parties were great resources too.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Mailbox Overload?
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

916 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