Outlook prf import

From Zarafa wiki

Jump to: navigation, search

For an automatic import of a new profile you can use a .prf file

The setting:

HomeServer=http://192.168.1.100:236/zarafa

Is the setting that you have to change.

The syntax to import the prf file is: outlook.exe /importprf \\path_to_prf_file\import.prf

Note 1: Outlook 2000 can not use prf files

Note 2: When you import the prf, the user has to give his password If single signon is used this is is not necessary

One-time run for servers/domain logons

Alternatively you may also choose to do a one-time registry load of the PRF profile.

Keep in mind that in regedit two backslashes count for one.

Below is an example for Outlook 2007.

Example regedit file:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Setup]
"First-Run"=-
"FirstRun"=-
"ImportPRF"="\\\\myserver\\logon\\some.prf"

Outlook 2010 default addressbook

With outlook 2010 the global addressbook is no longer within Zarafa 6 Server.

You can force outlook to start by default with the Global addresslist where the global address book is shown.

The file below indicates how you can set this by default on Windows 2008 for all profiles.
Below the profile name is Zarafa, you can of course change this to the profile name used in your organisation.
This also works with Citrix.

Unconfirmed
If you're using a PRF, you may need to set OverwriteProfile=Append instead of Yes or No.

Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Zarafa\9207f3e0a3b11019908b08002b2a56c2]
"01023d06"=hex:00,00,00,00,ac,21,a9,50,40,d3,ee,48,b3,19,fb,a7,53,30,44,25,00,\
  00,00,00,04,00,00,00,01,00,00,00,00,00,00,00

PRF Example file

; **************************************************************
; Section 1 - Profile Defaults
; **************************************************************

[General]
Custom=1
ProfileName=Zarafa
DefaultProfile=No
OverwriteProfile=Yes
ModifyDefaultProfileIfPresent=TRUE
BackupProfile=No
DefaultStore=Service3

; **************************************************************
; Section 2 - Services in Profile
; **************************************************************

[Service List]
Service1=Microsoft Outlook Client
Service2=Outlook Address Book
Service3=Zarafa Server
Service4=Unicode Personal Folders

;***************************************************************
; Section 4 - Default values for each service.
;***************************************************************

[Service3]
OverwriteExistingService=Yes
UniqueService=Yes
MailboxName=%UserName%
HomeServer=http://192.168.42.21:236/zarafa
Password=

;***************************************************************
; Choose flags for caching / online or autodetect modus
; flags 0x580 = caching mode
; flags 0x000 = online
; flags 0x80  = autodetect online/offline
;***************************************************************

Flags=0x000
;***************************************************************
; Define path of the offline caching data
;***************************************************************
;Path= d:\

[Service2]      ; Outlook Address Book
; No configuration needed with the Address Book

[Service1]
DoAutoArchive=False
AutoArchiveFileName = z:\archive.pst

[Service4]
UniqueService = No
Name = Personal Folders
PathToPersonalFolders = "z:\%UserName%.pst"
EncryptionType = 0x80000000


;***************************************************************
; Section 6 - Mapping for profile properties
;***************************************************************

[Zarafa server]
ServiceName=ZARAFA6
MDBGUID=CA3D253C27D23C4494FE425FAB958C19
MailboxName=PT_STRING8,0x6701
HomeServer=PT_STRING8,0x6700
Password=PT_STRING8,0x6702
Flags=PT_LONG,0x6704
Path=PT_STRING8,0x6710

[Outlook Address Book]
ServiceName=CONTAB

[Microsoft Outlook Client]
SectionGUID=0a0d020000000000c000000000000046
DoAutoArchive=PT_BOOLEAN,0x0320
AutoArchiveFileName=PT_STRING8,0x0324

[Unicode Personal Folders]
ServiceName=MSUPST MS
Name=PT_UNICODE,0x3001
PathToPersonalFolders=PT_STRING8,0x6700
RememberPassword=PT_BOOLEAN,0x6701
EncryptionType=PT_LONG,0x6702
Password=PT_STRING8,0x6703
Personal tools