Issue:
You installed a program. Now you want to uninstall it. You open up the Apps & Features (in Windows 10), click on the program name, click Uninstall button and you get an error. The program cannot be uninstalled.
Solution:
Method 1:
UseĀ Windows Installer CleanUp Utility (given by Microsoft) to uninstall the program.
Method 2:
- Type regedit in Cortana and click on the program.
- Find the program name. For example JetBrains.
- Continue finding the program by pressing F3 until you find it under the sub-folder HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall or the sub-folder Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall (you verify this path by looking at the path under the top menu and looking at the DisplayName in the right panel).
- Copy the value of the key UninstallString.
- Type run in Cortana and click on Run application.
- PasteĀ the value of the key UninstallString and click OK.
- If you still get the error then just delete the sub-folder under the sub-folder HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall or the sub-folder Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall.
- Restart your computer.