Manually update client policy on client

Stephan van Helden 31 Reputation points
2022-09-13T08:26:35.62+00:00

We have some computers using a metered Internet connection (or a regular connection incorrectly configured as metered). Our client policy did not allow communication over metered connections, thus these clients have not communicated for a while.

We want to change that and modified our client policy, so that it now allows communication over metered connections. However, clients never download the new client policy since the existing client policy does not allow client policy download over metered connections. Even reinstallation of the client does not help because "existing local client policy" takes precedence over "parameters on the ccmsetup command line" (as decribed here).

Is there any way to tweak the client policy locally (like copying a file from site server to client or setting a registry key)? Or should we uninstall and reinstall the client?

Microsoft Security | Intune | Configuration Manager | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Frank Dong 251 Reputation points Volunteer Moderator
    2022-09-13T09:50:58.64+00:00

    Hi,
    Client policy applies to client and make changes to client WMI Classes. In this case, it's CCM_NetworkSettings.
    Namespace: root\ccm\policy\machine\actualconfig
    Client WMI Class: CCM_NetworkSettings
    Attribute: MeteredNetworkUsage
    Namespace: root\ccm\policy\machine\actualconfig

    I'm not sure if it's supported but you can try to use wbemtest.exe to modify it.

    information about the WMI class: https://learn.microsoft.com/en-us/mem/configmgr/develop/reference/core/clients/sdk/ccm_networksettings-client-wmi-class
    240495-temp2.png

    1 person found this answer helpful.
    0 comments No comments

  2. Stephan van Helden 31 Reputation points
    2022-09-13T11:55:50.223+00:00

    Thanks! I used this Powershell script to set the value from 4 (Blocked) to 1 (Allowed):

    Get-CimInstance -ClassName CCM_NetworkSettings -Namespace root\ccm\policy\machine\actualConfig | Set-CimInstance -Property @{MeteredNetworkUsage=1}  
    

Your answer

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