How to force uninstall a program you cannot uninstall

79
rate or flag this page

By eugene2k

At one point or another this happens to every computer user in the world: You install a program, find out that you don't like it, or need it, or that it's plain useless for the task you wanted to use it for, and you want to uninstall it. So you open up the Windows Add/Remove tool, click the button to uninstall the program... and find out that you cannot uninstall the program. In this article I will try to explain how to force uninstall a program, that you cannot uninstall using the Windows Add/Remove tool. Before that, however, I will try to explain what happens during installation.


What you need to know to uninstall a program manually

There are several things that happen during the installation of a program. First, of course, is the copying of files to the specified program folder (which is usually somewhere inside the Program Files folder). Also some files such as shared libraries (.dll files) can be copied into a folder inside Program Files called Common Files and some files such as drivers or shared libraries (again) are copied into the ‘WINDOWS\System32' and ‘WINDOWS\System32\drivers' folders. After that the installer makes some changes inside the windows registry. The windows registry is a unified place where all the settings for programs and for windows itself are stored. The installer can make changes inside the registry for several reasons. For example if a shared library needs to be registered. Or if certain types of files need to be associated with the program being installed, so that the user could open them (e.g. if you install Microsoft Word, then you will be able to open Microsoft Word documents). After this is done, a key is added to the windows registry in a place where the Windows Add/Remove tool looks for installed programs. During the installation all these operations are logged in a special file (e.g. setup.log), and the installation program usually puts that file inside the application's folder along with the uninstaller. When a user tries to remove a program through the Add/Remove tool, windows looks for the registered uninstaller inside the registry, and executes it. The uninstaller goes through the log file and undoes all the changes done during installation. That is, it deletes all the files that have been copied, all the registry keys the installer created etc.

However, if there is no log file, or if there is no record of the changes made to the registry the uninstaller might fail to uninstall the program, and it will stay there untill it is removed by other means.

So if a program won't uninstall, how do you perform a force uninstall?

Well, if you know how to work with the windows registry, you probably can perform a manual force uninstall.

Before I go into detail about how to do this manually, I'd like to say that this is pretty advanced stuff, and if you're not a power user, then perhaps you should consider using specialized software such as the Perfect Uninstaller which allows you to do this in just a few clicks.

If you are a power user, then let's continue. First, let's see how to remove the program from the list of installed programs. To do that you need to open the registry browser:

  1. Click Start and choose Run in the menu (If you're using Windows Vista then press Win+R on your keyboard).
  2. Type regedit and hit Enter.
  3. On the left side is the registry settings tree, use it to go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
  4. Inside that key you'll find a lot of keys that belong to different programs. Some are named after the program's name, others as a mix of numbers and letters that makes no sense. Look through each of them until you find one that has the key DisplayName (on the right) with your program's name in it.
  5. Notice the key UninstallString - this key points to the uninstall program, and the log file usually resides in the same folder as that program.
  6. If you delete the key in which you've found the DisplayName key with the value equal to your program's name, then your program won't appear on the Add/Remove programs list.

Some programs create new entries in the registry to store their configuration options, these entries can usually be found in the HKEY_CURRENT_USER\Software or in HKEY_LOCAL_MACHINE\SOFTWARE - look for the program name or the name of the company that made the software. Don't delete Microsoft though - that contains Windows settings as well.

Next we have to find all the files that have been copied. Open the folder in which the uninstall program should be, and look for files which are named uninstal.log or setup.log or something similar. The list of files that have been installed is inside this file, you can open it in your notepad and find all of the files that have been copied onto your system. Delete the files and you'll get rid of the program almost fully.

Again, I'd like to stress that if you're new to the windows registry and all of this stuff, and if you don't feel like experimenting with your computer, then, again, please consider using either the Perfect Uninstaller or similar software, I do not want to be responsible for breaking your computer.

  • What do girls like in guys

    This is an article written by my very good friend Marie. Hope you will find it informative. Many of my guy-friends ask me this question over and over again. "Marie", they say, "What do girls like in guys?"... - 13 months ago

  • What women like about men

    What women like, and what they don't like about men - 13 months ago

  • 3 Reasons Your Computer Slows Down

    The three reasons your computer runs slower then it should and how to fix it! - 15 months ago

Print   —   Rate it:  up  down  flag this hub

Comments

RSS for comments on this Hub

abhilash  says:
2 years ago

Great tips, will try these when I am stuck next time.

grumpyjacksa profile image

grumpyjacksa  says:
2 years ago

Would've been nice to have known this earlier........Like last year or so............

Thanx !

Skatty  says:
14 months ago

Thank you so much!!

hatesaim  says:
13 months ago

wait. so what do you do after you find files with the .log extension?! do i delete anything else??

eugene2k profile image

eugene2k  says:
13 months ago

Thanks for noticing, I seem to have added my article only partially. It's corrected now.

hatesaim  says:
13 months ago

thanks for correcting it. could you be a little more specific though? going by your steps, i deleted the key in the UninstallString, then under HKEY_CURRENT_USER\Software and HKEY_LOCAL_MACHINE\SOFTWARE. after, you say to find the program with the uninstall folder for copied files, which should be where? i'm afraid i might have already deleted it.

hatesaim  says:
13 months ago

sorry, one more question. i found the .log file you were talking about, and most of the files it lists seems to be in the Program Files folder for that particular program. however, within the log it also says things like "File Overwrite: C:\Windows\System32\msvcr70.dll" - should i go and delete that listed file as well, or do something else?

thank you so much btw

eugene2k profile image

eugene2k  says:
13 months ago

no, if the installer didn't overwrite the file - you can delete that file, if it has overwritten it, that means some other program put it there and relies on its existence to work. Specifecally msvcr70.dll is copied during the installation of Windows itself.

hatesaim  says:
13 months ago

is there a way to tell if the installer overwrote the file?

eugene2k profile image

eugene2k  says:
13 months ago

It says File Overwrite in the logs if it encountered an already existing file :)

hatesaim  says:
13 months ago

i see. thank you! i hope it's all gone now.

saito  says:
13 months ago

If you remove everything about the program in the registry will you be able to reinstall the program?

eugene2k profile image

eugene2k  says:
13 months ago

yes, of course

FunFacter profile image

FunFacter  says:
11 months ago

I scanned through the computer for IDM searched the registry but no signs of it. finally i removed it using the Uninstall.exe from the internet but i could not understand where would it have kept its files.

Essa  says:
9 months ago

I did this and the program is still in program files and won't let me delete it...its not longer listed in add/remove programs or in the resgistry!!!

raps  says:
5 months ago

New Kaspersky activation Key

http://letitbit.net/download/db1d9a8867/Kaspersky_

abcd  says:
4 months ago

i need to remove windows security suite using this .....can i do????

Joe  says:
4 months ago

could you recommend a FREE uninstaller? i don't want to blow $60 on a program I'm only going to use once anyways

Ahmed  says:
4 months ago

this is the full prog link

http://rapidshare.com/files/260282188/PerfectUnins

bestsmart  says:
3 weeks ago

www.JBestsmart.com is a proud brand that America has grown to count on over the years to provide many products which help people enjoy their lives. Bestsmart is where people shop smart and save money. www.Jbestsmart.com is all-new and ready to serve you with a wider selection of products than previously offered in Bestsmart stores or online . You’ll find an expanded selection of consumer electronics, desktops, home stereos, car stereos, handbags, shoes,mp4, mp3, LCD TVs camcorders, digital cameras, clothes, cellphones, and all the accessories to go with them.

Vic  says:
2 weeks ago

thank you for the suggestion.. :)

Alex  says:
2 days ago

thank u so much

Submit a Comment

Members and Guests

Sign in or sign up and post using a hubpages account.


optional


  • No HTML is allowed in comments, but URLs will be hyperlinked
  • Comments are not for promoting your hubs or other sites

working