If you visit this link and search for Registry you should find quite a few scripts that deal with various registry needs.

http://www.kixtart.org/UDF/