reg save HKLM\SAM C:\Temp\SAM reg save HKLM\SYSTEM C:\Temp\SYSTEM reg save HKLM\SECURITY C:\Temp\SECURITY

Use reg.exe to dump hives or set a Run-key, by action.

Command: Windows

References:

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg