importprf causes Outlook icon on quick launch taskbar

T

Tim F

"C:\Program Files\Microsoft Office\OFFICE11\Outlook.exe" /importprf
"outlookxp03.prf" results in Outlook icon (shortcut) being placed in the
Quick Lauch taskbar. Is there a way to prevent this from happening. The
shortcut includes the /recycle switch.
 
T

Tim F

The contents of the profile are as follows:
; This Profile file was modified to suit Outlook XP (2002) or Outlook 2003.
; ************************************************************************
; Section 1 - Profile defaults.
; ************************************************************************
[General]
Custom=1
; -- Required. Indicates that this is a customized PRF file.
ProfileName=Wireless Messaging (DO NOT MODIFY)
DefaultProfile=Yes
OverwriteProfile=Yes
BackupProfile=No
DefaultStore=Service1
; ************************************************************************
; Section 2 - Services in profile.
; ************************************************************************
; The list of MAPI services that will be added to the profile.
[Service List]
Service1=Personal Folders
Service2=Outlook Address Book
Service3=Personal Address Book
; ************************************************************************
; Section 3 - List of internet accounts.
;*******************************************************************
; The list of accounts that will be created.
[Internet Account List]
Account1=I_Mail
; ************************************************************************
; Section 4 - Default values for each service.
; ************************************************************************
[Service1]
PathToPersonalFolders=C:\User\my.pst
[Service2]
Ben=TRUE
; -- Dummy property. Do not delete or modify.
[Service3]
Path=C:\User\my.pab
NameOfPAB=Personal Address Book
ViewOrder=1
; ************************************************************************
; Section 5 - Values for each internet account.
; *******************************************************************
; The settings for each account that will be created. The available
; account settings are listed in Section 3, below.
[Account1]
UniqueService=No
AccountName=stn1
POP3Server=127.0.0.1
SMTPServer=127.0.0.1
POP3UserName=user
[email protected]
POP3UseSPA=0
DisplayName=stn1
[email protected]
SMTPUseAuth=0
SMTPAuthMethod=0
ConnectionType=0
LeaveOnServer=0x0
ConnectionOID=MyConnection
POP3Port=110
POP3UseSSL=0
ServerTimeOut=60
SMTPPort=25
SMTPUseSSL=0
; ************************************************************************
; Section 6 - Mapping for profile properties. DO NOT MODIFY.
; ************************************************************************
; ************************************************************************
; Outlook settings stored in the profile
[Microsoft Outlook Client]
SectionGUID=0a0d020000000000c000000000000046
FormDirectoryPage=PT_STRING8,0x0270
; -- The URL of Exchange Web Services Form Directory page used to
; create Web forms.
WebServicesLocation=PT_STRING8,0x0271
; -- The URL of Exchange Web Services page used to display
; unknown forms.
ComposeWithWebServices=PT_BOOLEAN,0x0272
; -- Set to TRUE to use Exchange Web Services to compose forms.
PromptWhenUsingWebServices=PT_BOOLEAN,0x0273
; -- Set to TRUE to use Exchange Web Services to display unknown
; forms.
OpenWithWebServices=PT_BOOLEAN,0x0274
; -- Set to TRUE to prompt user before opening unknown forms when
; using Exchange Web Services.
; ************************************************************************
; Microsoft Exchange Server service definitions.
[Microsoft Exchange Server]
ServiceName=MSEMS
MDBGUID=5494A1C0297F101BA58708002B2A2517
MailboxName=PT_STRING8,0x6607
; -- The name of the user's Exchange Server Mailbox
HomeServer=PT_STRING8,0x6608
; -- The name of the Microsoft Exchange Server the user should
; connect to. You can specify any Microsoft Exchange Server
; in your site, and the correct Home Server will be assigned;
; when the user first logs on.
OfflineFolderPath=PT_STRING8,0x6610
; -- The path to the Offline Store File that contains
; local replicas of the user's Mailbox and Favorites.
; If you do not specify a value, no Offline Store will
; be created. If you specify a path, an Offline Store
; will be created and the Inbox, Outbox, Deleted Items,
; and Sent Items folders will be replicated to it.
OfflineAddressBookPath=PT_STRING8,0x660E
; -- The path to the directory to store offline address
; book files in.
ExchangeConfigFlags=PT_LONG,0x6601
; -- Behavior when connecting to the Exchange Server.
; 32 - Auto detect online/offline connection state (default)
; 48 - Always connect online
; 50 - Prompt user for online or offline connection
ConversionProhibited=PT_BOOLEAN,0x3A03
; -- A boolean value indicating whether NEWPROF should
; attempt to resolve the Exchange mailbox name at run time.
; If set to TRUE, NEWPROF will copy the name to the profile
; without resolving it.
; If FALSE, the name will be resolved. Invalid server or
; mailbox name will not be copied to the profile.
; ************************************************************************
; Microsoft Mail service definitions.
[Microsoft Mail]
ServiceName=MSFS
ServerPath=PT_STRING8,0x6600
; -- The path to the users post office. Mapped network drives, UNC and
NETWARE paths
; are acceptable. NETWARE paths of the type NWServer/share:dir\dir1 are
converted to
; UNC paths of the type \\NWServer\share\dir\dir1.
Mailbox=PT_STRING8,0x6601
; -- The users mailbox name. eg. in a NET/PO/USER address,
; this is USER. The maximum mailbox name is 10 characters.
Password=PT_STRING8,0x67f0
; -- The users mailbox password. The maximum password is 8 characters.
RememberPassword=PT_BOOLEAN,0x6606
; -- A boolean value indicating whether the users password is
; to be remembered in the profile or not. This is useful because
; if the password is remembered the user can bypass the logon prompt
; if his server path, mailbox name and password are all supplied.
ConnectionType=PT_LONG,0x6603
; -- The connection type. This may be one of CFG_CONN_AUTO, CFG_CONN_LAN,
; CFG_CONN_REMOTE, CFG_CONN_OFFLINE as defined below.
;
; 0x0 -- LAN type connection. Used to connect to the post office using a
; UNC path or pre-existing mapped drive.
; 0x1 -- Dial up connection using Dial-up Networking.
; 0x2 -- Not connected.
; 0x3 -- Automatically detect whether the connection type is LAN or REMOTE.
; This connection type is only available on Win95.
UseSessionLog=PT_BOOLEAN,0x6604
; -- A boolean value indicating whether session logging
; is on or off.
SessionLogPath=PT_STRING8,0x6605
; -- The path to the session log file.
EnableUpload=PT_BOOLEAN,0x6620
; -- A boolean value which indicates whether mail in the outbox
; is sent.
EnableDownload=PT_BOOLEAN,0x6621
; -- A boolean value which indicates whether mail in the server
; mailbag is downloaded.
UploadMask=PT_LONG,0x6622
; -- A bit array which allows the user to indicate which addresses
; for which the transport is to attempt delivery. This is useful
; in order to allow a user to specify that a transport only handle
; delivery for a subset of the addresses it can really process.
; When multiple transports are installed and the user wants a
; different transport to handle some specific address types they
; can use this bit array to specify that the MSMAIL transport
; only handle a specific set of addresses.
;
; Possible values as defined below include:
;
; 0x00000001 -- Local Post Office and External Post Office address types
; 0x00000002 -- PROFS address types
; 0x00000004 -- SNADS address types
; 0x00000008 -- MCI address types
; 0x00000010 -- X.400 address types
; 0x00000040 -- FAX address types
; 0x00000080 -- MHS address types
; 0x00000100 -- SMTP address types
; 0x00000800 -- OfficeVision address types
; 0x00001000 -- MacMail address types
; 0x000019df -- All of the above address types
NetBiosNotification=PT_BOOLEAN,0x6623
; -- A boolean value which indicates whether a netbios notification
; is sent to a recipients transport when mail is delivered to
; their server inbox.
NewMailPollInterval=PT_STRING8,0x6624
; -- The polling interval in minutes when the transport
; checks for new mail. 1 <= polling interval <= 9999
DisplayGalOnly=PT_BOOLEAN,0x6625
; -- A boolean value which, if TRUE, only displays the Microsoft Mail Global
Address
; list for name selection. The Postoffice list, external post office lists,
and gateway
; address lists are not shown.
UseHeadersOnLAN=PT_BOOLEAN,0x6630
; -- A boolean value which indicates whether the user wants to enable
; headers while working on the LAN. Headers mode allows the user
; to download message headers and selectively choose which mail
; to download.
UseLocalAdressBookOnLAN=PT_BOOLEAN,0x6631
; -- A boolean value which indicates whether the user wants to use
; name resolution based on a local copy of the server address book
; rather than the server address book itself.
UseExternalToHelpDeliverOnLAN=PT_BOOLEAN,0x6632
; -- A boolean value which indicates whether EXTERNAL.EXE, a server process,
should be used
; to deliver submitted mail messages. This is sometimes useful when mail is
running
; on a slow LAN connection.
UseHeadersOnRAS=PT_BOOLEAN,0x6640
; -- A boolean value which indicates whether the user wants to enable
; headers while working over a slow speed link. Headers mode
; allows the user to download message headers and selectively
; choose which mail to download.
UseLocalAdressBookOnRAS=PT_BOOLEAN,0x6641
; -- A boolean value which indicates whether the user wants to use
; name resolution based on a local copy of the server address book
; rather than the server address book itself.
UseExternalToHelpDeliverOnRAS=PT_BOOLEAN,0x6639
; -- A boolean value which indicates whether EXTERNAL.EXE, a server process,
should be used
; to deliver submitted mail messages. This speeds up message delivery when
mail is
; running on a Dial-up network connection.
ConnectOnStartup=PT_BOOLEAN,0x6642
; -- A boolean value which indicates that a Dial-up Network connection should
; be established when the transport provider starts up.
DisconnectAfterRetrieveHeaders=PT_BOOLEAN,0x6643
; -- A boolean value which indicates that a Dial-up Network connection should
; be automatically terminated when headers are finished downloading.
DisconnectAfterRetrieveMail=PT_BOOLEAN,0x6644
; -- A boolean value which indicates that a Dial-up Network connection should
; be automatically terminated after mail has finished being sent
; received.
DisconnectOnExit=PT_BOOLEAN,0x6645
; -- A boolean value which indicates that a Dial-up Network connection should
; be automatically terminated when the provider is exited.
DefaultDialupConnectionName=PT_STRING8,0x6646
; -- The name of the Dial-up Network profile that the transport will use by
; default to attempt the connection.
DialupRetryCount=PT_STRING8,0x6648
; -- Number of times to attempt dial for connection.
; 1 <= retry attempts <= 9999
DialupRetryDelay=PT_STRING8,0x6649
; -- Delay between retry attempts in seconds.
; 30 <= retry delay <= 9999
; ************************************************************************
; Personal Folders service definitions.
[Personal Folders]
ServiceName=MSPST MS
PathToPersonalFolders=PT_STRING8,0x6700
; -- Path to personal folders.
RememberPassword=PT_BOOLEAN,0x6701
; -- A boolean value that determines if the personal folders password
; should be cached.
EncryptionType=PT_LONG,0x6702
; -- A value that designates the type of encryption that is used to
; compress the data in the PST:
;
; No Encryption 0x80000000
; Compressable Encryption 0x40000000
; Best Encryption 0x20000000
Password=PT_STRING8,0x6703
; -- PST password.
; ************************************************************************
; Outlook Address Book service definitions.
[Outlook Address Book]
ServiceName=CONTAB
Ben=PT_STRING8,0x6700
; -- Dummy property. Do not modify.
; ************************************************************************
; Microsoft LDAP Directory service definitions.
[Microsoft LDAP Directory]
ServiceName=EMABLT
LDAPServer=PT_STRING8,0x6600
; -- This is the IP address or host name of the machine containing
; the LDAP server.
LDAPServerPort=PT_STRING8,0x6601
; -- The port number that the LDAP server is listening on.
UserName=PT_STRING8,0x6602
; -- Enter the user's name. This value is not required if you allow
; anonymous binds.
SearchBase=PT_STRING8,0x6603
; -- The Search Base (e.g. o=microsoft, c=US).
SearchFilter=PT_STRING8,0x6604
; -- The Search Filter in RFC1777 format with %s allowed as a
; substitution token for the name to be searched for. For example,
; (|(cn=*%s*)(sn=*%s*)) can be used to perform a search on common name
; or surname.
MAPIAddressType=PT_STRING8,0x6605
; -- The address type to be used by MAPI in message submission. For
; example, SMTP.
EMailAttribute=PT_STRING8,0x6606
; -- The E-Mail Attribute (e.g. mail, mhsOrAddresses or
; rfc822Mailbox), which is mapped to the MAPI PR_EMAIL_ADDRESS property.
LDAPTimeLimit=PT_STRING8,0x6607
; -- LDAP Time Limit for searching (in seconds). The maximum length of
; time to search the directory. A value of 0 means that the search will
; not be limited by time. Note that this will not necessarily supersede
; any system-wide limits defined on the server.
LDAPSizeLimit=PT_STRING8,0x6608
; -- LDAP Size limit for searching (in number of 'hits'). The maximum
; number of matches to return. A value of 0 means that there is no
; limit to the number of matches. Note that this will not necessarily
; supersede any system-wide limits defined on the server.
LDAPTimeLimitLowBand=PT_STRING8,0x6609
; -- Same as LDAP Time Limit, except for low bandwidth links.
LDAPSizeLimitLowBand=PT_STRING8,0x660a
; -- Same as LDAP Size Limit, except for low bandwidth links.
LogFilePath=PT_STRING8,0x660b
; -- Log File (full pathname).
ErrorLogging=PT_STRING8,0x660c
; -- Error Logging Levels , ON or OFF.
DisplayNameSource=PT_STRING8,0x6611
; -- Attribute to be used within the Internet Directory entry for
; populating the user Display Name.
DisplayFailDialog=PT_STRING8,0x6612
; -- Attribute to determine if a dialog will be displayed when a search
; to the Internet Directory fails. The dialog will display additional
; information. Values can be either 1 (display) or 0 (do not display).
[Internet E-Mail]
; If you configure an Internet E-mail service, then you also need to add
; information in section 5.
ServiceName=IMAIL
; When creating an Internet E-Mail service, both AccountName and
; LongAccountName MUST BE specified!
AccountName=PT_STRING8,0x661f
; This should be exactly the same as the I_Mail AccountName
; property.
LongAccountName=PT_STRING8,0x3001
; This should be the "Internet E-mail - " + the AccountName
; property. For example, if AccountName="foo", then this
; should be "Internet E-mail - foo".
[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.
; ************************************************************************
; Internet E-Mail service Settings/Definitions
; In a Corporate or Workgroup configuration, the only type of account that
; can be created is an I_MAIL (POP3) account. You can use settings from
; the [I_Mail] section below.
;
[I_Mail]
AccountType=POP3
;--- POP3 Account Settings ---
AccountName=PT_UNICODE,0x0002
DisplayName=PT_UNICODE,0x000B
EmailAddress=PT_UNICODE,0x000C
;--- POP3 Account Settings ---
POP3Server=PT_UNICODE,0x0100
POP3UserName=PT_UNICODE,0x0101
POP3UseSPA=PT_LONG,0x0108
Organization=PT_UNICODE,0x0107
ReplyEmailAddress=PT_UNICODE,0x0103
POP3Port=PT_LONG,0x0104
POP3UseSSL=PT_LONG,0x0105
; --- SMTP Account Settings ---
SMTPServer=PT_UNICODE,0x0200
SMTPUseAuth=PT_LONG,0x0203
SMTPAuthMethod=PT_LONG,0x0208
SMTPUserName=PT_UNICODE,0x0204
SMTPUseSPA=PT_LONG,0x0207
ConnectionType=PT_LONG,0x000F
ConnectionOID=PT_UNICODE,0x0010
SMTPPort=PT_LONG,0x0201
SMTPUseSSL=PT_LONG,0x0202
ServerTimeOut=PT_LONG,0x0209
LeaveOnServer=PT_LONG,0x1000
 
B

Brian Tillman [MVP - Outlook]

The contents of the profile are as follows:

Not an answer to your question, but I'd remove the reference to the PAB
since they've been obsolete for over ten years. Outlook 2007 can't even use
them. Outlook 2003 can't create them, but can use existing PABs, but it's
better to import their contents into Contacts where they belong.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top