Office deployment with xml

Qnde2844 41 Reputation points
2020-11-05T13:26:57.283+00:00

Hi,

We are using Office Customization Tool to create a XML file that we import when we publish Office.
From config.office.com > customization > Device configuration > create a config and choose Applications preferences.... here I am trying to found out how I can disable the popup you get when you first start office (Default File Types) choose between office open xml format or opendocument format.

I know how to configure this as a OMA setting, but I want to add it to the xml instead.... is there a prefernece for it, or do I have to manually add it to the XML code ?

Thanks for reply

/Andy

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

Accepted answer
  1. Emily Hua-MSFT 27,796 Reputation points
    2020-11-06T08:43:13.073+00:00

    @Qnde2844 ,
    Currently, do not find any App preferneces of configuration file to block it directly.

    Before you export the configuration file (.xml file) from config.office.com, there would be a windows shown to let you choose the default file format. Which option did you choose on the following screenshot?

    37972-capture11.jpg

    Except "Keep Current Settings", other settings would be converted to the "AppSettings" on configuration file (.xml file) automatically.

    If you specificed ODF or OpenXML format, but the prompt still be shown when first starting office, I would suggest add a registry manually. (Please note, serious problems might occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.
    Please refer to this article about how to back up and restore the registry in Windows.)

    Here is a similar thread "O365 firstrun suppression policy settings do not suppress file formats chooser when installed on EU locale computers", you may have a look.
    According to Arnaud PUYAL's reply, the following registry below could be helpful.

    HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Common\General > ShownFileFmtPrompt
    Value Type: DWORD
    Value: 1

    If you want to set it via GPO, you need to editing the Admx files, as there is no policy template setting fo this either.

    Any issues please let me know.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Rahul Jindal [MVP] 10,911 Reputation points MVP
    2020-11-05T22:24:06.377+00:00

    I haven’t tried the xml way, but in Intune you have the option to deploy office settings through a device restriction policy including enablement of default file types and disabling the welcome screen experience.

    0 comments No comments

  2. A.C. Jeroen de Bonte 6 Reputation points
    2022-05-17T12:14:19.947+00:00

    HKEY_CURRENT_USER\Software**Policies**\Microsoft\Office\16.0\Common\General is the wrong key.

    You need to set it in HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\General

    0 comments No comments

  3. A.C. Jeroen de Bonte 6 Reputation points
    2022-05-17T12:14:20.643+00:00

    HKEY_CURRENT_USER\Software**Policies**\Microsoft\Office\16.0\Common\General is the wrong key.

    You need to set it in HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\General

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.