
- Windows 10 change default application for file extension pdf#
- Windows 10 change default application for file extension windows 10#
- Windows 10 change default application for file extension code#
Repeat this sequence for all protocols you want to reset and you are done. In previous attempts to assign an app to '.rex' I managed to assign it to Notepad. Most of the solutions were posted PRIOR to April 2018, and involved working your way through the 'settings' to get to 'Choose default Apps by file type'. To reset your protocol associations, go to Settings - Apps - Defaults Apps and click on the link Choose default apps for protocol.įor all the desired protocols, select a first-party app, e.g. I have spent a very long time researching this. Select the default app you want to associate with that file format and check the Always use this app to open files box. This will set the selected app as the default app for file types. Right-click on the file and choose Open with > Choose another app from the contextual menu.
Windows 10 change default application for file extension windows 10#
Reset Specific File Type or Protocol associations in Windows 10
Windows 10 change default application for file extension code#
xml association file with DISM.exe, but they were a little extensive processes, after a deeper search and taking into account that my client needed a quick fix I found this little command line tool SetUserFTA.exe created by Christoph Kolbicz which complied with what was required and I opted to use momentarily, however I was intrigued to be able to include this method directly in an application developed in another language such as C++, AutoIt, Pascal or PowerShell.Īfter a couple of days fighting against Windows and doing some Google research, I manage to find the method that uses Windows internally and develop a code to implement in the application of my client. To set the default application via registry also failed. My attempt to solve this with folder options failed. We have Adobe Acrobat Reader DC and Adobe Acrobat DC installed on a Windows Server 2012 R2 terminal server.
Windows 10 change default application for file extension pdf#
pdf files depending on the users group with a GPO. For example, to set Notepad as the default program for. Open Windows File Explorer On the view Ribbon (tab) check the box marked 'File Name Extensions' Close File Explorer Right click your Desktop and choose New - Text File Change the file extension on that new file from. - File Types - New Type: Description of type: Text (any description, you can type in) Associated extension. I try to set the default application for.

The main problem is that in recent versions of Windows 8/10 This key is protected by a hash associated with the file type, and succeeding in editing it without generating the valid hash the association is automatically restored to the default application.ĭoing a quick search on Google I found some ways to do it, using GPO(Group Policy Object) or importing a. Run your command in the following syntax to change file associations: assoc fileextension'pathtoprogram'. ProgId entry is the Registered Application Id that handle the file type.


Hash entry that is generated automatically by Windows to validate the integrity of file type association.
