HOW TO CLEAR FILE ASSOCIATION
From admin invite de commandes (in Start/Search type: "cmd.exe" and choose to run it as Admin) enter this command, leaving rien après the equal (=) sign:
assoc .ext=
where .ext is the fichier tapez extension you want to supprimer (e.g. ".sav"), reference: https://learn.microsoft.com/it-it/windows-server/administration/windows-commands/assoc
Vous pouvez également want to supprimer the open command for the associated app avec that extension (in our example avec .sav fichiers, sera ftype sav=)... reference: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ftype
Finally... to supprimez le "bad_program.exe" depuis le list of suggested par défaut apps when vous allez associate nouveau fichier types dans le future, find dans le registry ("RegEdit" command from an Admin prompt) the app clé, e.g.:
HKEY_CLASSES_ROOT\Applications\bad_program.exe
and avec right souris bouton ajoutez un nouveau String valeur: "NoOpenWith", (the bad_program.exe in this example pic is "winhlp32.exe") e.g.:
Maintenant that app ne va pas be listed anymore dans le suggested programmes list for a nouveau fichier tapez association.