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?

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.
127 questions
Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    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,926 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.