Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 logged as an administrator and I want to impersonate user using c# and then run adamsync.exe under this impersonate user context. Impersonated user exists in the domain and belongs to domain group IIS_IUSRS. What rights should user have / into which groups should user belongs. I use ws2008. I got message The directory name is invalid.

When I use cmd, impersonate through run as and then run adamsync it is working.

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.