The behavior matches a known limitation: certain Group Policy Preference items, including Scheduled Tasks and WMI/ILT-based items, do not run in the logged-on user’s security context even when configured that way, and instead run in the system context. When the preference (or its WMI/Item-Level Targeting) evaluates in the system context, access checks against user-scoped resources or permissions can fail with 0x80070005 (Access is denied), resulting in Event ID 4098 and the drive not being mapped.
In this scenario:
- The GPP Drive Map is configured with Item-Level Targeting based on a security group.
- The preference processing and/or its WMI/ILT evaluation runs in the system context.
- The system context does not have the same group membership or access as the user, so the targeting or the drive mapping fails with Access Denied, even though the user can manually access the UNC path.
To resolve within the documented behavior:
- Avoid relying on user-specific context for this GPP item when it is evaluated in the system context.
- Adjust the targeting or security so that the system context does not encounter Access Denied (for example, by ensuring the required access is granted where the GPP item is evaluated), or redesign the mapping so it does not depend on conditions that only succeed in the user context.
- Use Group Policy logging/tracing for the relevant Client Side Extension (CSE) to confirm that the failure is due to the system-context evaluation and 0x80070005, similar to the documented Scheduled Tasks GPP behavior.
References:
- User GPP Scheduled Task item fails to apply and logs event ID: 4098 with 0x80070005 Access is denied
- Scenario guide: GPO to map a network drive doesn't apply as expected
- After you apply a WMI filter, the GPO does not take effect on a client computer that is running Windows 7 or Windows Server 2008 R2