Use command-line options to edit registries with regedit exe


Command-line options and syntax for regedit.exe


Download 55.47 Kb.
bet3/6
Sana05.05.2023
Hajmi55.47 Kb.
#1430196
1   2   3   4   5   6
Bog'liq
Use command (registry)

Command-line options and syntax for regedit.exe
You can regedit with either hotkeys or a mouse, but the utility has several command-line options for basic registry work.

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.


Download 55.47 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling