Remove TargetReleaseVersion through Intune

Young, Marcus 0 Reputation points
2025-04-22T15:00:37.8333333+00:00

Hello,

I am working on removing TargetReleaseVersion and TargetReleaseVersionInfo through Intune. For some context, a previous admin enabled this for a fleet of WORKGROUP joined devices that operated off of our corporate network. We did not have Intune or any other MDM at this time. Now, we have Intune and have had great success with the product so far.

I successfully created a detection/remediation script to find and delete the registry entries related to TargetRelease, but I am not sure how to over-write what is currently there in the local group policy settings through Intune, because if the local group policy setting is still set like it is in the attachment, the registry entries are re-created on the next GP update.
User's image

I tried CSP in Intune. I created a new policy assigned to my dev machine where I left the parameter blank to try and force Intune to clear out any existing values.

User's image

But the device sees an error in the event viewer, seems like it's unhappy that there is no value set in the CSP. So maybe that is where I'm going wrong. Is there a specific syntax for "null" or "nothing" for this CSP that I am not aware of? Or is there a better way to accomplish my goal.

User's image

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
2,070 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Catherine Kyalo 1,305 Reputation points Microsoft Employee
    2025-04-24T07:00:32.8466667+00:00

    Hi Young, Marcus

    From my understanding, now that you have intune as the main MDM, you want to use intune and overrid. existing local GPO. Based on your described issue, and during my research i have come across a similar situation here. Additionally, The provided solution successfully resolved these issues for multiple customers.

    Refer to : MDMWinsOverGP, This policy is used to ensure that MDM policy wins over GP when policy is configured on MDM channel.

    Note:

    1. In Windows 10 version 1803, this policy doesn't support the Delete command and doesn’t support setting the value to 0 again after it was previously set to 1

    If you find the answer above helpful, please Accept the answer to help anyone in the community who might have a similar question to quickly find the solution.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.