title: CFExecute not executing appcmd.exe
body: <p>I created the following code on a Cofdfusion server: file name: testWebsite.cfm</p>
  
  <pre><code>&lt;cfoutput&gt;
  &lt;cfset exec_command = "add site /name:""demosite"" /bindings:http://demosite.testserver.com:80 /physicalpath:""D:\Websites\demosite"" "&gt;
  
  &lt;cfexecute name="C:\Windows\System32\inetsrv\appcmd.exe" arguments="#exec_command#" timeout="60" /&gt;
  
  Done!
  &lt;/cfoutput&gt;
  </code></pre>
  
  <p>But when I execute this file e.g. <a href="http://www.demoserver.com/testcases/testWebsite.cfm" rel="nofollow">http://www.demoserver.com/testcases/testWebsite.cfm</a></p>
  
  <p>It just displays "Done!" without any errors, it doesn't execute the <strong>add site</strong> code.</p>
  
  <p>Upon referring numerous documents, I checked the user rights under which both execute.
  The <strong>coldfusion service</strong> is running as a domain user called <strong>Webserver@domain.com</strong>
  I don't know how to check the same for IIS. 
  So I checked the <strong>World Wide Publishing Service</strong> and <strong>IIS Admin Service</strong> - running as <strong>Local System</strong>.</p>
  
  <p>Even if I log in as the administrator, I cannot add the <strong>webserver user</strong> to the <strong>inetsrv</strong> folder or the <strong>appcmd.exe</strong> located at C:\Windows\System32</p>
  
  <p>Please help with any ideas/suggestions.</p>
  
  <p>Thanks.</p>