GPO how to assosiate all .SAP files with SAP application using GPO

mario andm 11 Reputation points
2022-03-17T14:21:21.317+00:00

HI,
How to set all files with sap extension to be always open by SAP using GPO?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,531 questions
SAP HANA on Azure Large Instances
SAP HANA on Azure Large Instances
Microsoft branding terminology for an Azure offer to run HANA instances on SAP HANA hardware deployed in Large Instance stamps in different Azure regions.
123 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,273 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,364 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Thameur-BOURBITA 33,086 Reputation points
    2022-03-17T19:05:16.293+00:00

    Hi,

    You can use Group Policy Preference to set file extension ans specify associated program :

    Computer Configuration > Preferences > Control Panel Settings > Folder Options.
    

    Please don't forget to mark helpful reply as answer

    1 person found this answer helpful.
    0 comments No comments

  2. Limitless Technology 39,686 Reputation points
    2022-03-21T16:58:20.787+00:00

    Hello @mario andm

    Windows 10 introduced the settings for default application as XML files. You can export you current file association and edit or add if needed, then deploy using GPO to a group of computers:

    Extract current XML file
    Dism.exe /online /Export-DefaultAppAssociations:C:\PS\DefaultAssoc.xml

    Import XML file association file
    Dism.exe /Online /Import-DefaultAppAssociations:C:\PS\DefaultAssoc.xml

    GPO settings:
    Path: Computer Configuration\Policies\Administrative Templates\Windows Components\File Explorer
    Policy: DefaultAssociationsConfiguration
    Status: Enabled
    Value: UNC path to DefaultAssoc.xml in shared storage

    Hope this helps with your query,

    ------
    --If the reply is helpful, please Upvote and Accept as answer--

    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.