hmmm, you could convert these into WriteValue function calls. But I think you got enough there to warrant keeping them as regedit pokes (my opinion).

Show us the orginal lines from the old login script.