
If you want to reset the default programs for opening files you can do that using Windows settings. How do I reset the default program for opening files? You can easily change the current file types easily using the same method.Īlso see: How to monitor the system for Registry changes. This is a long process to create a new file type. Set the default value of the command key to the following:.Under open, create another sub-key named command.Under the shell key, create a sub-key named open.Under itechticsFile, create another sub-key with the name shell.Set its default value to C:\Path\Executable,0.Under itechticsFile, create a new sub-key with the name DefaultIcon.Now create another key under HKEY_CLASSES_ROOT with the name itechticsFile.For example, I will set the default value of. In the right-hand pane, set the Default value to file type name.If the name already exists, skip step 3.For example, I wanted to create a new file type extension.
Give the name to the key that is exactly the extension name. Right-click HKEY_CLASSES_ROOT and go to New –> Key. Simply running the registry file will make the required changes. The Registry method is also useful when you want to create a single file and distribute it to other users to apply the same settings without configuring anything. If the above mentioned methods don’t work, you can use the Windows Registry to set and tweak the default file associations. This will apply the group policy immediately. After configuring the group policy, run the following command in command prompt:. To create the default file, you can run the following command in administrative command prompt:ĭism.exe /Online /Export-DefaultAppAssociations:C:\DefaultFileAssociations.xml. Select Enabled and give the path of the file associations xml file. In the right-hand pane, double-click on Set a default associations configuration file. Go to the following tree in the left hand pane:Ĭomputer Configuration –> Administrative Templates –> Windows Components –> File Explorer. This will open the local group policy editor. We will go through all the steps of using the group policy editor to create a default associations file and then applying it on the complete network using Active Directory group policy or on a single computer but for all users. If you are a sysadmin or a Power user who wants to set the filetype defaults as per your own requirements, you can use the Group Policy to implement it on multiple users and computers. Once you have selected the app, select Always use this app to open. You will need to browse your desired app executable. If you can’t find it in the list, click on More apps and then Look for another app on this PC. Select your desired program from the list. Right-click on the file you want to open and select Open With.