Adding a computers LOCAL user to a domain based group policy

There are two local user accounts on an end users computers which must be used to start a couple of services on the users machine.

I can't add them to the local security policy to allow them to "log in as a aservice" because the option is greyed out due to a domain based policy.

Is there a way to create a domain based policy, and add the LOCAL USER accounts to this policy so that the domain pushes out these settings?

The services will not start without these users having the log in as a service right.

I was able to work around this and found a way to add them locally but they get wiped out each time the domain policy gets applied.
PilotGavinAsked:
Who is Participating?
 
PeteJThomasConnect With a Mentor Commented:
Are the local user accounts members of one of the builtin groups on the local machine? (Administrators, Users etc).

I've tried this with some success in the past with the local administrators group, so I *guess* it would work with any of those built-in groups.

Edit the policy that is configuring the 'Log On as a Service' user right - Add an entry in the list (you can't browse for it, you just need to type it) that says something like BUILTIN\Administrators or BUILTIN\Users. Hopeully that will grant that group (and therefore the local accounts that are members of it) the right to log on as a service...

The pitfall is that it would be the same for ALL machines affected by this policy, which may not be ideal. If that's the case, you may need forcibly stop the 2 PCs from being able to apply this policy, and create a secondary GPO just for them, that does the above.

I'm trying to think out of the box here, I done *similar* before but never this exact thing. But maybe I've given you enough to play around and see what you can figure out?

I'd always test something like this in a separate GPO to begin with anyway, one that potentially only applies to a single test machine, as opposed to making changes to a GPO that could apply to ALL your computers without having tested the changes first!

Anyways, HTH, please post back any questions you may have...

Pete
0
 
PilotGavinAuthor Commented:
What I'll do is create an OU for JUST that machine, under it's root OU, and then apply the second policy there. Let ya know in a few minutes!
0
 
PeteJThomasCommented:
Cool, I'll be interested to see what happens!

The point being you can't specify those local accounts in a Domain GPO, but you *should* be able to specify one of the builtin local groups (such as Administrators), and if the local accounts are members of that group, then they should be granted the same rights as are afforded the group itself.

Anyways, I'm off to bed shortly, so you may not hear from me again until tomorrow, but good luck and I'll check back in as soon as I can to see what you found and whether you have any further questions.

Pete
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.