Reg delete Command in Windows Server 2008

In this article I am going to explain about reg delete command in windows server 2008 operating system.
  • 1987

Reg delete command in Windows Server 2008

The reg delete command is used to delete a subkey or entry from the registry.


Syntax of Reg delete command

reg delete <KeyName1> [{/v ValueName | /ve | /va}]  [/f]

Parameters in Reg delete command

There are the following parameter in the reg delete command:

Parameter Description
KeyName It specifies the full path of the subkey to be deleted.
/v ValueName It  deleted a specifies entry the subkey.
/ve It specifies that only entries that have no value will be deleted.
/va It deletes all entries under the specified subkey.
/f It deletes the subkey without prompting for confirmation.

Example of Reg delete command

REG DELETE HKLM\Software\MyCo\DBI.EXE

Output:

reg-delete-in-windows-server-2008.jpg

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.