reg copy
Copy keys and their values in the registry. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/reg-copy.
-
Copy a registry key to a new registry location:
reg copy {{old_key_name}} {{new_key_name}}
-
Copy a registry key recursively to a new registry location:
reg copy {{old_key_name}} {{new_key_name}} /s
-
Forcefully copy a registry key without a prompt:
reg copy {{old_key_name}} {{new_key_name}} /f
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.