title: Windows Service Error: Installog access is Denied
body: <p>I get following error while installing my Windows service through Command prompt</p>
  
  <p><code>Access to the path 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.In
  stallLog' is denied.</code></p>
  
  <p>I am using following command:</p>
  
  <pre><code>C:\Windows\Microsoft.NET\Framework\v2.0.50727&gt;installutil.exe "C:\Hive-WindowsService\HiveBatchProcess\HiveBatchProcess\bin\Debug\HiveBatchProcess.exe" -i
  </code></pre>
  
  <p>What could be wrong?</p>