How many clients ?

I ask this cause if you input these changes in the hklm then the changes will stick and wont revert if the pc is rebooted.

try these links for functions :

Write Value

And

Read Value

Hope this helps!!
Aaron
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields