When using the following code block, I cannot write to HKEY_CURRENT_USER, but writing to HKEY_LOCAL_MACHINE is fine. There are no errors reported when attempting to write to HKE