Windows 2008 R2 - Export Reg Key and Import into Another Key

In windows 2008 r2 how can I export the contents of s specific reg key and import it into a totally different key? For example export a key user HKCU and Import it into one under HKLM
LVL 20
compdigit44Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

askurat1Commented:
I need a little better example.

If I read it right that is pretty simple. First export the key then right click on the export and edit the reg file. Edit the key so it is HKLM instead of HKCU then just double click and it will import all by itself.
0
Murat KayaSearch Engine EngineerCommented:
Export key from HKLM and edit reg file with notepad. just change HKEY_LOCAL_MACHINE to HKEY_CURRENT_USER
for example:
from
[HKEY_LOCAL_MACHINE\BCD00000000\Objects\{0ce4991b-e6b3-4b16-b23c-5e0d9250e5d9}\Elements\16000020]
to
[HKEY_CURRENT_USER\BCD00000000\Objects\{0ce4991b-e6b3-4b16-b23c-5e0d9250e5d9}\Elements\16000020]

save the file and double click on reg file
regedit.png
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.