When I double-click on a .rtf file in File Explorer,
it opens Wordpad properly.
Settings>Apps>Default apps search for .rtf confirms Wordpad RTF file
If I right-click a .rtf file in in File Explorer,
and select 'Open with', 2 Wordpad entries are displayed.

Selecting the upper entry causes it to loop.
Selecting the lower entry works properly.
How do I remove the invalid entry from Open with ?
I'm assuming there will be a registry entry
but I have no idea where to look.
I believe it has something to do with the
rtf_shellnew_windows_11.reg file that I used from
https://www.winhelponline.com/blog/new-rich-text-format-missing-windows-11/
to restore the rtf option from the right-click menu
The site displays the contents of the .reg file towards the bottom,
and instructions for removing the entry.
I opened the registry editor,
deleted the HKEY_CLASSES_ROOT.rtf\ShellNew branch,
and re-booted.
I set the Default app for .rtf to Wordpad
Open with still shows 2 Wordpad entries.
Where do I check next ?