You can't use a .prf file to add a mailbox to an existing profile. If you want a prf to change the existing profile to use a different mailbox, change ModifyDefaultProfileIfPresent=FALSE to TRUE.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Drew" wrote in message ...
So I need to create a .prf file that will generate a new profile if there's
not already one there. Setup 1 exchange mail box. Then be able to add more
mailboxes as needed.
I'm using php to generate the file dynamically with each e-mail address
entered and the mail server and all that stuff. it works fine for the first
run, but will not add another user if the mailbox name is changed. What can I
change to have it do that?
Here's the file I generate:
; ************************************************** ************
; Section 1 - Profile Defaults
; ************************************************** ************
[General]
Custom=1
ProfileName=EasyStreet Exchange
DefaultProfile=Yes
OverwriteProfile=Append
ModifyDefaultProfileIfPresent=FALSE
DefaultStore=ServiceEGS
; ************************************************** ************
; Section 2 - Services in Profile
; ************************************************** ************
[Service List]
Service1=Microsoft Exchange Server
ServiceEGS=Exchange Global Section
; Service2=Personal Folders
Service3=Outlook Address Book
Service5=Personal Address Book
;ServiceX=Microsoft Outlook Client
;************************************************* **************
; Section 3 - List of internet accounts
;************************************************* **************
[Internet Account List]
;************************************************* **************
; Section 4 - Default values for each service.
;************************************************* **************
[Service1] ; Microsoft Exchange Server.
OverwriteExistingService=No
UniqueService=No
HomeServer=BE057
OfflineAddressBookPath=%USERPROFILE%\local settings\application
data\microsoft\outlook\
OfflineFolderPath=%USERPROFILE%\local settings\application
data\microsoft\outlook\outlook.ost
AccountName=Microsoft Exchange Server
[ServiceEGS]
HomeServer=BE057
RPCoverHTTPflags=0x0000002F
RPCProxyServer=exchange.easystreet.com
RPCProxyPrincipalName=msstd:exchange.easystreet.co m
RPCProxyAuthScheme=000000001
CachedExchangeConfigFlags=0x00000100
[Service2]
UniqueService=No
Name=Personal Folders
PathToPersonalFolders=%USERPROFILE%\local settings\application
data\microsoft\outlook\outlook.pst
EncryptionType=0x40000000
[Service3]
[Service4]
[Service5]
NameOfPAB="Personal Address Book"
Path="%USERPROFILE%\local settings\application
data\microsoft\outlook\mailbox.pab"
ShowNamesBy=0