title: Windows Service : error 5 :Access Denied
body: <p>I am trying to create a simple Windows Service. The User Account for the service is <code>NetworkService</code>. Then I ran <code>installUtil</code> from command prompt and I got this :</p>
  
  <blockquote>
    <p>The Commit phase completed
    successfully.</p>
    
    <p>The transacted install has completed.</p>
  </blockquote>
  
  <p>which means the service got installed successfully. But when I try to run it from the <code>Service applet</code> i get this error :</p>
  
  <p><code>Windows cannot the CustomersService service on Local Computer. Error 5 : Access is denied.</code> </p>
  
  <p>I am using 64bit Windows 7.</p>