Windows – HOWTO: registry settings for domain user for specific user\computer combination

active-directorygroup-policywindowswindows-registry

I have two groups of computers (regular and hardened) and two groups of users (regular and administrators) and I need to have different registry settings for each combination
(mostly windows policy settings)

Using HKEY_LOCAL_MACHINE wont work, because for each machine different users need different settings.

Using HKEY_USERS wont work, because for each user, different machines need different settings.

Any ideas how to work around this?

Best Answer

If you need a specific user registry setting to be applied when a user logs into a machine, then you can setup a GPO to write the registry setting based on creating it in the user portion of a GPO and assigning the security of that GPO to apply to those users.

Then create a WMI filter to filter the GPO to those users based on a WMI query that returns the fact that a computer is a member of a specific group or some other aspect of the server that would put it in the specific category of machine you are trying to enforce.

After that, apply the WMI filter to the GPO and that user based GPO will only apply to that user if the WMI filter, which pulls info from the machine, returns true.