Depending on what keys should be written to importing a registry file will fail or will be successful. A regular user can not write to for example the HKEY_LOCAL_MACHINE part of the registry in Win2K and up.
It might be an option to use writevalue. It all depends on what you want to write, where to write it, who is going to do the changes and how many registry changes should be done.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.