​​The Cambridge Crystallographic Data Centre (CCDC).
The CCDC websites use cookies. By continuing to browse the site you are agreeing to our use of cookies. For more details about cookies and how to manage them, see our  cookie policy.

I am unable to set a file association (e.g. opening cif files with enCIFer) on Windows 11

Solution

If this happened after you updated the software or moved it to a different location, it is a result of a bug in Windows 11, which gets confused when an executable file is moved and fails to update the association. The workaround is to delete the registry keys so that Windows thinks you are creating a new association. For the example of associating cif files with enCIFer the keys to delete are

Computer\HKEY_CLASSES_ROOT\.cif
Computer\HKEY_CURRENT_USER\Software\Classes\Applications\encifer.exe