How To Remove A Line From The Registry

Table of contents:

How To Remove A Line From The Registry
How To Remove A Line From The Registry

Video: How To Remove A Line From The Registry

Video: How To Remove A Line From The Registry
Video: How to Remove Unwanted and Left Over Registry Keys on Windows 2024, December
Anonim

The operation of deleting a parameter or registry key can be performed using the reg.exe utility supplied with the Microsoft Windows operating system and does not require the involvement of additional third-party software.

How to remove a line from the registry
How to remove a line from the registry

Instructions

Step 1

Click the Start button to bring up the main system menu and enter cmd in the search box to launch the Command Prompt tool.

Step 2

Call the context menu of the found object by clicking the right mouse button and select the "Run as administrator" command to meet the security requirements of Microsoft.

Step 3

Enter the value reg /? in the command line field to view the parameters of the reg.exe utility.

Step 4

Use the value of the reg delete key_name command to delete the entire selected key with subkeys and parameters. Example:

reg delete HKEY_CURRENT_USER / Software / WindowsFAQ deletes the entire WindowsFAQ section with all entries and subkeys.

Step 5

Select the reg delete key_name / v entry_name command to delete the selected entry in the partition. The absence of the specified registry entry implies the deletion of all entries and parameters of the specified key. Example:

reg delete HKEY_CURRENT_USER / Software / WindowsFAQ / Tedt / v Path deletes the entries for the Path parameter.

Step 6

Use reg delete key_name / v / ve to delete entries with missing parameter values.

Step 7

Enter the value of the reg delete key_name / v / va command to delete all entries in the specified key while preserving the subkeys of the selected key.

Step 8

Note that executing the command to delete an entry, value, or registry key must be confirmed by the user each time, and use the value reg delete key_name / f to cancel the confirmation prompt.

Recommended: