title: How do I programmatically set a a collection of default apps in Windows 10
body: <p>Every time Windows 10 updates it resets a series of default apps to Microsoft defaults. I want my videos and music handled by VLC and my photos by Irfanview. The MS default will not even give me good previews. After manually resetting default apps a few dozen times I am willing to write an app that runs in the background and protects my defaults - I understand Microsoft makes this difficult - does anyone know how.
  I tried the registry changes here <a href="http://winaero.com/blog/prevent-windows-10-from-resetting-your-default-apps/" rel="nofollow noreferrer">http://winaero.com/blog/prevent-windows-10-from-resetting-your-default-apps/</a>. 
  I tried Stop Resetting My Apps. I read this piece with a paragraph suggesting Microsoft will make this hard <a href="https://stackoverflow.com/questions/32178986/windows-10-equivalent-of-launchadvancedassociationui">Windows 10 equivalent of LaunchAdvancedAssociationUI</a>. 
  Does anyone have a solution - again I want something that can run in the background and set associations to my preferences not Microsoft's.</p>