During a recent engagement I hit upon an issue where I had a stateless desktop, no roaming profiles and no persona management available to me, yet my customer wanted to have Microsoft Outlook automatically connect to Exchange without any user interaction.
I messed around with a few ideas, but didn’t want to make any dramatic changes to my customers current environment as this was all for a PoC. After some trial and error with various methods I decided to use the Office Customization Tool to forcefully inject the Exchange profile settings into the Office installation. This is not something I have done for a long time since my desktop support days, so thought I would write this post to refresh mine and perhaps others memories.
I’m not going to delve into what else the Office Customization tool in Office 2010 can do, Microsoft have this covered off in TechNet here http://technet.microsoft.com/en-gb/library/cc179097(v=office.14).aspx
Firstly either ensure you have your Office 2010 media mounted to your CD/DVD drive or you have the media available on a network share.
Open the command prompt and change to the location of MS Office 2010.
Launch the OCT by issuing the following command: setup.exe /admin
You will be promoted if you would like to create customzation or modify an existing one, select create new and select your version of Office from the list.
From the navigation pane select Outlook Profile and select ‘New Profile’, give the profile a meaningful name.
From the navigation pane select ‘Add Accounts’ and Select ‘Customize additional Outlook profile and account information’ then click ‘Add’.
Click ‘OK’ then Click ‘Finish’. Ensure that the new account is the selected account for both ‘Deliver new mail’ and ‘Default e-mail account’ options.
Save the file to the root of your C:\ by clicking ‘File>Save As’ and ensure the filename has no spaces in it.
You are now ready to install Office using your custom file. To do so, execute the following command: setup.exe /adminfile c:\outlookmsp.msp (replace with your filename!!)