Delete software registry windows

reg delete reg delete

Удаляет подраздел или записи из реестра. Deletes a subkey or entries from the registry.

Синтаксис Syntax

Параметры Parameters

Параметр Parameter Описание Description
Задает полный путь к добавляемому подразделу или записи. Specifies the full path of the subkey or entry to be added. Чтобы указать удаленный компьютер, включите имя компьютера (в формате \\ \ ) в состав имени keyName. To specify a remote computer, include the computer name (in the format \\ \ ) as part of the keyname. Пропуск \\ \ приводит к тому, что по умолчанию операция выполняется на локальном компьютере. Omitting \\ \ causes the operation to default to the local computer. KeyName должен содержать допустимый корневой ключ. The keyname must include a valid root key. Допустимые корневые ключи для локального компьютера: HKLM, HKCU, HKCR, HKU и хккк. Valid root keys for the local computer are: HKLM, HKCU, HKCR, HKU, and HKCC. Если указан удаленный компьютер, допустимые корневые ключи: HKLM и HKU. If a remote computer is specified, valid root keys are: HKLM and HKU. Если имя раздела реестра содержит пробел, заключите имя ключа в кавычки. If the registry key name contains a space, enclose the key name in quotes.
/v /v Удаляет определенную запись в подразделе. Deletes a specific entry under the subkey. Если запись не указана, все записи и подразделы в подразделе будут удалены. If no entry is specified, then all entries and subkeys under the subkey will be deleted.
/ве /ve Указывает, что будут удалены только те записи, которые не имеют значения. Specifies that only entries that have no value will be deleted.
/VA /va Удаляет все записи в указанном подразделе. Deletes all entries under the specified subkey. Подразделы в указанном подразделе не удаляются. Subkeys under the specified subkey are not deleted.
/f /f Удаляет существующий подраздел реестра или запись без запроса подтверждения. Deletes the existing registry subkey or entry without asking for confirmation.
/? /? Отображение справки в командной строке. Displays help at the command prompt.

Комментарии Remarks

Возвращаемые значения для операции reg Delete : The return values for the reg delete operation are:

Значение Value Описание Description
0 0 Успешное завершение Success
1 1 Сбой Failure

Примеры Examples

Чтобы удалить время ожидания раздела реестра и его все подразделы и значения, введите: To delete the registry key Timeout and its all subkeys and values, type:

Чтобы удалить значение параметра MTU в разделе Хклм\софтваре\мико на компьютере с именем ЗОДИАКАЛЬНЫЙ, введите: To delete the registry value MTU under HKLM\Software\MyCo on the computer named ZODIAC, type:

How to Manually Remove Programs from the Add/Remove Programs List

This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.

Summary

This article describes how to manually remove items from the Add/Remove Programs tool if the item is still displayed after you try to remove the item from Add/Remove Programs.

More Information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows
Programs that are compatible with Windows may have an uninstallation program or feature. The Add/Remove programs tool lists all of the Windows-compatible programs that have an uninstall program or feature. You may need to manually remove the program from the Add/Remove Programs list if you uninstall a program and the registry key that is used to display the program name is not removed correctly:

Click Start, click Run, type regedit in the Open box, and then press ENTER.

Locate and click the following registry key:

After you click the Uninstall registry key, click Export Registry File on the Registry menu.

In the Export Registry File dialog box, click Desktop in the Save in box, type uninstall in the File name box, and then click Save.

Each key under Uninstall represents a program that appears in Add/Remove Programs. To determine which program that each key represents, click the key, and then view the following values:

DisplayName — the value data for the DisplayName key is the name that is listed in Add/Remove Programs

UninstallString — the value data for the UninstallString key is the program that is used to uninstall the program

After you identify the registry key that represents the program that is still in Add/Remove Programs, right-click the key, and then click Delete.

After you delete the key, click Start, point to Settings, and then click Control Panel.

In Control Panel, double-click Add/Remove Programs.

In Add/Remove Programs, verify that the program for which you deleted the registry key is not listed.

Reg Delete или Удаление записей в реестре через bat-файл

В статье, посвященной команде Reg Add, мы разобрали как можно добавить запись в реестр Windows через командную строку или посредством bat-файла. Существует обратная команда, позволяющая удалять ключи из реестра Windows, и называемая Reg Delete. Разберем синтаксис этой команды.

В общем виде команда Reg Delete выглядит так:

reg delete имя_раздела [/v имя_записи|/ve|/va] [/f]

Разберем синтаксис подробнее:

имя_раздела — указывается раздел, в котором находятся нужные ключи реестра. Фактически, путь к этим ключам. Если в пути встречаются пробелы между символами, его необходимо заключить в кавычки.

Например, на скриншоте ниже мы видим, что переменные реестра, относящиеся к программе 7-Zip лежат в ветке HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip. Корневой раздел надо указывать в сокращенном виде: HKLM, HKCU, HKCR, HKU или HKCC.

/v имя_записи — имя удаляемого ключа реестра. Если не указать, будут удалены все подразделы и ключи.

/ve — удалять безымянные параметры.

/va — запрашивать все параметры данного раздела.

/f — удалять принудительно без дополнительного предупреждения.

Если операцию необходимо провести на удаленном компьютере, то перед именем раздела необходимо добавить имя компьютера вот в таком виде \\имя_компьютера\имя_раздела. Дальнейший синтаксис команды остается без изменений.

Пример использования команды Reg Delete:

Данная команда удалит параметр ABC в разделе HKEY_LOCAL_MACHINE\SOFTWARE\TEST на компьютере Test-PC. Если удаление происходит на локальном компьютере, то достаточно

Если нам нужно удалить весь раздел TEST целиком, то можно использовать команду

Как видим, команда Reg Delete не сложна в использовании. Тем не менее, нужно соблюдать осторожность, поскольку бездумное удаление ключей и разделов реестра способно оказать негативное влияние на операционную систему и софт в ней.

reg delete

Deletes a subkey or entries from the registry.

Syntax

Parameters

Parameter Description
Specifies the full path of the subkey or entry to be added. To specify a remote computer, include the computer name (in the format \\ \ ) as part of the keyname. Omitting \\ \ causes the operation to default to the local computer. The keyname must include a valid root key. Valid root keys for the local computer are: HKLM, HKCU, HKCR, HKU, and HKCC. If a remote computer is specified, valid root keys are: HKLM and HKU. If the registry key name contains a space, enclose the key name in quotes.
/v Deletes a specific entry under the subkey. If no entry is specified, then all entries and subkeys under the subkey will be deleted.
/ve Specifies that only entries that have no value will be deleted.
/va Deletes all entries under the specified subkey. Subkeys under the specified subkey are not deleted.
/f Deletes the existing registry subkey or entry without asking for confirmation.
/? Displays help at the command prompt.

Remarks

The return values for the reg delete operation are:

Value Description
0 Success
1 Failure

Examples

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

To delete the registry value MTU under HKLM\Software\MyCo on the computer named ZODIAC, type:

How to uninstall programs using Registry in Windows 10

Not many may know, but there are different ways to uninstall a program in Windows 10/8/7. You can uninstall programs using the Control Panel and navigating to the Programs & Features applet, or you can use the Program’s own uninstaller, which you can find in the Program folder, should the need to do so, ever arise. But if the program’s entry is missing in the Control Panel or the Uninstaller is not available, or these ways do not work for some reason, you can also use the Windows Registry.

Uninstall programs using Registry

To uninstall a program via the Windows Registry, open regedit and navigate to the following key:

You will see many keys there. These represent the installed programs. They may have long numbers or names.

In case they have names, they would be easy to identify, and in most cases, its UninstallString would point to its un-installers path.

In case they have long numbers, click on each of them till you are able to find the program which you want to uninstall.

Having done that, in the right pane, search for a string value called UninstallString.

Double-click on it. From the dialog box which opens, copy its value.

It will look something like this :

Next, open command prompt ( cmd ), paste the value, and hit Enter.

If you see a Value data like say –

You may also open the Run box, copy-paste this value, and hit Enter.

The program will commence uninstallation.

If this does not help, you may also try one of these free Uninstallers for Windows.

UPDATE: Bill Pytlovany adds in the comments.

If you have a 64-bit version of Windows, 32 bits apps may be redirected here:

Читайте также:  Windows не работает push
Оцените статью