If you were an early adopter of Office 365 and/or OneDrive you’ve probably explored the Administrative templates (ADMX files) supplied by Microsoft.

A downside with ADMX files is that when you update them the new files might replace settings you are using. This will leave you with orphaned settings in the Group Policy. Giving you the somewhat annoying message:

Display names for some settings cannot be found. You might be able to resolve this issue by updating the .ADM files used by Group Policy Management.

The “old way” of correcting this would be to rollback the ADMX files to previous versions. However if you’re running a large enterprise Active Directory this is probably not risk free… A better way of solving this is to leverage PowerShell!

In our example we had two orphaned registry values from a previous OneDrive ADMX.
Removing the values was made possible by using Remove-GPRegistryValue

Remove-GPRegistryValue -Name "My Group Policy" -key "HKLM\Software\Policies\Microsoft\Windows\Skydrive"
-ValueName DisableFileSync

Remove-GPRegistryValue -Name "My Group Policy" -key "HKLM\Software\Policies\Microsoft\Windows\Skydrive" 
-ValueName DisableLibrariesDefaultSaveToSkyDrive