I'm witing a short registry script that must run on all architectures. I don't have a 64 bit box to test this on but I need to verify that this code is correct.
If @ProcessorArch = "X86" Then
$rHive = "HKLM"
Else
$rHive = "HKLM64"
EndIf
Thanks
Edit: If you test this, please let me know which architecture you tested it on ( ClipPut(@ProcessorArch) ).