Reg delete command in Windows

The reg delete command helps delete subkeys or entries in the registry.To learn more about how to use this command, see the example section below.

Syntax command reg delete

 Reg delete [{vv ValueName | /ve | / ve | /va}] [/f] / va}] [/ f] 

Parameter command reg delete

Parameters

Describe

 

Specify the full path of the first subkey to be compared.To specify a remote computer, attach the computer name (in the format) as part of the KeyName parameter.In addition, the KeyName parameter must also include a valid root key.Valid root keys for local computers are: HKLM, HKCU, HKCR, HKU and HKCC.If the remote computer is specified, valid root keys will be HKLM and HKU.

/ v

Delete a specific entry in a subkey.If no items are specified, then all entry entries and within the specified subkey will be deleted.

/ ve

Specifies that entries without specific values ​​will be deleted.

/ va

Delete all entries according to the specified subkey.The subkey located in the specified subkey will not be deleted.

/ f

Delete the current subkey or registry entry without requiring confirmation.

/?

Show help at thecommand prompt.

Command line reg delete

The following table lists the return values ​​for the reg delete command :

Value

Meaning

0

Success

first

Failure

For example, the command reg delete

To delete the registry key named Timeout and all its subkeys and values, enter:

 REG DELETE HKLMSoftwareMyCoMyAppTimeout 

To delete the MTU registry value in HKLMSoftwareMyCo on a computer named ZODIAC, enter:

 REG DELETE ZODIACHKLMSoftwareMyCo / v MTU 

See more:

  1. The qprocess command in Windows
  2. Qappsrv (query termserver) command in Windows
  3. The quser (query user) command in Windows
  4. The pubprn command and the pushprinterconnections command in Windows
4.5 ★ | 2 Vote

May be interested

  • Eventquery command in WindowsPhoto of Eventquery command in Windows
    the eventquery command lists events and event properties from one or more event logs.
  • What is Unix and why is it important?Photo of What is Unix and why is it important?
    most of the current operating systems can be grouped into two different branches. besides operating systems based on microsoft windows nt, nearly every other operating system is a 'descendant' of unix.
  • What is 4 x 4 MIMO? Is your phone needed?Photo of What is 4 x 4 MIMO?  Is your phone needed?
    mimo stands for 'multiple input, multiple output'.
  • The difference between 2.4GHz and 5GHz Wi-FiPhoto of The difference between 2.4GHz and 5GHz Wi-Fi
    you have just decided to replace your old router. when you open the newly purchased wireless router box, you might wonder why there are two 2.4ghz and 5ghz networks. so is the 5ghz network more powerful? what is the difference between them?
  • Windows promptPhoto of Windows prompt
    the prompt command changes the command prompt cmd.exe file.
  • The date command in WindowsPhoto of The date command in Windows
    the date command displays or sets the system date. if used without parameters, the date command displays the current system date setting and prompts you to enter a new date.