1.    12 Aug 2016 #1
    Join Date : Aug 2016
    Posts : 1
    Windows 10

    Set File Association with .reg File


    i have a problem with File Associations in Windows (Build 1607).

    I want to set a File Association for .pdf so that i can start .pdf files with Adobe Acrobat Reader DC and not with Microsoft Edge (default).

    It is possible if i change it over System -> Default Apps but i need to do it with a batch file

    If i change the settings on

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Roaming\OpenWith\FileExts\.pdf Progid ---> AcroExch.Document.DC


    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice Progid ---> AcroExch.Document.DC

    it don't work...pdf files always open with edge...

    Anyone has an idea or can post a script to do that?

      My System SpecsSystem Spec

  2.    12 Aug 2016 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 5,797
    Win 10 Pro (1607)

    Sorry, why do you need to do it with a script?
    Could you perhaps say what issue you are seeing?
    Note you cannot set defaults from within a program. Must be set using Settings, Control panel or via Open With.

    I have Sumatra pdf viewer as my default, was before the upgrade, was after.

    I have noted a few people having difficulty with this. Do you feel you need to repeatedly need to set this association?

    Solved How to use Adobe Reader to open PDF's instead of Edge - Windows 10 Forums
    Solved How to set default pdf reader - Windows 10 Forums
    Can't change default app from Acrobat Reader DC to Acrobat - Page 2 - Windows 10 Forums
    How do I change default PDF program from Microsoft Edge to Adobe? - Windows 10 Forums
      My System SpecsSystem Spec

  3.    29 Aug 2016 #3
    Join Date : Aug 2015
    Posts : 5
    Windows 10, etc

    File assoc resets

    One reason to use a .reg file is so we can one-click restore our custom settings after Windows capriciously decides to reset it to MS default Apps. Then instead of trying to remember where/what/how we set the association, we can just click our .reg file and have it all back as we customized... until the next time Windows resets defaults. This is exemplified by a bug of the recent Anniversary update... for some users ...suddenly they found a bunch of third party programs disassociated and MS Apps popping up instead. Annoying!

    I'm using/assigning an old Microsoft .hlp file viewer... rather than have the winhlp32.exe stub send me to an Error webpage that MS so kindly throws at us now. It's tedious to go re-associate multiple times. It's easier to customize, then Export the association registry branch/twig/leaf... and later, when needed, double-click that .reg to re-reset back to our customizations. I'm not sure about the original poster's purpose, but I don't have the patience to fight MS re-defaulting... or look for the cause since it worked just fine before Anniversary and their rude resettings. Got to show off the new apps somehow.
    Sorry, but resetting lots of file associations isn't trivial. I discovered a supposed fix to stop further resettings of music/photos/Edge/etc... seems to work ...until I lost the .hlp customization, which may be a different matter, but exporting a .reg would make recovery simple.
      My System SpecsSystem Spec

  4.    29 Aug 2016 #4
    Join Date : Jan 2015
    UK, Midlands
    Posts : 5,797
    Win 10 Pro (1607)
      My System SpecsSystem Spec

  5.    29 Aug 2016 #5
    Join Date : Aug 2015
    Posts : 5
    Windows 10, etc

    That looks interesting... have to remember to keep it updated after user customization and app installs, perhaps.
    Will try it. Thanks!
      My System SpecsSystem Spec


Similar Threads
Thread Forum
Solved Set file association for .NEF files
I have Photoshop CS4 along with Camera Raw installed as well as Adobe Acrobat 9.5. Everytime I try to open a .NEF file Windows tries to open it in Acrobat 9.5. Naturally it cannot. When I go to the file associations Photoshop CS4 is not an option....
Software and Apps
File Association to Programs
Hello, Some programs on the pc were not installed with the installer - they are portable zip files, I unziped them into a folder, made a shortcut to the desktop and they work fine for me. They are not listed in the 'installed programs' list. I am...
Software and Apps
Solved File extension not in file association list
Hello, I use Notepad++ to edit Python files which have the file extension .py such as "sample.py" I would like to set Notepad++ as the default program to open .py files. When I open a .py file I get the popup asking me which file I want to use...
General Support
How do i change the file association for SCR files
Hi, I use files with an SCR extension to store text data. For me SCR means script. I would like it so that when I double-click on this file, that it opens with notepad (or something similar). But this file is registered as a screen saver. And...
General Support
No jpg file association ?
I double clicked on xxx.jpg and LibreOffice opened. I wanted to change the program to IrfanView. I went in through Start > search > associations. How could they screw that up ?
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:47.
Find Us
Twitter Facebook Google+

Windows 10 Forums