This turns out to be a surprisingly difficult question to answer.
As you’ve discovered, software installation is not simple. That some programs share components with other programs is only the tip of the iceberg.
Perhaps the answer is easier than I thought: how can you completely uninstall a program? You can’t.
Let’s look at what you can do, though.
Become a Patron of Ask Leo! and go ad-free!
Installation is complicated
Let’s start by looking at all the different things that may get copied or created when you install software.
- The files that make up the software itself. Examples include “excel.exe” for Microsoft Excel, or “chrome.exe” for the Google Chrome browser.
- The files that make up components that may be shared with other programs. An example here is the infamous “Microsoft Visual C Runtime”, which is a library of software used by many other applications.
- The files that include templates, configuration files, default documents, and more used by the application once installed. Microsoft Word’s default templates are a great example.
- Registry settings that control the behavior of the application, or store the settings you make as part of the setup process or as you use the program.
- Registry settings or other information accumulated by the application as you use it. For example, many applications include their own “recent documents” list.
There are probably more that I’ve overlooked, and almost certainly more that are unique to some applications. There are many, many different things that could be installed, and many different places to keep them.
Worst of all, while there are guidelines, they’re not enforced. There’s really no standard that an application need adhere to.
Most programs provide an uninstaller, which is, of course, the first approach to … well … uninstalling.
Presumably the uninstaller has the same knowledge the installer had: what things were put where. Even if things were placed in completely random, non-standard locations, the uninstaller for a specific program should know what all those locations are.
Unfortunately, uninstallers aren’t a high priority to most application developers. Uninstallers are for people who want to stop using an application, so that’s no real priority here — don’t let the door hit you on the way out.
The net result is that uninstallers often don’t uninstall everything that was installed. They typically fall far short of a “complete” uninstall.
Even when they’re well written and thought out.
Did you want to save that?
One of the scenarios uninstall authors need worry about is this: an uninstall followed by an immediate reinstall.
This is a common debugging technique when we’re fighting a misbehaving application. I often advise people to completely uninstall an application and then reinstall it again from scratch.
The scenario, though, leaves us with a dilemma: whether configurations, modifications, and settings should be preserved. In other words, when you reinstall that application, should all of your configuration changes have been lost?
There’s no right answer. It depends. On rare occasions, an uninstaller will even ask if you want to preserve things — but most do not. Most often, an uninstaller removes the program but leaves behind those customizations, settings, and who knows what else, just in case you reinstall and want all that preserved.
Once again, a “complete” uninstall is uncommon.
Will the last person leaving please turn out the lights?
Shared components present yet another level of complexity.
Here’s the scenario:
- Program A uses and installs Library Z.
- Program B also uses Library Z, but sees that it’s already installed, so it need not bother installing it again.
- You uninstall Program A.
Uninstalling Program A should not uninstall Library Z, even though it installed it. Doing so would break Program B. (Apparently you experienced this at some point.)
In an ideal world, it’s only when Program B is also uninstalled that Library Z could be safely uninstalled — as long as no other program had been installed also using Library Z. Here’s the problem: there’s really no recordkeeping of who might still be relying on Library Z, and to the extent there is, it’s unreliable.
The result is that Library Z is never uninstalled, even if no application is left to use it. (To be very clear, this is an extreme over-simplification of what actually happens. Interdependencies like this can become frighteningly complex, and most uninstallers don’t want to take the risk of being blamed for breaking another program if it made the decision wrong.)
Dedicated uninstall applications
Applications like Revo Uninstaller (and several others) take an interesting approach to uninstalling applications. By using them to initiate the uninstall, rather than the traditional method, the process to uninstall Program A looks more like this (using Revo as an example):
- Revo runs Program A’s own uninstall program, which uninstalls what it knows to uninstall.
- Revo may monitor what it sees Program A’s uninstaller uninstall.
- Revo goes looking for leftovers that “look like” they might be associated with Program A. This might include registry entries, files, or folders matching Program A’s characteristics. Revo removes what it finds.
- Hopefully it’s correct, and doesn’t remove something important for some different application.
That last point is why dedicated uninstall applications often allow you to set a level of “aggressiveness” for their scans for leftovers. Set low, only safe things are removed. Set more aggressively, the program is allowed to remove things that might be slightly risky.
As I said, there are no standards that are universally followed. Revo can only hunt and make educated guesses based on what it finds.
Even then, it may leave things behind. It’s still not a “complete” uninstall.
100% guaranteed complete uninstall
You won’t like this.
The only way to really, truly, completely uninstall an application is to reinstall Windows from scratch. By erasing the hard disk as part of that operation, you are guaranteed that all traces of the application are gone.
Fortunately, it’s extremely rare that you need go to such lengths. Even if there are leftovers, a normal uninstall — even using the application’s own uninstaller — is typically sufficient.
And a lot less work.
Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.
I'll see you there!
Download (right-click, Save-As) (Duration: 7:36 — 8.4MB)
4 comments on “How Do I Completely Uninstall a Program?”
I’ve been using Revo Uninstaller to install and uninstall for several years. When you install a program you right-click on it and in the context menu it lets you install with Revo Uninstaller and that generates a log file of everything installed and registry entries so you can diagnose a problem if it occurs after the uninstall.
I haven’t a problem with this computer in the 2½ years that I’ve owned it and I think it’s because I use Revo Uninstaller instead of CCleaner to clean out my registry.
The amount of disk space occupied by program leftovers is in most cases infinitesimally small compare to the size of system drives. The registry is well indexed so that any program leftovers wouldn’t affect the access time for other programs accessing the registry. I’ve cleaned some of those using CCleaner, but I doubt it it gave me any significant performance boost.
I have found a few programs that do uninstall completely. Most of the time, they come as a .zip or .rar file that you extract to some location of your choice, and all of their configuration is contained in .ini files residing in the same folder.
In those cases, uninstalling is as simple as simply deleting the folder of that program. Any leftover are the shortcuts that you created and eventual files that you created and saved elsewhere.
Those are few and far between, but can be pretty big applications such as some games and utilities.
Those would be Portable Apps. Here is a website which has a pretty good collection of portable apps. It includes portable versions of a lot of the most popular freeware apps including Open Office, Thunderbird and many more. I find the portable version of Thunderbird very useful as I can take it with me on a USB flash drive and access my email on any computer.