Set File Association with .reg File

  1.    12 Aug 2016 #1

    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 ComputerSystem Spec

  2.    12 Aug 2016 #2

    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 ComputersSystem Spec

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

    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 ComputerSystem Spec

  4.   My ComputersSystem Spec

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

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

  6.    16 Apr 2017 #6

    Association for PDFfies permanently changed to Reader PC! Pls Help!

    I have read all the Forum advice on changing file associations but am still stuck. When I downloaded Adobe Acrobat Reader PC is installed itself as the default App for opening PDF files, replacing my original Adobe Pro. But that was a mistake -- I should have known because that is a typical trick used by Adobe to force users to the more expensive monthly services. But now I have been unable to change the association back to Adobe Pro. I even tried changing the registry entry but could not find the right key modification link in Regedit. Has anyone had this problem? The program setup says that PDF is associated with Acrobat Pro but it is not the one launched by clicking on a pdf file! Can anyone help me?
      My ComputerSystem Spec

  7. Berton's Avatar
    Posts : 5,877
    Win10 Home and Pro, Win10 Insider Preview, WinXP Home Premium, Linux Mint
       16 Apr 2017 #7

    It may be where the .pdf file is being opened from. I have no problem resetting Acrobat Reader back to Acrobat Pro for files on the HDD but those from the Internet may open to a different default in the Browser. IE has settings in Internet Options, Programs Tab to specify a few things that may help.
      My ComputerSystem Spec


Related Threads
Hello, I use Notepad++ to edit Python files which have the file extension .py such as "" 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...
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....
File Association to Programs in Software and Apps
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...
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...
No jpg file association ? in General Support
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 ?
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