G
Guest
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
[email protected]
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]
[email protected]
HomeServer=BE057
RPCoverHTTPflags=0x0000002F
RPCProxyServer=exchange.easystreet.com
RPCProxyPrincipalName=msstd:exchange.easystreet.com
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
;***************************************************************
; Section 5 - Values for each internet account.
;***************************************************************
;***************************************************************
; Section 6 - Mapping for profile properties
;***************************************************************
; These are the registry entry definitions for where values will
; be stored, along with their data types.
[Microsoft Exchange Server]
ServiceName=MSEMS
MDBGUID=5494A1C0297F101BA58708002B2A2517
MailboxName=PT_STRING8,0x6607
HomeServer=PT_STRING8,0x6608
OfflineAddressBookPath=PT_STRING8,0x660E
OfflineFolderPath=PT_STRING8,0x6610
[Exchange Global Section]
SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a
MailboxName=PT_STRING8,0x6607
HomeServer=PT_STRING8,0x6608
RPCoverHTTPflags=PT_LONG,0x6623
RPCProxyServer=PT_UNICODE,0x6622
RPCProxyPrincipalName=PT_UNICODE,0x6625
RPCProxyAuthScheme=PT_LONG,0x6627
CachedExchangeConfigFlags=PT_LONG,0x6629
[Personal Folders]
ServiceName=MSPST MS
Name=PT_STRING8,0x3001
PathToPersonalFolders=PT_STRING8,0x6700
RememberPassword=PT_BOOLEAN,0x6701
EncryptionType=PT_LONG,0x6702
Password=PT_STRING8,0x6703
[Outlook Address Book]
ServiceName=CONTAB
[Microsoft Outlook Client]
SectionGUID=0a0d020000000000c000000000000046
FormDirectoryPage=PT_STRING8,0x0270
WebServicesLocation=PT_STRING8,0x0271
ComposeWithWebServices=PT_BOOLEAN,0x0272
PromptWhenUsingWebServices=PT_BOOLEAN,0x0273
OpenWithWebServices=PT_BOOLEAN,0x0274
[Personal Address Book]
ServiceName=MSPST AB
NameOfPAB=PT_STRING8,0x001e3001
Path=PT_STRING8,0x001e6600
ShowNamesBy=PT_LONG,0x00036601
; ************************************************************************
; Section 7 - Mapping for internet account properties. DO NOT MODIFY.
; ************************************************************************
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
[email protected]
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]
[email protected]
HomeServer=BE057
RPCoverHTTPflags=0x0000002F
RPCProxyServer=exchange.easystreet.com
RPCProxyPrincipalName=msstd:exchange.easystreet.com
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
;***************************************************************
; Section 5 - Values for each internet account.
;***************************************************************
;***************************************************************
; Section 6 - Mapping for profile properties
;***************************************************************
; These are the registry entry definitions for where values will
; be stored, along with their data types.
[Microsoft Exchange Server]
ServiceName=MSEMS
MDBGUID=5494A1C0297F101BA58708002B2A2517
MailboxName=PT_STRING8,0x6607
HomeServer=PT_STRING8,0x6608
OfflineAddressBookPath=PT_STRING8,0x660E
OfflineFolderPath=PT_STRING8,0x6610
[Exchange Global Section]
SectionGUID=13dbb0c8aa05101a9bb000aa002fc45a
MailboxName=PT_STRING8,0x6607
HomeServer=PT_STRING8,0x6608
RPCoverHTTPflags=PT_LONG,0x6623
RPCProxyServer=PT_UNICODE,0x6622
RPCProxyPrincipalName=PT_UNICODE,0x6625
RPCProxyAuthScheme=PT_LONG,0x6627
CachedExchangeConfigFlags=PT_LONG,0x6629
[Personal Folders]
ServiceName=MSPST MS
Name=PT_STRING8,0x3001
PathToPersonalFolders=PT_STRING8,0x6700
RememberPassword=PT_BOOLEAN,0x6701
EncryptionType=PT_LONG,0x6702
Password=PT_STRING8,0x6703
[Outlook Address Book]
ServiceName=CONTAB
[Microsoft Outlook Client]
SectionGUID=0a0d020000000000c000000000000046
FormDirectoryPage=PT_STRING8,0x0270
WebServicesLocation=PT_STRING8,0x0271
ComposeWithWebServices=PT_BOOLEAN,0x0272
PromptWhenUsingWebServices=PT_BOOLEAN,0x0273
OpenWithWebServices=PT_BOOLEAN,0x0274
[Personal Address Book]
ServiceName=MSPST AB
NameOfPAB=PT_STRING8,0x001e3001
Path=PT_STRING8,0x001e6600
ShowNamesBy=PT_LONG,0x00036601
; ************************************************************************
; Section 7 - Mapping for internet account properties. DO NOT MODIFY.
; ************************************************************************