Discussion Locked

Refresh machine acct group membership

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a way (short of rebooting) to force a machine to refresh its knowledge of its domain security group membership?

5 replies

by d.walker5

SECEDIT /REFRESHPOLICY MACHINE_POLICY /ENFORCE
SECEDIT /REFRESHPOLICY USER_POLICY /ENFORCE

To modify the default Group Policy Refresh Interval--SEE kb 203607

by ajfried

I wish it was that simple. The SecEdit commands only force GPOs to be applied. IT does not force the computer to go back to a DC and refresh the groups of which it is a member.

Try it: Run GPResult. Among other things, it will tell you the groups belonged to by the machine account. Add the machine account to a new group. Run SecEdit with the switches you specify. Run GPResult again. The group list will be the same. So far, I can only get the m,achine to see its new group by rebooting.

by ajfried

I wish it was that simple. The SecEdit commands only force GPOs to be applied. IT does not force the computer to go back to a DC and refresh the groups of which it is a member.

Try it: Run GPResult. Among other things, it will tell you the groups belonged to by the machine account. Add the machine account to a new group. Run SecEdit with the switches you specify. Run GPResult again. The group list will be the same. So far, I can only get the m,achine to see its new group by rebooting.

by d.walker5

Your Server does not recognize group membership changes? I've only seen this occur with Windows Services for Unix 2.0. If this applies you than refer to KB281313.

Also, see KB203607 for information on how to refresh and modify the default group policy Refresh Interval. This article may provide the answer your looking for.

by ajfried

Were you able to try the experiment I detailed, using GPResult to see the computer account group membership? Were you able to add a server's computer account to a new security group and see the results immediately? This is not the behavior I'm seeing. Only a reboot causes the server to get its new list of groups.

This discussion is closed to new replies.