You assign the hex values but because of the limitation on integers, they come across as negative numbers.

'$$HKCR = '$HKCR ?
'$$HKCU = '$HKCU ?
'$$HKLM = '$HKLM ?
'$$HKU = '$HKU ?
'$$HKCC = '$HKCC ?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.