The following key is not valid for a Group Policy registry setting: "{0}". The key must be in one of the following registry ...

The following key is not valid for a Group Policy registry setting: "{0}". The key must be in one of the following registry hives: HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER. Make sure that the Key parameter contains a valid key. Then, run the command again.