How to change the default fonts and Size in outlook 2016 Intune policy
Question
Hallo,
I have one question about outlook 2016 and outlook for Microsoft 356.
How to cahnge the Default fonts and Size in outlook 2016 Intune policy. I means with ADMX outlook 2016 file.
I’m using this OMA-URI and Value. but it is not working.
./User/Vendor/MSFT/Policy/Config/Office16~Policy~L_MicrosoftOfficeOutlook~L_OutlookOptions~L_MailFormat~L_StationeryandFontsL_StationeryFonts
Value: <enable/> <data id=”L_StationeryFonts” value=”Franklin Gothic Book,10″/>
Regards, Shevan
Answers ( 2 )
This will not work as the Setting for L_StationeryFonts is not about configuring the fonts Outlook uses.
https://snipboard.io/tpVjDz.jpg
I solved this using a small script based on a few exported registry-keys with the help of PSAppDeployToolkit :
[scriptblock]$HKCURegistrySettings = {
#Set-RegistryKey -Key ‘HKCU\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings’ -Name ‘Template’ -Value (0x00,0x00) -Type ‘Binary’ -SID $UserProfile.SID
Set-RegistryKey -Key ‘HKCU\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings’ -Name ‘MarkCommentsWith’ -Value (0x50, 0x00, 0x61, 0x00, 0x74, 0x00, 0x72, 0x00, 0x69, 0x00, 0x63, 0x00, 0x6b, 0x00, 0x20, 0x00, 0x54, 0x00, 0x69, 0x00, 0x70, 0x00, 0x70, 0x00, 0x6e, 0x00, 0x65, 0x00, 0x72, 0x00, 0x00, 0x00) -Type ‘Binary’ -SID $UserProfile.SID
Set-RegistryKey -Key ‘HKCU\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings’ -Name ‘ComposeFontComplex’ -Value (0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0d, 0x0a, 0x3c, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x20, 0x2f, 0x2a, 0x20, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x20, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x2a, 0x2f, 0x0d, 0x0a, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6e, 0x6c, 0x69, 0x63, 0x68, 0x65, 0x72, 0x45, 0x72, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x73, 0x74, 0x69, 0x6c, 0x0d, 0x0a, 0x09, 0x7b, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x22, 0x50, 0x65, 0x72, 0x73, 0xf6, 0x6e, 0x6c, 0x69, 0x63, 0x68, 0x65, 0x72, 0x20, 0x45, 0x72, 0x73, 0x74, 0x65, 0x6c, 0x6c, 0x73, 0x74, 0x69, 0x6c, 0x22, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x2d, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x73, 0x65, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x73, 0x68, 0x6f, 0x77, 0x3a, 0x79, 0x65, 0x73, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x75, 0x6e, 0x68, 0x69, 0x64, 0x65, 0x3a, 0x6e, 0x6f, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x61, 0x6e, 0x73, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x31, 0x30, 0x2e, 0x30, 0x70, 0x74, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x31, 0x31, 0x2e, 0x30, 0x70, 0x74, 0x3b, 0x0d, 0x0a, 0x09, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x22, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x22, 0x2c, 0x73, 0x61, 0x6e, 0x73, 0x2d, 0x73, 0x65, 0x72, 0x69, 0x66, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x61, 0x73, 0x63, 0x69, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x68, 0x61, 0x6e, 0x73, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x22, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x20, 0x4e, 0x65, 0x77, 0x20, 0x52, 0x6f, 0x6d, 0x61, 0x6e, 0x22, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x2d, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x3a, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x3b, 0x0d, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x74, 0x65, 0x78, 0x74, 0x3b, 0x7d, 0x0d, 0x0a, 0x2d, 0x2d, 0x3e, 0x0d, 0x0a, 0x3c, 0x2f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x0d, 0x0a, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0d, 0x0a) -Type ‘Binary’ -SID $UserProfile.SID
Set-RegistryKey -Key ‘HKCU\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings’ -Name ‘ComposeFontSimple’ -Value (0x3c, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0xf8, 0x00, 0x00, 0x00, 0x40, 0xc8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x22, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00) -Type ‘Binary’ -SID $UserProfile.SID
Set-RegistryKey -Key ‘HKCU\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings’ -Name ‘ReplyFontComplex’ -Value (0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0d, 0x0a, 0x3c, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x20, 0x2f, 0x2a, 0x20, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x20, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x2a, 0x2f, 0x0d, 0x0a, 0x20, 0x73, 0x70, 0x61, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6e, 0x6c, 0x69, 0x63, 0x68, 0x65, 0x72, 0x41, 0x6e, 0x74, 0x77, 0x6f, 0x72, 0x74, 0x73, 0x74, 0x69, 0x6c, 0x0d, 0x0a, 0x09, 0x7b, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x22, 0x50, 0x65, 0x72, 0x73, 0xf6, 0x6e, 0x6c, 0x69, 0x63, 0x68, 0x65, 0x72, 0x20, 0x41, 0x6e, 0x74, 0x77, 0x6f, 0x72, 0x74, 0x73, 0x74, 0x69, 0x6c, 0x22, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x61, 0x6c, 0x2d, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x73, 0x68, 0x6f, 0x77, 0x3a, 0x79, 0x65, 0x73, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x75, 0x6e, 0x68, 0x69, 0x64, 0x65, 0x3a, 0x6e, 0x6f, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x61, 0x6e, 0x73, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x31, 0x30, 0x2e, 0x30, 0x70, 0x74, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x31, 0x31, 0x2e, 0x30, 0x70, 0x74, 0x3b, 0x0d, 0x0a, 0x09, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x22, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x22, 0x2c, 0x73, 0x61, 0x6e, 0x73, 0x2d, 0x73, 0x65, 0x72, 0x69, 0x66, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x61, 0x73, 0x63, 0x69, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x68, 0x61, 0x6e, 0x73, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x22, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x20, 0x4e, 0x65, 0x77, 0x20, 0x52, 0x6f, 0x6d, 0x61, 0x6e, 0x22, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x2d, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x3a, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x3b, 0x0d, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x3a, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x74, 0x65, 0x78, 0x74, 0x3b, 0x7d, 0x0d, 0x0a, 0x2d, 0x2d, 0x3e, 0x0d, 0x0a, 0x3c, 0x2f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x0d, 0x0a, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0d, 0x0a) -Type ‘Binary’ -SID $UserProfile.SID
Set-RegistryKey -Key ‘HKCU\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings’ -Name ‘ReplyFontSimple’ -Value (0x3c, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0xf8, 0x00, 0x00, 0x00, 0x40, 0xc8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x22, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00) -Type ‘Binary’ -SID $UserProfile.SID
Set-RegistryKey -Key ‘HKCU\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings’ -Name ‘TextFontComplex’ -Value (0x3c, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x3c, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0d, 0x0a, 0x3c, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x20, 0x2f, 0x2a, 0x20, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x20, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x2a, 0x2f, 0x0d, 0x0a, 0x20, 0x70, 0x2e, 0x4d, 0x73, 0x6f, 0x50, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x2c, 0x20, 0x6c, 0x69, 0x2e, 0x4d, 0x73, 0x6f, 0x50, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x2c, 0x20, 0x64, 0x69, 0x76, 0x2e, 0x4d, 0x73, 0x6f, 0x50, 0x6c, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x0d, 0x0a, 0x09, 0x7b, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x6e, 0x6f, 0x73, 0x68, 0x6f, 0x77, 0x3a, 0x79, 0x65, 0x73, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x39, 0x39, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x2d, 0x6c, 0x69, 0x6e, 0x6b, 0x3a, 0x22, 0x4e, 0x75, 0x72, 0x20, 0x54, 0x65, 0x78, 0x74, 0x20, 0x5a, 0x63, 0x68, 0x6e, 0x22, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x3a, 0x30, 0x63, 0x6d, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x77, 0x69, 0x64, 0x6f, 0x77, 0x2d, 0x6f, 0x72, 0x70, 0x68, 0x61, 0x6e, 0x3b, 0x0d, 0x0a, 0x09, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x31, 0x30, 0x2e, 0x30, 0x70, 0x74, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x73, 0x69, 0x7a, 0x65, 0x3a, 0x31, 0x30, 0x2e, 0x35, 0x70, 0x74, 0x3b, 0x0d, 0x0a, 0x09, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x22, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x22, 0x2c, 0x73, 0x61, 0x6e, 0x73, 0x2d, 0x73, 0x65, 0x72, 0x69, 0x66, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x66, 0x61, 0x72, 0x65, 0x61, 0x73, 0x74, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x43, 0x61, 0x6c, 0x69, 0x62, 0x72, 0x69, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x66, 0x61, 0x72, 0x65, 0x61, 0x73, 0x74, 0x2d, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x3a, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x2d, 0x6c, 0x61, 0x74, 0x69, 0x6e, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x3a, 0x22, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x20, 0x4e, 0x65, 0x77, 0x20, 0x52, 0x6f, 0x6d, 0x61, 0x6e, 0x22, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x2d, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x2d, 0x66, 0x6f, 0x6e, 0x74, 0x3a, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x2d, 0x62, 0x69, 0x64, 0x69, 0x3b, 0x0d, 0x0a, 0x09, 0x6d, 0x73, 0x6f, 0x2d, 0x66, 0x61, 0x72, 0x65, 0x61, 0x73, 0x74, 0x2d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x3a, 0x45, 0x4e, 0x2d, 0x55, 0x53, 0x3b, 0x7d, 0x0d, 0x0a, 0x2d, 0x2d, 0x3e, 0x0d, 0x0a, 0x3c, 0x2f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x3e, 0x0d, 0x0a, 0x3c, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x3e, 0x0d, 0x0a, 0x0d, 0x0a, 0x3c, 0x2f, 0x68, 0x74, 0x6d, 0x6c, 0x3e, 0x0d, 0x0a) -Type ‘Binary’ -SID $UserProfile.SID
Set-RegistryKey -Key ‘HKCU\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings’ -Name ‘TextFontSimple’ -Value (0x3c, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0xf8, 0x00, 0x00, 0x00, 0x40, 0xc8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x22, 0x54, 0x61, 0x68, 0x6f, 0x6d, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00) -Type ‘Binary’ -SID $UserProfile.SID
Set-RegistryKey -Key ‘HKCU\SOFTWARE\Microsoft\Office\16.0\Common\MailSettings’ -Name ‘NewTheme’ -Value ” -Type ‘String’ -SID $UserProfile.SID
}
Invoke-HKCURegistrySettingsForAllUsers -RegistrySettings $HKCURegistrySettings
–> this will set the font to “Tahoma” – 10px for all user-profiles including the default.
Can you check the registry entries to confirm whether the policy got applied on the Windows 10 device?
ADMX Injection happened? Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\AdmxDefault\AAB267BF-EBF2-4649-822C-74511A4CC253\outlk16v2~Policy~L_MicrosoftOfficeOutlook~L_OutlookOptions~L_MailFormat~L_StationeryandFonts\L_StationeryFonts
Confirm https://snipboard.io/s2RmZr.jpg
Then proceed with other steps like policy value is there in the registry etc to understand it better
I have some examples https://howtomanagedevices.com/sccm/2661/onedrive-outlook-security-policies-troubleshooting/
The path would be similar Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\Providers\AAB267BF-EBF2-4649-822C-74511A4CC253\default\S-1-12-1-1245278575-1092210432-2695042466-3045220724\outlk16v2~Policy~L_MicrosoftOfficeOutlook~L_Miscellaneous