DefaultMediaCost Registry Entry
We have 4GLTE cards in our laptops and have unlimited data (Public Safety plans), so we try to set all of our laptops to "unmetered". Thru the GUI it does not work and requires a change to the registry: HKLM\Software\Microsoft\Windows NT\NetworkList\DefaultMediaCost\. The default owner is "TrustedInstallter" and users have read-only. We must change the owner and permissions before changing values.
Now, it's easy to change a reg key with Deploy...normally. However...whenever Windows 10 does an update to a new realease (21H1) the owner of the key gets changed back to "TrustedInstaller", all the permissions go back to default, and the values go back to metered (1).
I'm looking for a solution that will change those values if:
The value is set (1)
Then, change owner
Change the value to (2)