Exporting two keys from Registry residing in two different places on Windows 10
Posted: 06 Jan 2023 07:06
My understanding of
tells me that it is impossible to export two sub-keys from two different sub-keys [i.e. from two different places]. And also empirically by the means of creating BAT file with
codes failed in yielding me a result of creating for me any REG. And my goal is to export both Registry keys [i.e. HKEY_CURRENT_USER\Console and HKEY_USERS\S-1-5-21-3797103458-798797042-3558267449-1001\Console] at the same time and to one file
And so: how can I do that; either with batch scripting or some other workaround?
Code: Select all
reg export /?
Code: Select all
reg export "HKEY_CURRENT_USER\Console" "HKEY_USERS\S-1-5-21-3797103458-798797042-3558267449-1001\Console" "C:\Users\YOUR-USER-NAME\Documents\CMD _ PowerShell Settings.reg"
Code: Select all
reg export "HKEY_CURRENT_USER\Console HKEY_USERS\S-1-5-21-3797103458-798797042-3558267449-1001\Console" "C:\Users\YOUR-USER-NAME\Documents\CMD _ PowerShell Settings.reg"
Code: Select all
reg export "HKEY_CURRENT_USER\Console" reg export "HKEY_USERS\S-1-5-21-3797103458-798797042-3558267449-1001\Console" "C:\Users\YOUR-USER-NAME\Documents\CMD _ PowerShell Settings.reg"
And so: how can I do that; either with batch scripting or some other workaround?