To restore old classic Notepad, just open App execution aliases settings, turn off the .txt execution for notepad.exe, and close the settings. Then, open Windows Run (Win+R) and type notepad.exe.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results