- 0
How can I migrate registry keys from one location on the source to another on the destination
Asked by
anyweb
Asked by
anyweb
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
if you want to migrate registry keys from one location to another (provided that they are detected) then use the following code in a custom XML file
this code checks if the following registry key exists HKLM\SOFTWARE\CUSTOM\CUSTOMval#1 and if it does, it migrates the following two registry keys from the SOURCE pc
HKLM\SOFTWARE\CUSTOM\CUSTOMval#1
HKLM\SOFTWARE\CUSTOM\CUSTOMval#2
to the following locations on the DESTINATION pc
HKLM\SOFTWARE\CUSTOM\PrevCUSTOMval#1
HKLM\SOFTWARE\CUSTOM\PrevCUSTOMval#2
Note: if you are using a 64 bit OS with a 32bit application (X86) that you'll probably want to change the path statements
for example, change
to
cheers
niall
Share this post
Link to post
Share on other sites