HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.BAT\UserChoiceĭelete the key named 'user choice' and the association with note pad will end restoring it to it's original state. Open regedit and navigate to the key you see here. You must take ownership of this restricted registry key.
IMPORTANT: backup your registry before making changes Now, if that is what has happened (and not someone in authority locking down computers), from what I can see (google) there is a fix that seems to work BAT files to run from cmd.exe to Notepad then they should run. I'm still on XP so things might be different, but unless someone changed the default program for. Unfortunately, for a while I got false-positives on some computers AV's, but after submitting the files (over a month or two :p) those false-positives went away. I used it to make EXE files for the PA menu to see It's not in PA format, but I've use one in the past that seems to be portable enough.