Group policy and Windows

From the archive. First published on thinknuts.net in 2006 and kept as it was, so some links and details may be out of date.

Apparently Microsoft have a bug in some of the logic that allows Windows to decide when to query group policies. Because group policies can affect themselves (effectively), there has to be a certain sequence of events to applying them. If this goes wrong Shit Happens. Symptoms are:

  • Event 1058
  • Event 1030
  • With Userenv debug logging on, you see lines like : USERENV(1d8.a84) 21:52:58:734 ProcessGPO: Couldn't find the group policy template file <\\domain.local\sysvol\domain.local\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\gpt.ini>,error = 0x5.

The fix for it is twofold:

Yes, this took a while to find and fix. Yes it's bugged the hell out of me.

buggroup policyMicrosofttechnicalWindows