You use item-level targeting in a Group Policy Preferences (GPP) item on Windows 8.1 or Windows Server 2012 R2 computers. When you try to filter for Computer DNS Name, the result is not what you expect. Regardless of the value in the filter, a "True" value is always returned.
When this issue occurs, the Group Policy Object incorrectly gets applied to all computers on the organizational unit (OU).
Steps to reproduce this issue
- Create an Active Directory domain.
- Join a computer that is running Windows 8.1 and a computer that is running Windows 10 Version 1607 or a later version to the domain.
- Add the Windows 8.1 and Windows 10 computer accounts to a new OU.
- Link a new Group Policy policy to the OU.
- Define a Group Policy folder item, and then create the following folder:
c:\Bug-test-GPP-Name-filter - Define an item-level targeting, and match it with an existing DNS Computer name that belongs to another computer in the domain. For example, use the name, DC “DC1.contoso.com”.
- Refresh Group Policy for the computer.
Notes
- Problematic behavior: The test folder is created on the computer that is running Windows 8.1, although the filter should not match.
- Correct behavior: The test folder is not created on the computer that is runnning Windows 10 Version 1607 or a later version.
For diagnostics, you enable computer trace log for the GPP item. For example, see http://gpsearch.azurewebsites.net/#4913.
Group Policy Computer trace file for Windows 8.1