title: Autorunning program from CD or USB on Win7/8
body: <p>I work for an IT shop that sees some computers come in with rather nasty viruses. We are working an autorun script that will run a malware killing tool (RKill) when we insert a USB or CD (preferably USB.) We want to run the tool as soon as the USB or CD is inserted without having UAC popup, ideally anyway. Our second choice is to have it open the Autorun options, even on PCs that have been locked down a la FBI virus. We have autorun.inf, a .bat that calls a .exe, and the .exe for the tool we want to run in the root of the USB or CD. We have tried the solution found <a href="https://stackoverflow.com/questions/255006/automatically-launch-app-on-usb-through-autorun">here</a>, but that didn't work.</p>
  
  <p>The code for autorun.inf and rkill.bat are below.<br>
  autorun.inf:</p>
  
  <pre><code>[autorun]
  open=rkill.bat    
  Where the autorun.bat file reads:
  start rkill.exe
  </code></pre>
  
  <p>rkill.bat:</p>
  
  <pre><code>start rkill.exe
  </code></pre>
  
  <p>I understand that there may not be a reliable way to do this, but any help would be greatly appreciated.</p>