So I have a simple task...enable the clock in terminal server (no GPO will not force clock on...only allow forcing of the clock...why...I dunno...MS thing."

Anyway it's a simple regkey...this is the kix code i used...

Writevalue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2","Settings","28 00 00 00 ff ff ff ff 06 00 00 00 03 00 00 00 3c 00 00 00 1e 00 00 00 fe ff ff ff e4 02 00 00 02 04 00 00 02 03 00 00", REG_BINARY)

It keeps duping each hex entry even if I delete the key first and then recreate it...I must be doing something wrong...I have no issue with other regkeys...just this one...any help?