I have the following problem:

I want kix to automatically set the exchange account for the specific users, in case they do not exist yet.

As i try to not install the new profile if an old one is already installed i would have to extract the exchange user name from the system

I have tried to solve this with the registry, but opposed to my hopes, the HKEY_CURRENT_USER Entry (HKCU\Software\Microsoft\Windows NT\Windows Messaging Subsystem\Profiles) has the profiles of every user in there, so i can't find out if this user made the profile the first time.

Second approach (tried the local profile, application data and local settings) i found out that, in case Outlook is installed freshly there are no outlook folders in your local profile, but as soon as you start outlook and cancel the creation of an account, these folders are created nevertheless. furthermore these files in the folders don't state if you use an exchange server or anything else.

I switched back to the registry and tried to search through the different profiles. Outlook XP had a specific for a user (fitting $userid) but outlook2k3 only had a string with several varialbes, one of them containing the account name in the form "firstname.familyname" and as the $userid in the company is "familyname" + "first letter firstname" i don't know how to convert and subsequently check if this profile exists for the user

Does anyone know any workaround for the problem or can give me hints what i can do here?
_________________________
-=If you absolutly believe you can make up talent with hard work, there is no limit to what you can't achieve.=-