I'm trying to run a web application on Azure VM. The website uses some batch files (.bat) to run some tasks. I realized there might be some issue with .bat files, so I tried to fix the issue:
Windows Server 2012 R2
IIS 8
1) Set the "Identity" of "Application Pool" to "LocalSystem"
2) Convert the .bat files to .exe and made sure it's x64 since the OS is the same
3) Give the "Full Control" permission to "EVERYONE"
4) Edit Permissions in "Handler Mapping" to allow for executable files
5) Registered the .exe and it's .dll files in "ISAPI and CGI Restrictions"
If I double click on the .exe files, they will run properly. But when I'm accessing them through the website, the .exe file appears in task manager, but nothing will happen.
I would appreciate any suggestion.