Fully remove a default program association for file types in Windows 10?

3

Not a single answer from here worked for me.

I want to delete the .resource association with Total Commander.

Approach 1

I open registry, go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\\.resource\OpenWithList and remove there all I can.

enter image description here

It does not work, the default app is still there.

Approach 2

I create a dumb .exe. Right click a file .resource select open with and check to always use the app as a default one. When time comes for the file to be opened I am presented with a window that tells me that .exe can not be used for opening the file. And hence again I did not remove the Total Commander as default opener of .resource.

enter image description here

enter image description here

Approach 3

I right click Window button. Go to Apps and Features -> Default apps -> Choose default app by file type -> Scroll until find the .resource extension and see that there are not options except Total Commander. Again I was not able to remove the default open with app.

enter image description here

4 Approach

Win+R -> cmd.exe -> ASSOC .resource= -> check that file association is gone, but it is not gone.

enter image description here

That is really crazy. What can I do to solve the issue?

Yaroslav Trofimov

Posted 2018-10-24T12:11:21.353

Reputation: 41

Assoc - File extension and Type - Windows CMD - SS64.com – DavidPostill – 2018-10-24T12:29:07.040

@DavidPostill, is 4 Approach what you mean? Just added it. – Yaroslav Trofimov – 2018-10-24T12:38:49.657

Hmm. What happens if you correct the spelling mistake? – DavidPostill – 2018-10-24T12:41:58.713

"ASSOC .reource= " should be resource. – DavidPostill – 2018-10-24T12:42:58.927

Addendum: ASSOC command should be run from Admin "Command Prompt" (cmd.exe) window and not under PowerShell console. – w32sh – 2018-10-24T12:47:48.500

@Win32Guy, thank you. Just did what you propose and it did not change the file association. – Yaroslav Trofimov – 2018-10-24T12:52:51.290

Possible duplicate of How can I make Notepad++ default program for `.txt` files?

– Ramhound – 2018-10-27T21:05:45.167

@YaroslavTrofimov Did you get a chance to look over the answer I provided below? – Pimp Juice IT – 2019-04-25T18:57:37.797

Answers

4

Simply save the below Reg File to a .reg extension named text file and then run the elevated command of ASSOC .resource=. Afterwards, double click the Reg File to remove that registry key and its content from the registry to fully disassociate the file extension from opening with any apps.

Reg File

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.resource]

enter image description here

Now when you go to open the .resource file, it will no longer have any application association and prompt you to tell it what app to open with.

You can delete this key manually by navigating to it via regedit and then pressing Delete too. enter image description here


Additional Resources

Pimp Juice IT

Posted 2018-10-24T12:11:21.353

Reputation: 29 425

@YaroslavTrofimov - If you wanted to be extra thorough you could also run the admin elevated command prompt commands of: taskkill /f /im explorer.exe && explorer to kill explorer and start a new instance of it after you make the 2 changes as listed above. – Pimp Juice IT – 2018-10-25T00:13:44.700

This was only half the answer for me. I needed to also delete the same sub key from HKEY_CLASSES_ROOT. See https://superuser.com/questions/49615/how-do-you-remove-a-default-program-association-for-file-types-in-windows-7

– Lorem Ipsum – 2019-08-05T13:38:02.787