Error Message When Removing Program with Add/Remove Programs

Article translations Article translations
Article ID: 141697 - View products that this article applies to.
This article was previously published under Q141697
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.
Expand all | Collapse all

On This Page

SYMPTOMS

When you view the list of installed programs in the Add/Remove Programs tool, you may see one or more programs listed that have already been uninstalled from your computer.

Or, when you remove a program using the Add/Remove Programs tool in Control Panel, you may receive the following error message:
An error occurred while trying to remove <Program Name>. Uninstallation has been canceled

CAUSE

This behavior can occur if you have manually deleted a program that is listed in the Install/Uninstall list in the Add/Remove Programs tool.

RESOLUTION

To remove a program from the Install/Uninstall list, use one of the following methods.

Method 1

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

Delete the appropriate key under the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Method 2

Use the TweakUI PowerToy to remove the program from the list of installed software. To do so, follow these steps:
  1. Click Start, point to Settings, click Control Panel, and then double- click TweakUI.
  2. Click the Add\Remove tab, click the program that you want to remove, and then click Remove.
  3. Click OK, and then close Control Panel.

MORE INFORMATION

The Microsoft Windows PowerToys are a suite of tools, including TweakUI, that is available for free download from the Microsoft Web site. Microsoft Microsoft Platforms Support Desktop (MPSD) Technical Support does not support the installation or usage of PowerToys or any of their components.

Properties

Article ID: 141697 - Last Review: January 19, 2007 - Revision: 1.3
APPLIES TO
  • Microsoft Windows Millennium Edition
  • Microsoft Windows 98 Second Edition
  • Microsoft Windows 98 Standard Edition
  • Microsoft Windows 95
Keywords: 
kbenv kberrmsg kbfaq kbprb KB141697

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com