How do I restore cmd.exe as the default program for .bat files? My TCC trial expired, so I uninstalled it. However, I am unable to run batch files on Win10 x64 because Windows lost it's association with a batch file command processor (default cmd.exe). Apparently, you can't just associate a file type .bat with cmd.exe. There seems to be a number of registry entries that control cmd.exe and associate .bat files to that executable. I discovered this problem by trying to install software that used a batch file as part of it's installation routine... How do I restore cmd.exe as the default program for .bat files?