Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to debug which user (windows account) is responsible for actually writing a file from my ASP.NET site. When I set the permissions on the folder to everyone, I can write to the directory. When I set the permissions to my account, NETWORK SERVICE, or ASPNET I cannot write to the share. How can I determine what user is writing or trying to write to the share given a file?

The event log doesn't show any details.

share|improve this question
up vote 3 down vote accepted

You can enable object access auditing (via Local Security Policy or GPO) and then configure auditing entries on the Advanced Security settings of the shared folder.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.