meph’s blog


Automatic creation of a new profile on first Outlook start

Filed under: Exchange, Outlook — Tags: , , , — Michael @ 10:10

No post here for a while 😉

Today I searched for a simple solution for automatic profile creation on the first Outlook start (I wanted this for our new XenApp terminalserver). It took a while until I found some useful information about that, but I was too lazy for most solutions (netlogon scripts, WSH scripting etc.) – they were just not simple enough. Above from that, Office XP (and therefore Outlook) was installed already. To make a long story short, here is what I did:

The Office Resource Kit includes the Custom Installation Wizard (CIW), which can generate a .PRF (Outlook profile, including account information and stuff) file. In my case, I just needed to tell Outlook that it should use the user’s Windows logon name for authentication and the Exchange server hostname. Just skip the first steps in CIW until you get to the profile creation. Do the configuration and save the .prf file to a commonly available location, e.g. a networkshare (remember the UNC path). After that I followed these steps on the TS:

– Login as Administrator and run regedit
– Load C:\Documents and Settings\Default User\NTUSER.DAT
– In the loaded hive, browse to Software\Microsoft\Office\10.0\Outlook\Setup (create the missing keys!)
– Create a new String Value called ImportPRF and enter the path and filename of the .PRF as the value
– Unload the hive and close regedit
– Check if it works

That’s it!

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

%d bloggers like this: