Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have an application that runs from a Citrix session that can email information out, outlook 2003 is installed on the Citrix server.

As the user lauches the app from the program neigborhood i need to be able to create an outlook profile on that session.

I have my prf file and that does work, i have tried using outlook to import the file using outlook.exe /importprf \server1\share\outlook.prf but this also opens outlook, which i do not want to do.

I need to import the prf file silently as part of the login script, so it is ready for the user to email from the other application

Cheers Luke

share|improve this question
I am in similar situation. Can I have the script please? Thanks! – lovely happy May 1 '12 at 15:30
up vote 2 down vote accepted

I have managed to get this working now via a Kix32 script, if anyone is interested ill post it up

share|improve this answer

Firstly, Citrix is immaterial here so you can use any standard resolutions.

I think you need to read this page:

Specifically the last section titled "Applying Outlook user profiles by using a PRF file". You should be able to put the reference to the PRF file in the registry:

Configure the registry to trigger Outlook to import the PRF file when Outlook starts up.

You can use the Add/Remove Registry Entries page in Custom Installation Wizard or the Custom Maintenance Wizard to deploy these registry key options to your users. You can also use the wizards to distribute the PRF file to users by using the Add/Remove Files page.

Delete the following registry key values:



In the HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Setup subkey, set the value of ImportPRF to a string value that specifies the name and path of the PRF file. For example, set ImportPRF to \server1\share\outlook.prf.

share|improve this answer
I have tried this, it does create the profile but only when outlook runs. Outlook is not running on the Citrix side its installed locally so it never runs to create the profile. If i could maybe get outlook to start then quit it might be a start, but its not ideal – beakersoft Oct 14 '11 at 12:54
If Outlook isn't running on Citrix then why does it matter if the profile is there? – Dan Oct 14 '11 at 13:16
The application we use needs a mail profile for the current user so it can send emails out – beakersoft Oct 15 '11 at 15:31
Apologies for being dense, I've just never seen this type of implementation before. So, it sends e-mails, but DOESN'T open Outlook to do it? But it uses the Outlook mail profile to do it? Intriguing, if so and I do see your issue. Do the users use Outlook in their normal roles off Citrix? – Dan Oct 15 '11 at 16:36
It is kind of odd, it seems to check there is a profile before launching outlook, if it cant find a profile it wont go any further. I've managed to get it working now with a kix script – beakersoft Oct 17 '11 at 11:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.