Adds a registry file based on the an index.  Insures any application which may be accessing this registry is closed prior to modifying.