The message was "Error accessing Registry". I have learned that it is due to certain values being write protected, so I can't overwrite them using a .reg file.
I do have a full backup of the system however, and I wonder if I need to restore the entire backup, or if there are a few certain files I can use instead to recover only the registry settings? (I should be able to restore these from DOS as the system use Fat32 and not NTFS)
What I really try to do is change the location of "Program Files" to something like "Prog2000". The reason for this is that I want to test a dual boot system, where the new installation clearly will use the same folder. I therefore exported the registry to a all.reg file and made a replace all c:\\Program Files\\ with c:\\Prog2000\\ (~4300 entries) (saved new version as newall.reg)
Then I imported the values again, and ran into the problem that some of the values in the registry are read only.
I used the original all.reg to get back the original values.
I exported the values again to see what I needed to delete, however the new temp.reg was only 2/3 of the first all.reg file, not larger as expected. Some values must therefore have been deleted.
If possible, I would like to replace all the values of i.e. "Program Files" with the %ProgramFiles%, or even better, to a self specified variables to keep track of what gets installed by new programs.
I have been using different language versions before, and know that these versions does not use the same names for the system folders.
I have also done this successfully on Windows 98 before, changing "Program Files" to "Prog98".
The Registry in Windows 2000 is not, by the way, the same as the registry which is a part of Windows 9x, although it has some similarities. For example, you can perform a multitude of powerful tasks under Windows 9x, by exporting the registry to an external file, modifying the file, and then importing it back to Windows 9x Registry. You cann't do anything like that with Windows 2000 Registry.
If I am not wrong, you are trying to deal with 'regedit.exe', which actually not the Windows 2000 Registry, it is 'regedt32.exe' which is called Windows 2000 registry.