Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How Do I Completely Uninstall a Program?

//
How do you remove software program completely and safely from the PC? Years ago I ran into issues using aftermarket software that was supposed to remove all the components of an unwanted software program. They did just that, but at the same time, I discovered the hard way that some software shares other components once they are installed.

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.

Uninstall

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

Revo Uninstaller
Revo Uninstaller. (Click for larger image.)

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.

Podcast audio

Play

Video Narration

Posted: February 29, 2020 in: Setup and Install
Shortlink: https://askleo.com/115300
Tagged: , ,
« Previous post:
Next post: »

New Here?

Let me suggest my collection of best and most important articles to get you started.

Of course I strongly recommend you search the site -- there's a ton of information just waiting for you.

Finally, if you just can't find what you're looking for, ask me!

Confident Computing

Confident Computing is the weekly newsletter from Ask Leo!. Each week I give you tools, tips, tricks, answers, and solutions to help you navigate today’s complex world of technology and do so in a way that protects your privacy, your time, and your money, and even help you better connect with the people around you.

The Ask Leo! Guide to Staying Safe on the Internet – FREE Edition

Subscribe for FREE today and claim your copy of The Ask Leo! Guide to Staying Safe on the Internet – FREE Edition. Culled from the articles published on Ask Leo! this FREE downloadable PDF will help you identify the most important steps you can take to keep your computer, and yourself, safe as you navigate today’s digital landscape.



My Privacy Pledge

Leo Who?

I'm Leo Notenboom and I've been playing with computers since I took a required programming class in 1976. I spent over 18 years as a software engineer at Microsoft, and after "retiring" in 2001 I started Ask Leo! in 2003 as a place to help you find answers and become more confident using this amazing technology at our fingertips. More about Leo.

4 comments on “How Do I Completely Uninstall a Program?”

  1. 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.

    Reply
  2. 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.

    Reply
  3. 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.

    Reply
    • 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.
      https://pendriveapps.com/

      Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.