If you are not able to open files with .exe and .lnk extensions and gets “Open With “while running any .exe and .lnk files ie regedit.exe, cmd.exe etc..., try the below steps to fix the File Association issue.
Step 1: open the command Prompt => Start -> Run -> Command.
Step 2: Navigate to C:\ and type the Following command as given below one by one.
assoc.exe=exefile
ftype exefile="%1" %*
assoc.lnk=lnkfile
ftype lnkfile="%1" %*
After executing the command, you won't have any issue with .exe and .lnk file.