$ 0 0 I just inserted your code into the Registry sample and it seems to work just fine. The value type is an "expandable string":