locked
Default apps for all users RRS feed

  • Question

  • Hello

    Is there any way how to keep default apps when migration user from Win Srv 2012R2 to 2019 ?

    Or if its possible to set default apps XML to applny only once for all users ?


    • Edited by crawn2 Tuesday, March 5, 2019 8:33 AM
    Tuesday, March 5, 2019 7:46 AM

All replies

  • Hello!

    You can export the default app associations by using DISM, like this:

    Export Default Application Association Settings:

    Dism.exe /online /Export-DefaultAppAssociations:C:\Temp\DefaultAssoc.xml

    Import Default Application Association Settings:

    Dism.exe /Image:C:\test\offline /Import-DefaultAppAssociations:C:\Temp\DefaultAssoc.xml

    If you want to apply the default application association settings for all users, you can use Group Policy (GPO):

    GPO Path:
    Computer Configuration > Policies > Administrative Templates > Windows Components > File Explorer

    GPO:
    Set a default associations configuration file


    Here's a guide on how to do it with GPOs: 
    https://4sysops.com/archives/default-file-associations-in-windows-10/#deploying-default-file-associations-using-group-policy


    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 5, 2019 8:47 AM
  • But can i use it via GPO to apply only once for all users ?

    I know about DISM but we have set some restrictions for non admin users and they cant run DISM.

    Tuesday, March 5, 2019 8:54 AM
  • Yes you can use GPO to apply it just once, make sure that all users have the GPO applied and once it has been applied, you can disable/remove the GPO.

    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 5, 2019 9:08 AM
  • Can you pleas show me where si that option ? because for this "Rule" i cant find option apply only once and do not reapply.

    I just want to enable this rule and keep it Enable everytime, it means, when there will be new users, this rule will be enable for them but only once (automatically)

    Tuesday, March 5, 2019 9:58 AM
  • Well in that case you can leave it enabled, it won't matter if the GPO reapplies to existing users, if the default application associations won't change.

    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 5, 2019 10:01 AM
  • It will be a bit problem, because some users, I think, will change default programs, but by default, in migration to newer OS, i need to change this for all users.

    Or just change it to whoel server, and if users will change this options it will keep for him ?
    • Edited by crawn2 Tuesday, March 5, 2019 10:28 AM
    Tuesday, March 5, 2019 10:04 AM
  • If you want it to run only once, then Group Policies might be more tricky.

    What you could do, in a "dirty" way is to just run a script (for example the ones above) once on every client that imports the default application association settings.


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, March 5, 2019 11:10 AM
  • Thanks for reply, do you know how to do that (maybe via powershell) - just example
    Thursday, March 14, 2019 8:05 AM
  • You can run the DISM commands above in PowerShell or create a PowerShell script with the commmand above.

    Blog: https://thesystemcenterblog.com LinkedIn:

    Thursday, March 14, 2019 8:11 AM