Mark
asked on
how to import registry key?
I've reinstalled Windows 7 on a new drive. I want to import a registry key and subvalues from the old drive. I can successfully load the old hive and export the desired key to a .reg file. But when I try to import that to the new registry I get the message:
Cannot import mykey.reg: Error accessing the registry.
I get this message whether or not I run regedit as administrator. How to I import my key?
Cannot import mykey.reg: Error accessing the registry.
I get this message whether or not I run regedit as administrator. How to I import my key?
Is the old hive Windows 7 as well?
jmarkfoley--I assume mykey.reg is now located on the new drive, correct?.
But fireandsalt has raised a good point.
But fireandsalt has raised a good point.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
McKnife: That did the trick! I simply had to go in and change the keyname I loaded under to the actual target keyname (in this case SOFTWARE), an they loaded fine.
McKnife you rock!
:)
Sounds like it is not a valid reg file