2018-01-19 13:16:36 +00:00
|
|
|
# reg copy
|
|
|
|
|
|
|
|
> Copy keys and their values in the registry.
|
2019-08-22 13:37:57 +01:00
|
|
|
> More information: <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg-copy>.
|
2018-01-19 13:16:36 +00:00
|
|
|
|
|
|
|
- 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`
|