ost and user profile path in roaming profile
Posted on 2007-04-01
if cached mode is activated Outlook creates the file outlook.ost by default in a subdirectory of the user profile path.
i.e. [user profile path]\..\...\Microsoft\Outlook\outlook.ost
Unfortunately this path seems to be stored as string in the outlook profile.
This causes a problem, when the same user logs in at another workstation, where the user profile path is different. The difference of the user profile path is caused by various reasons but is correct.
(i.e. "user" at on workstation and "user.domain" at another)
When outlook is started on this other workstation, an error is displayed because outlook does not find the .ost files at the original stored path.
Because we need the caching, we cannot deactivate that.
Is there a method to define the path of the ost-file in a generic way, such as using a variable like %userprofile% ??
I have tried this out, but it seems that the string %userprofile% is resolved to the local user profile path when it is stored in the Outlook profile.