VMware Horizon Community
SchwarzC
Enthusiast
Enthusiast
Jump to solution

Outlook 16 Stationery and Fonts

Dear all,

we have Problems saving the Stationary Entries for Outlook 2016 on Windows 10 1703:

Capture.PNG

These settings are stored here - (from our UEM Config):

[IncludeRegistryTrees]

HKCU\Software\Microsoft\Office\16.0\Common\MailSettings

but UEM is not able to save them correctly - is there a limitation from UEM about REG_BINARY files, these entries are in this format and pretty long.

Any help appreciated.

0 Kudos
1 Solution

Accepted Solutions
DEMdev
VMware Employee
VMware Employee
Jump to solution

Thank you for the additional info.

I just did a quick test with the correct registry settings you provided, and they roam correctly across sessions with a simple [IncludeRegistryTrees] – I didn't really expect otherwise, but just wanted to make sure 🙂

The only way where another UEM setting might interfere with this is if it were to explicitly remove registry settings, but just to rule that out, could you test this in a smaller setup, with just an "OutlookTest.INI" containing only

[IncludeRegistryTrees]

HKCU\Software\Software\Microsoft\Office\16.0\Common\MailSettings

just to make sure?

View solution in original post

0 Kudos
10 Replies
DEMdev
VMware Employee
VMware Employee
Jump to solution

Hi SchwarzC,

UEM should not have any issues exporting those REG_BINARY values, regardless of their size.

You say that "UEM is not able to save them correctly", but is that based on the fact that the Personal Stationery settings in Outlook don't look correctly the next time you log on, or do you actually see errors occur?

Can you provide a FlexEngine log file at log level DEBUG? And maybe a profile archive (or just the .REG content), together with a "manual" export (using regedit.exe) of HKCU\Software\Microsoft\Office\16.0\Common\MailSettings?

SchwarzC
Enthusiast
Enthusiast
Jump to solution

Thanks for the quick help.

Exactly the settings select by the user are not correct the next time you login - there is no visible error.

Log off log

2018-04-10 16:39:42.243 [INFO ] Exporting profile using config file 'Outlook2016.INI' (\\\it\UEMConfig\QAS-W10\general\Office 2016\Outlook2016.INI)

2018-04-10 16:39:42.243 [INFO ] Exporting Registry information

2018-04-10 16:39:42.243 [DEBUG] ExportRegistry: Exporting tree 'HKCU\Software\Microsoft\Office\16.0\Common\MailSettings'

2018-04-10 16:39:42.243 [DEBUG] ExportRegistry: Exporting tree 'HKCU\Software\Microsoft\Office\16.0\MAPI'

2018-04-10 16:39:42.243 [DEBUG] ExportRegistry: Exporting tree 'HKCU\Software\Microsoft\Office\16.0\Outlook'

2018-04-10 16:39:42.259 [DEBUG] ExportRegistry: Exporting tree 'HKCU\Software\Microsoft\Office\Outlook'

2018-04-10 16:39:42.274 [DEBUG] ExportRegistry: Exporting tree 'HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles'

2018-04-10 16:39:42.274 [DEBUG] ExportRegistry::ExportKey: Key 'HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles' does not exist

2018-04-10 16:39:42.274 [DEBUG] ExportRegistry: Exporting value 'HKCU\Software\Microsoft\Exchange\Client\Options\PickLogonProfile'

2018-04-10 16:39:42.274 [DEBUG] ExportRegistry::ExportValue: Key 'HKEY_CURRENT_USER\Software\Microsoft\Exchange\Client\Options' does not exist (value: 'PickLogonProfile')

2018-04-10 16:39:42.274 [INFO ] Exported Registry information successfully

2018-04-10 16:39:42.274 [INFO ] Exporting file information

2018-04-10 16:39:42.274 [DEBUG] ExportFiles: Recursively processing folder '<AppData>\Microsoft\Outlook'

2018-04-10 16:39:42.274 [DEBUG] ExportFiles: Recursively processing folder '<AppData>\Microsoft\Signatures'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Recursively processing folder '<AppData>\Microsoft\Stationery'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkaddritem.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkaddritem.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkapptitem.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkapptitem.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkdlstitem.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkdlstitem.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkexplorer.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olklogitem.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olklogitem.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkmailitem.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkmailitem.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkmailread.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkmailread.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkmmsedit.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkmmsedit.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkmmsread.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkmmsread.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkmreqread.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkmreqread.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkmreqsend.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkmreqsend.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkpostitem.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkpostitem.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkpostread.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkpostread.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkreportitem.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkreportitem.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkresenditem.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkresenditem.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkrespcounter.officeUI'

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkrespcounter.officeUI' does not exist

2018-04-10 16:39:42.290 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkresponseread.officeUI'

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkresponseread.officeUI' does not exist

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkresponsesend.officeUI'

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkresponsesend.officeUI' does not exist

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkrssitem.officeUI'

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkrssitem.officeUI' does not exist

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkshareitem.officeUI'

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkshareitem.officeUI' does not exist

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olkshareread.officeUI'

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olkshareread.officeUI' does not exist

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olksmsedit.officeUI'

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olksmsedit.officeUI' does not exist

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Processing file '<AppData>\Microsoft\Office\olksmsread.officeUI'

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olksmsread.officeUI' does not exist

2018-04-10 16:39:42.306 [DEBUG] ExportFiles: Individual file '<AppData>\Microsoft\Office\olktaskitem.officeUI' does not exist

2018-04-10 16:39:42.306 [INFO ] Exported file information successfully

2018-04-10 16:39:42.306 [DEBUG] Stored 19 entries in profile archive (size: 623567; compressed: 623782)

2018-04-10 16:39:42.306 [DEBUG] Backing up '\\it\UEM1\uemprofiles\******\archives\Office 2016\Outlook2016.zip' to '\\\it\UEM1\uemprofiles\*****\backups\Office 2016\Outlook2016 2018-04-10 999999.zip'

Log In Log

2018-04-10 16:41:00.668 [INFO ] Importing profile archive 'Outlook2016.zip' (\\opecfund.org\it\UEM1\uemprofiles\schwarz\archives\Office 2016\Outlook2016.zip)

2018-04-10 16:41:00.731 [DEBUG] ImportRegistry::Import: Calling '"C:\Windows\REGEDIT.EXE" /S "C:\Users\schwarz\AppData\Local\Temp\FLX3ACE.tmp"' (RPAL: l=0 (D/E), r=0)

2018-04-10 16:41:01.027 [DEBUG] Read 19 entries from profile archive (size: 623567; compressed: 623782; took 313 ms; largest file: 242540 bytes; slowest import took 4 ms)

Correct (manually copied and also in the UEM Profile (under Registry))

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\MailSettings]

"MarkCommentsWith"=hex:00,00

"NewTheme"=""

"Template"=hex(2):00,00

"ReplyFontComplex"=hex:3c,68,74,6d,6c,3e,0d,0a,0d,0a,3c,68,65,61,64,3e,0d,0a,\

  3c,73,74,79,6c,65,3e,0d,0a,0d,0a,20,2f,2a,20,53,74,79,6c,65,20,44,65,66,69,\

  6e,69,74,69,6f,6e,73,20,2a,2f,0d,0a,20,73,70,61,6e,2e,50,65,72,73,6f,6e,61,\

  6c,52,65,70,6c,79,53,74,79,6c,65,0d,0a,09,7b,6d,73,6f,2d,73,74,79,6c,65,2d,\

  6e,61,6d,65,3a,22,50,65,72,73,6f,6e,61,6c,20,52,65,70,6c,79,20,53,74,79,6c,\

  65,22,3b,0d,0a,09,6d,73,6f,2d,73,74,79,6c,65,2d,74,79,70,65,3a,70,65,72,73,\

  6f,6e,61,6c,2d,72,65,70,6c,79,3b,0d,0a,09,6d,73,6f,2d,73,74,79,6c,65,2d,6e,\

  6f,73,68,6f,77,3a,79,65,73,3b,0d,0a,09,6d,73,6f,2d,73,74,79,6c,65,2d,75,6e,\

  68,69,64,65,3a,6e,6f,3b,0d,0a,09,6d,73,6f,2d,61,6e,73,69,2d,66,6f,6e,74,2d,\

  73,69,7a,65,3a,31,31,2e,30,70,74,3b,0d,0a,09,6d,73,6f,2d,62,69,64,69,2d,66,\

  6f,6e,74,2d,73,69,7a,65,3a,31,31,2e,30,70,74,3b,0d,0a,09,66,6f,6e,74,2d,66,\

  61,6d,69,6c,79,3a,22,43,61,6c,69,62,72,69,22,2c,73,61,6e,73,2d,73,65,72,69,\

  66,3b,0d,0a,09,6d,73,6f,2d,61,73,63,69,69,2d,66,6f,6e,74,2d,66,61,6d,69,6c,\

  79,3a,43,61,6c,69,62,72,69,3b,0d,0a,09,6d,73,6f,2d,61,73,63,69,69,2d,74,68,\

  65,6d,65,2d,66,6f,6e,74,3a,6d,69,6e,6f,72,2d,6c,61,74,69,6e,3b,0d,0a,09,6d,\

  73,6f,2d,68,61,6e,73,69,2d,66,6f,6e,74,2d,66,61,6d,69,6c,79,3a,43,61,6c,69,\

  62,72,69,3b,0d,0a,09,6d,73,6f,2d,68,61,6e,73,69,2d,74,68,65,6d,65,2d,66,6f,\

  6e,74,3a,6d,69,6e,6f,72,2d,6c,61,74,69,6e,3b,0d,0a,09,6d,73,6f,2d,62,69,64,\

  69,2d,66,6f,6e,74,2d,66,61,6d,69,6c,79,3a,22,54,69,6d,65,73,20,4e,65,77,20,\

  52,6f,6d,61,6e,22,3b,0d,0a,09,6d,73,6f,2d,62,69,64,69,2d,74,68,65,6d,65,2d,\

  66,6f,6e,74,3a,6d,69,6e,6f,72,2d,62,69,64,69,3b,0d,0a,09,63,6f,6c,6f,72,3a,\

  77,69,6e,64,6f,77,74,65,78,74,3b,7d,0d,0a,2d,2d,3e,0d,0a,3c,2f,73,74,79,6c,\

  65,3e,0d,0a,3c,2f,68,65,61,64,3e,0d,0a,0d,0a,3c,2f,68,74,6d,6c,3e,0d,0a

"ReplyFontSimple"=hex:3c,00,00,00,1f,00,00,f8,00,00,00,40,dc,00,00,00,00,00,00,\

  00,00,00,00,ff,00,22,43,61,6c,69,62,72,69,00,00,00,00,00,00,00,00,00,00,00,\

  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

Copied by UEM to the actual client

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\MailSettings]

"MarkCommentsWith"=hex:00,00

"NewTheme"=""

"Template"=hex(2):00,00

Missing the ReplyFontComplex and the ReplyFontSimple

I do not have DirectFlex activated

0 Kudos
DEMdev
VMware Employee
VMware Employee
Jump to solution

Thank you for the additional info.

I just did a quick test with the correct registry settings you provided, and they roam correctly across sessions with a simple [IncludeRegistryTrees] – I didn't really expect otherwise, but just wanted to make sure 🙂

The only way where another UEM setting might interfere with this is if it were to explicitly remove registry settings, but just to rule that out, could you test this in a smaller setup, with just an "OutlookTest.INI" containing only

[IncludeRegistryTrees]

HKCU\Software\Software\Microsoft\Office\16.0\Common\MailSettings

just to make sure?

0 Kudos
Ray_handels
Virtuoso
Virtuoso
Jump to solution

Maybe this is a long shot but we found out that if you change the keyboard layout it would automatically fall back to the wrong font type (i believe it is Times new roman).

We eventually ended up changing the default keyboard layout to US International and it worked then.

0 Kudos
SchwarzC
Enthusiast
Enthusiast
Jump to solution

Hi sorry for the late reply - was working on something completely different in the meantime.

I tried that but the same outcome

0 Kudos
SchwarzC
Enthusiast
Enthusiast
Jump to solution

Since we are not US based it is not possible to change to that keyboard language - we have UK as default.

Any specific you did? Because we have the UK keyboard set as default and that`s it. Why should this revert the Outlook settings?

Best regards

0 Kudos
DEMdev
VMware Employee
VMware Employee
Jump to solution

Hi SchwarzC,

So, just to double-check, if you log on, and check the registry key without having started Outlook or any other Office application, the two ReplyFont* values are missing?

If you still have the "OutlookTest.INI" and the corresponding user profile archive, can you try importing those settings via

"c:\Program Files\Immidio\Flex Profiles\FlexEngine.exe" -r \\correct\path\to\OutlookTest.zip

After running this command, are the two ReplyFont* values in the registry?

0 Kudos
robsisk1972
Enthusiast
Enthusiast
Jump to solution

DEMdev

Greetings all.  So I'm a little unclear why this thread is marked as resolved.   In my instance, this certainly isn't the case.

From what I see in my environment is that when fonts are changed in Outloook, the reg settings are exported fine.

When the user logs back in, they are imported fine.

When the user launches Outlook, the reg values that were imported are simply REMOVED which results in the font/stationary not being persisted to the user.

So I created a new config with direct flex to bring them back when Outlook is launched but the still get removed.

From where I sit, the UEM is doing what it's supposed to but Outlook is simply deleting what the UEM is persisting upon launch.    Has anyone found a way around this?

Thanks

Rob

0 Kudos
GuntherLmn
Contributor
Contributor
Jump to solution

Hi robsisk1972

For me It only occurs on the first login / initial creation of the Outlook Profile. Outlook overwrites the mailsettings registry key at  first creation of the outlook profile.

After that (If you capture the Outlook Profile Of course) I'm able to control the Stationery Font settings with a partially enforced predefined setting.

Downside of this is that the stationery font settings are applied from the second logon.

I would rather like to see it being applied at the first logon, but i can't get that to work yet. Not even with the stationery font settings included in the OCT neither with spoofing the

first run key.

Greetings,

Gunther

0 Kudos
robsisk1972
Enthusiast
Enthusiast
Jump to solution

Just to update the thread....I had initially disabled the out of the box config "Shared Settings" within the "Microsoft Office 2016" section of the DEM because it was prompting users to logon to Office 365 at every new session.   I worked with Support and re-enabled this setting and Outlook fonts and stationary are now persisting.   The support rep, modified this config to keep Office 365 logon prompts at bay.   

0 Kudos