Reinstall the Configure encryption issues

Resolve reset when reinstalling encryption or key problems