I've set up a policy to regenerate the file vault encryption recovery key at certain intervals. It seems to work ok however, every so often it will fail with the following error:
Error remediating recovery key: Authentication error.
I can't work out why its doing it. Any help would be greatly appreciated.
I believe your problem is that the management account you are using, is not a FileVault2 enabled user. Are you using Mavericks? Mavericks locked it down so that only FileVault2 enabled users can change FileVault2. So even if you are an admin, you can't touch it.