All Forums >> [Scripting] >> WSH & Client Side VBScript >> RE: Re: Retrieving .pst file location Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
i take it a solution for this dude was never suceeded...im currently researching a similar situation, but it differs from the back up senario. Some of the info below may seem or is completly irrelavent to previous posts o=)
The issue we have with users is that, outlook being outlook, defaultly sets the PST location to "C:\Documents and Settings\user_id\Local Settings\Application Data\Microsoft\Outlook"...and we don't use roaming profile, thus everytime a user logs onto a new PC their outlook is not looking to the PST locations(stored on a centrally stored fileserver)
I found various scripts that search the registry for the filepath of the current users PST file. however, i've no idea how to read HEX and Binary into ASCII or English for that matter.
So, i thought, i know im going to try some scripts and see if they decode the hex into ascii for me, but i didnt get any joy.
Below is a code example found over at outlookcode.com - This GetStorePath procedure extracts the path to a Personal Folders .pst file (or store used for IMAP, HTTP or SharePoint data) from the information embedded in the StoreID. However, looks largely like vba and i was unable to run the script successfully(i have no VB Studio)
First off, beware that Microsoft does not support .pst's over a network connection. That being said, we did just implement a centralized .pst archive server in our network.
Autoarchive location can only be set in PRF's. Group policy will let you do almost everything with Autoarchiving EXCEPT the path lol.
Manual archive location is in the registry, but it's in hexadecimal and very hard to edit.
Our solution, a winbatch ran at the user's desktop that opened Outlook, tabbed to the necessary locations, and entered manual and auto archive locations to point to our network location.
This is for new archives. We brought old archives up to the server during a one month period during our GroupWise to Exchange migration.