title: How to access to a shared resource with a windows service using local system user?
body: <p>I need to access to a shared resource with a windows service using local system user. I have a try with the class <a href="https://stackoverflow.com/questions/1192631/open-a-shared-file-under-another-user-and-domain">UserImpersonation</a>, but it only works in debugging. When I install my service, I can't access to a shared folder. </p>
  
  <p>I have read about this topic, and I would like to know if the only way is to create an user with network credentials and execute the service with this user.</p>