How to fix the "Invalid Uninstall Control File" error in Windows 10 and 11

You uninstall a program, but it still shows in your list of installed apps. When you try to remove it, Windows shows this error:

Invalid Uninstall Control File: C:\Program Files\uninstall.xml

This happens because a leftover record (an "invalid entry") is still in the Windows registry.

ADVERTISEMENT

Warning: The steps below change the Windows registry. A wrong change can break programs or Windows itself. First, back up the registry. If anything goes wrong, double-click the backup file to restore it.

How to back up and restore the Windows registry

  1. Right-click the Start button (the Windows logo) on the taskbar.
  2. Click Run.
    Open a Run dialog
  3. In the Run window, type regedit.
  4. Click OK or press Enter.
    Open Windows Registry Editor
  5. If a "User Account Control" window appears, click Yes. You may need to type your administrator password first.
  6. In the Registry Editor window, click File in the top-left corner.
  7. Click Export.
    Backup the Windows registry
  8. Choose where to save the file (for example, your Desktop).
  9. At File name, enter a name for the backup file.
  10. Click Save.
    Backup the Windows registry

To restore the backup later, double-click the backup file.

ADVERTISEMENT

How to delete the invalid registry entry

  1. Right-click the Start button (the Windows logo) on the taskbar.
  2. Click Run.
    Open a Run dialog
  3. In the Run window, type regedit.
  4. Click OK or press Enter.
    Open Windows Registry Editor
  5. If a "User Account Control" window appears, click Yes. You may need to type your administrator password first.
  6. In the left pane of the Registry Editor window, double-click HKEY_Local_Machine to expand.
  7. Double-click Software.
  8. Double-click Microsoft.
  9. Double-click Windows.
  10. Double-click Current Version.
  11. Double-click Uninstall.
    Invalid Uninstall Control File
  12. Right-click the folder for the program you want to remove.
  13. Click Delete.
    Delete an invalid entry in Windows 10 and 11

If the entry won't delete, restart Windows in Safe Mode and try again.

If you deleted the wrong folder or run into any problems, double-click the backup file to restore the registry.

ADVERTISEMENT