Skip to content

HWRREG command in Windows

The hwrreg command in Windows is a powerful tool for configuring and managing handwriting recognition settings. This command allows users to customize various aspects of the handwriting recognition feature, such as language settings, recognition accuracy, and training data. By using the hwrreg command, you can fine-tune the handwriting recognition experience to suit your needs and preferences. This can help improve overall productivity and efficiency when using handwriting input on your Windows system.

HWRREG Syntax:

Terminal window
hwrreg [option] [parameter]

Windows HWRREG Options:

OptionDescription
-rRegisters a specified hardware component.
-uUnregisters a specified hardware component.
-iDisplays information about a specified hardware component.
-eEnumerates all registered hardware components.
-lLists all registered hardware components.

HWRREG Parameters:

ParameterDescription
component_nameSpecifies the name of the hardware component.
GUIDSpecifies the Globally Unique Identifier (GUID) of the hardware component.
Subcomponent_GUIDSpecifies the Subcomponent for a hardware component.
Friendly_NameSpecifies the friendly name of the hardware component.

How to use HWRREG command:

Display Hardware Registry information of the computer

Terminal window
hwrreg

Displays the Hardware Registry information of the computer.

Display the help information for the HWRREG command

Terminal window
hwrreg /?

Shows the help information for the HWRREG command.

Export the Hardware Registry information to a file

Terminal window
hwrreg /export C:\hardware_info.txt

Exports the Hardware Registry information to a file named “hardware_info.txt” in the C drive.

Force the Hardware Registry to rebuild

Terminal window
hwrreg /rebuild

Forces the Hardware Registry to rebuild.

Display detailed information about installed device drivers

Terminal window
hwrreg /drivers

Shows detailed information about the installed device drivers.

Import Hardware Registry information from a file

Terminal window
hwrreg /import C:\hardware_info.txt

Imports Hardware Registry information from a file named “hardware_info.txt” in the C drive.

Check the status of the Hardware Registry

Terminal window
hwrreg /check

Checks the status of the Hardware Registry.

Restore the Hardware Registry to a previous state

Terminal window
hwrreg /restore

Restores the Hardware Registry to a previous state.

How do I use hwrreg in Windows?

To use the hwrreg command in Windows, execute the following command:

Terminal window
hwrreg --query "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion"

What is the syntax for hwrreg command in CMD?

The syntax for the hwrreg command in CMD is as follows:

Terminal window
hwrreg --option <value>

How can I query a specific hardware registry key with hwrreg?

You can query a specific hardware registry key with hwrreg using the following command:

Terminal window
hwrreg --query "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}"

Can hwrreg be used to modify hardware registry settings in Windows?

Yes, hwrreg can be used to modify hardware registry settings in Windows. Here is an example command to set a registry value:

Terminal window
hwrreg --set "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ACPI\Parameters" -v EnableBrightnessControl -d 1 -t REG_DWORD

How do I list all the available options for hwrreg command?

To list all the available options for the hwrreg command, you can use the following command:

Terminal window
hwrreg --help

Is it possible to export hardware registry settings using hwrreg?

Yes, you can export hardware registry settings using hwrreg with the following command:

Terminal window
hwrreg --export "C:\Path\To\ExportedFile.reg" "HKEY_LOCAL_MACHINE\Hardware"

How can I delete a specific hardware registry key using hwrreg?

You can delete a specific hardware registry key using hwrreg with the following command:

Terminal window
hwrreg --delete "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NewKey"

Can hwrreg be used for importing registry settings in Windows?

Yes, hwrreg can be used for importing registry settings in Windows. Here is an example command to import registry settings:

Terminal window
hwrreg --import "C:\Path\To\ImportedFile.reg"

Applications of the HWRREG Command

  • Enable or disable hardware error
  • Retrieve hardware error information