|
3/1/2010 11:40:59 AM
|
fault Posts 6
|
Hello,
We are having major problems with getting Immidio Flex Profiles to work with Outlook 2007 SP2 on Windows Server 2008 SP2 x64. Here's our Outlook2007.INI file:
[IncludeRegistryTrees] HKCU\Software\Microsoft\Office\12.0\Outlook HKCU\Software\Microsoft\Office\Outlook HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem
We have customised Office 2007 SP2 using the Office Customisation Tool (OCT). We apply it using setup.exe /adminfile customisations.msp. The Outlook parts are configured as per these screenshots to "Modify Profile" and autoconfigure the %UserName% / mailbox server:
- http://img14.imageshack.us/img14/463/92568856.png - http://img411.imageshack.us/img411/3974/30145710.png
Now for our problems. Let's focus on the Outlook mail profiles -- HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem...
When a user logs on with a clean user profile (i.e., mandator profile with no existing Flex saved settings), they can launch Outlook without a problem. A Default Outlook Profile mail profile is created in Control Panel > Mail. HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem is populated as expected. We can also confirm C:\Program Files (x86)\Microsoft Office\custom12.prf is being used because if we add ProfileName=Test as a key/value pair, the profile name in Control Panel > Mail changes accordingly.
When the user logs off and back on again, we can verify that the registry in Outlook.zip is indeed loaded back into HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem. However, when the user tries to launch Outlook again:
1) They get a "Microsoft Exchange is unavailable" error and can't get any further!

2) If they try to go to Control Panel > Mail > Show Profiles..., they'll see multiple copies of their "Default Outlook Profile" as below. It seems that after logging off/on again to Terminal Services and after trying to relaunch Outlook, it creates a produces another copy. It doesn't if you repeatedly try to open/close Outlok and suppress error #1 above within the same session.

3) If they try to go to Control Panel > Mail > Email Accounts..., it just presents the same "Microsoft Exchange is unavailable" error again.
4) If they remove the profile, and manually create a new one (Outlook will via it via the autodiscover service), Outlook connects to the mailbox server successfully and they can view their emails.
Any ideas? Very frustrating problem :( It sure sounds like it's not saving enough registry keys out to Flex so Outlook is reconfiguring (backuping up the existing mail profile + recreating a new one) after logoff + logon again.
Thanks.
fault edited by fault on 3/1/2010
|
|
3/1/2010 10:52:04 PM
|
Arnout Grootveld — Immidio Posts 269
|
Ah, Outlook profile issues... Just search this forum for "Outlook firstrun", and you'll find lots of similar questions.
The culprit seems to be the "FirstRun" and/or "First-Run" registry value(s) at HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Setup. Suggested solutions vary between removing that/those value(s) and making sure that they are the same across all your servers.
-- Arnout.
|
|
3/2/2010 12:33:49 AM
|
fault Posts 6
|
Hello Arnout,
Thanks for the reply. Yep, have seen numerous threads on the Internet about this including the official Citrix forums -- doesn't help that there's no documentation from Microsoft on what it does :(
I am only testing with one Citrix server. As such, the First-Run key is always the same in HKLM and HKCU :) Can't see a FirstRun key ;(
I'll try deleting it and see what happens... Thanks.
|
|
3/9/2010 10:15:14 AM
|
fault Posts 6
|
Hello again Arnout,
I can delete the First-Run key and it makes no difference :( I can delete the following two entire registry trees when this problem occurs:
- HKCU\Software\Microsoft\Office - HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem
After this, there are no Outlook settings or profiles in Control Panel > Mail of course for the user. If I attempt to launch Outlook again, it populates both again, and just fails again with the same error :(
However, I delete both registry trees, then go into Control Panel > Mail and manually create a mail profile, it works. It autodiscovers the settings using the wizard and all is fine.
As such, I created another test server simply running Windows Server 2008 SP2 x64 + installed Terminal Services + installed Immidio Flex Profiles + manually installed Office 2007 SP2 (yep, by stepping through the wizard accepting all the default settings)!
Now when I logon as a user with with no Flex settings and just the mandatory profile, when I launch Outlook, I step through the wizard and its autodiscovers my settings again.
However, when I log off and back on again, and try to launch Outlook, I get the same dreaded error message!
This leads me to conclude that the problem lies with Flex! It is not restoring the neccessary registry keys or files? Since manually stepping through the Outlook wizard works fine.
Any ideas? Thanks again.
|
|
3/16/2010 12:18:18 PM
|
Raymond Wiesemann — Immidio Posts 93
|
We've written a document which describes how to set it up correctly...
The document can be found here
|
|
3/24/2010 2:48:32 PM
|
fault Posts 6
|
Hello Raymond,
Thanks for the reply. Good document -- this is actually the same solution we discovered ourselves for the multiple mail profiles issue! It's a shame the OCT can't do this for us. We use a script to copy over our preconfigured custom12.prf after deployment.
As for the issue with Outlook only working after the second or subsequent logons, we worked with Microsoft Premier Support to narrow this down to an issue with our mandatory profile. Don't delete the AppData\Roaming profile! We do this as part of our mandatory profile "clean up". If this folder is not present in the local path (i.e., C:\Users\%UserName%\AppData\Roaming), other critical folders including some funky crytography stuff can't be created which gave us authentication issues ;(
Cheers.
fault
|
|
3/26/2010 11:09:57 AM
|
Raymond Wiesemann — Immidio Posts 93
|
Hello Fault,
We've decided to create a document in which we show how create a mandatory profile for Immidio Flex Profiles Advanced.
The document can be found here
|
|
pages:
1 |