As I said - line 130 (in my original script) is this:
$_ = WriteValue($aPSTKeys[$], '001f6700-0', $_, 'REG_BINARY')
It uses an alternate key name for validation. You need to change it to:
$_ = WriteValue($aPSTKeys[$], '001f6700', $_, 'REG_BINARY')
for production. Note that the only change is the removal of the "-0" from the key name.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D