Understood. In the case of a Notepad++, it was necessary to synchronize the parameters between sections: HKEY_CURRENT_USER\SOFTWARE\Classes, HKEY_LOCAL_MACHINE\SOFTWARE\Classes and HKEY_CLASSES_ROOT.
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes.conf]
@="conf_auto_file"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\conf_auto_file\shell\open\command]
@="\"C:\Program Files\Notepad++\notepad++.exe\" \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe\shell\open]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\notepad++.exe\shell\open\command]
@="\"C:\Program Files\Notepad++\notepad++.exe\" \"%1\""