The "Request clients to send a statement of health" (SoH) setting could not be enabled on this TS Gateway server. To resolve ...

The "Request clients to send a statement of health" (SoH) setting could not be enabled on this TS Gateway server. To resolve this issue, ensure that the QuarantineEnabled registry key exists and that the System and Administrators groups are granted Full Control permissions to this key. The following error occurred: "%1".