title: Batch files are not running properly on IIS 8
body: <p>I'm trying to host 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:</p>
  
  <p>Windows Server 2012 R2</p>
  
  <p>IIS 8</p>
  
  <p>1) Set the "Identity" of "Application Pool" to "LocalSystem"</p>
  
  <p>2) Convert the .bat files to .exe and made sure it's x64 since the OS is the same </p>
  
  <p>3) Give the "Full Control" permission to "EVERYONE"</p>
  
  <p>4) Edit Permissions in "Handler Mapping" to allow for executable files</p>
  
  <p>5) Registered the .exe and it's .dll files in "ISAPI and CGI Restrictions"</p>
  
  <p>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.</p>
  
  <p>I would appreciate any suggesstion.</p>