Forgot to mention / change before posting...

The line (line 130)
$_ = WriteValue($aPSTKeys[$], '001f6700-0', $_, 'REG_BINARY')
creates an alternate key, with a "-0" suffix. I did this to not mess with the original value. You should remove the "-0" suffix in the key name on that line when you are ready to do the actual updating.

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