Unexpected Registry behavior

You can only update a key in the registry within the process itself. In this case, the Agent. To quote the docs:

Updates the value for key for the current process in the unique registry.

6 Likes