regedit
|
filename.reg
|
Imports a registry file into the Windows registry.
|
regedit
|
/c filename.reg
|
Create a new registry file and replace existing entries in the Windows registry.
|
regedit
|
/d registry-subkey
|
Removes a subkey from the registry, such as regedit /d HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default.
|
regedit
|
/e
|
Exports the entire registry to a file. You can modify this command to add a filename and specific location on the drive, such as regedit /e c:\AllRegistryEntries.reg. You can export a specific key with the following example command regedit /e keybackup.reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Edge.
|
regedit
|
/l: system
|
Specify the location of the SYSTEM.DAT file used in legacy Windows operating systems and typically stored in the C:\Windows folder. This file stores the data kept in the HKEY_LOCAL_MACHINE key in the registry.
|
regedit
|
/r:user
|
Specify the location of the NTUSER.DAT file to use. This is the backup of the HKEY_USERS key in the registry. The file is typically found in the C:\Users\username folder.
|
regedit
|
/m
|
Opens an additional regedit instance, which can be helpful when troubleshooting to compare registry entries.
|
regedit
|
/s
|
Silent mode. Performs an action without stopping for confirmation with dialog box.
|