Removes a value from a specified key. CAUTION Deleting a value results in symbolic links not being followed. This is because the system deletes the value you specify, even if it has symbolic links. This command requires the SYSPRV privilege or the REG$UPDATE rights identifier. Format: DELETE VALUE key-name value-name key-name Specifies the key name whose value should be removed. value-name Specifies the value to remove.
1 – Qualifiers
1.1 /WAIT
/WAIT=seconds (default = 90) /NOWAIT Specifies the maximum amount of time, in seconds, that you are willing to wait for command completion. If the Registry server does not complete the request in the specified interval, REG$CP returns REG-F-NORESPONSE. The default interval is 90 seconds. /NOWAIT is equivalent to specifying /WAIT=0, but there may still be a short wait period.
1.2 /WRITEBEHIND
/WRITEBEHIND /NOWRITEBEHIND (default) Specifies when the information can be written to disk. /WRITEBEHIND specifies that the information can be written to disk later. /NOWRITEBEHIND specifies write-through operation (that is, the information must be written to disk immediately).
2 – Example
REG> DELETE VALUE HKEY_USERS\GUEST PASSWORD Deletes the PASSWORD value from the GUEST key.