more registry value tweaks
do not zero the buffer length