Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I would like to run a Windows Service under the identity of a User Account that exists on a different Active Directory Domain than the one the host machine is currently joined to.

What kind of configuration is required? Do the two domains need to have a trust relationship?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You would need to setup a trust relationship between the two domains. Then you would need to grant the user from the other domain the correct rights to run the service as well as the 'Run as a Service' Right on the box you will be running the service on.

I would note even if the user is a domain admin on it's "home domain" it will only be a regular user on your domain so design your rights appropriately.

share|improve this answer

Your Answer

 
discard

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.