The specified file is not a registry script

Asked By 140 points N/A Posted on -

We need help on the registry related error on our PC since my brother needs to do some squeezes on it.

We are running out of ideas and options on how making it work.

We are using Microsoft Windows XP Service Pack 2 as our Operating System and we would like to copy the HKEY_CURRENT_USER from our old computer to the new one to do a registry import.
We thought that this will not have any issue since both old and new computers have the same OS and everything.
We were not sure that it will work so we manually copied the file and this error message pops-up:
The specified file is not a registry script.
You can only import binary registry files from within the registry editor.
Answered By 587970 points N/A #109066

The specified file is not a registry script


Altering too much stuff on the computer might cripple the Windows system in the end.

Tweaking the system is good because it sometimes makes an improvement in the access speed of the computer and makes you do some customization on some of the Windows components.

Maybe there is something wrong on how you do the import and export of the registry.

If you want to copy all of the entries in the HKEY_CURRENT_USER of your old computer:

  • Click Start and then Run. Type regedit in the box and then hit Enter. On the next window, click HKEY_CURRENT_USER.


  • Click File then Export.



  • Enter the file name, don’t change the Save as type [Registration Files (*.reg)] and the Export range (Selected branch – HKEY_CURRENT_USER), then click Save.



You can now copy the registry file to the new computer and do the registry import there.

  • Open the Registry Editor again by following the above steps. When it is open, click File then Import.



  • Browse for the registry file and then click Open.

There should be no problem when transferring or copying registry entries using this procedure.

Login/Register to Answer

Related Questions