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.

link|improve this question

50% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.