Home > Articles > Home & Office Computing > Microsoft Windows Vista & Home Server

  • Print
  • + Share This
This chapter is from the book

This chapter is from the book

Undo a Bad Software Install: The Hard Way

If you are reading this, you're either really bored and need an excuse to not cut grandpa's toenails, or your computer could also be in really deep doo-doo, as my Mom would say. If the latter is true, I'm going to make this as simple as possible for you, but be prepared to geek out a bit. We have to do a bit of Vista surgery.

We have to go through a fairly involved series of steps to wipe out all data tendrils that a third-party program puts into the system. But like eating a chunky frog sundae, let's take it one difficult spoonful at a time.

Here's a summary of where we're going:

  1. Figure out where all the program's parts are using the Windows Registry.
  2. Locate application files and folders and delete them.
  3. Find and remove any hidden application data in the C:\Users folder.
  4. Remove Startup items using the System Configuration utility (also called msconfig) and disable related system services and startup items.
  5. Finally, clean up the Windows Registry.

All set? Great, let's get to it. For this example, I'm going to remove Mozilla Firefox manually from the system. Why? Early on, Firefox did not play nice with Vista. In the release version, it does. But at the time, it was a good candidate for removal and was a piece of software that touched most of the system during its installation.

Before You Get Started

Before surgeons perform any kind of operation, they immobilize the patient (well, the good ones do). It's not good practice to remove an appendix while the patient is eating a ham sandwich; likewise with your system. Make sure it is doing nothing else when you do a manual software removal.

Close the application you are going to remove. And close all programs that may be running on the system. You want the system to be running idle.

Set a Restore Point

The System Restore utility can be used to reset the system back to the way it was before this procedure if something goes wrong, so before proceeding, set a restore point. This gives the system a reference point to revert to if something goes wrong. (Don't you wish you could set a relationship restore point before trying to tell your betrothed that those pants aren't working for him/her?)

  1. Be sure you are logged in as an administrator.
  2. Click the Windows button.
  3. Type System Restore and click it when it appears in the Start menu.
  4. Click Continue on the UAC warning dialog.
  5. When the System Restore Wizard pops open, click the Open System Protection link.
  6. Ensure that the C: drive has a check mark next to it on the System Protection tab and then click the Create button at the bottom of the dialog box (see Figure 9.9).
    Figure 9.9

    Figure 9.9 Create a restore point in the System Protection tab of System Properties.

  7. Name the restore point something memorable when the Create a Restore Point dialog box opens. Something like "Before I Removed Firefox Manually" will work. Then click Create. Vista examines the system and creates a restore point.

Clean Out the Registry: Phase 1

Next let's snorkel into the Windows Registry and cut out all the references to the program we want to manually remove from the system.

Here's how, using the hidden Windows applet called regedit or Registry Editor:

  1. Log in to Vista as an administrator.
  2. Click the Start button, type regedit, and press Enter.
  3. Click Continue on the UAC dialog. The Registry Editor window opens.
  4. Click Edit, Find. In the Find window, check the boxes next to Keys, Values, and Data (see Figure 9.10). In the Find What box, type firefox.
    Figure 9.10

    Figure 9.10 Use the Find function to search for Registry keys in the Registry Editor.

  5. Click the Find Next button, and the first entry in the Registry that uses the word firefox is located in the Registry.
  6. When you encounter the first item, inspect it to make sure it's relevant. This is a judgment call that is tough to teach. With Firefox, I wiped out all Registry entries that used the keyword (see Figure 9.11), but use common sense. And if in doubt, don't delete it, or be prepared to do a System Restore afterward if you remove something that causes problems.
    Figure 9.11

    Figure 9.11 This Registry key is just a reference to a URL and is unrelated to the application that is being manually deleted.

  7. Tap the F3 key to jump from one entry to the next, deleting them as you go. This unlinks Firefox from the system. This is sort of like packing your personal belongings before you move out of a house. You take all your furniture and personal effects out of service, but everything is still in your home in boxes—they're just not usable.
  8. When you're done, close out regedit and restart the system, and check to ensure that the system doesn't cough or behave oddly.

Find Files and Folders, Then Nuke 'em

Next, we'll need to locate all the files and folders associated with Firefox. The best way to do this is to use Vista's Search tool:

  1. Click the Windows button, and then on the right side of the Start menu about halfway down, click Search.
  2. When the Search window opens, click Advanced Search in the top-right corner.
  3. When advanced search features appear, locate the Location pull-down, and choose Local Disk (C:) (see Figure 9.13), or whichever hard disk you use as your boot drive.
    Figure 9.13

    Figure 9.13 Use Vista's advanced Search to locate the applications files you want to delete.

  4. Across the top, click Other to exclude Email, Pictures, Documents, and Music.
  5. Also be sure to check the Include Non-indexed, Hidden, and System Files box.
  6. Way in the top-right corner, type firefox in the Search box with the "x" in it. This locates all the files on the system with the word firefox in them. Primarily, you're looking for the file folders that contain the program files.
  7. To select all the files and folders, hold down the Ctrl key and click each item you want to delete so they are multiselected. After the items are highlighted, release Ctrl and press the Delete key to send them to the Recycle Bin.

Remove Startup and Services Settings

As I mentioned in Chapter 3, "Startup and Shutdown Issues," Vista has a tool called System Configuration (or msconfig) that gives you the capability to manage what is loaded into memory when Windows starts up (see Figure 9.14).

Figure 9.14

Figure 9.14 Use the System Configuration utility to eliminate any startup applets or services related to your application.

You'll have to use msconfig to clear out any unwanted startup items related to the program you are removing:

  1. Click the Windows button, type msconfig, and press Enter.
  2. A UAC warning screen appears; click Continue.
  3. The System Configuration utility launches.
  4. The two tabs we are interested in are Services and Startup. Click on the Services tab and scroll down, looking for any entries called firefox.
  5. You won't find any because Firefox doesn't create any services when it is installed. However, if you're reading this, I am sure you're following along to remove another application. So, see whether it has any services listed. If there is, uncheck it and click Apply; then click OK.
  6. You might be prompted to restart the computer. Don't do this yet—first click the Startup tab (see Figure 9.15).
    Figure 9.15

    Figure 9.15 Check the Startup tab and uncheck any items related to the application you are annihilating.

  7. If a program launches when Vista starts, this is where it is triggered from. In the case of Firefox, there aren't any items here. But check to see whether the program you are removing (or a related helper applet) is listed here. If so, uncheck it.

Next up, we have to check what services are running in memory. So don't restart yet.

  1. To see whether any related services are running, launch the Task Manager by simultaneously pressing the Ctrl, Alt, and Del keys.
  2. A utility screen appears with a list of tasks. Click on Start Task Manager (see Figure 9.16).
    Figure 9.16

    Figure 9.16 Check your computer's memory to see whether any related services are running using the Task Manager.

  3. The screen switches back to your desktop, and the Task Manager dialog box appears.
  4. Click on the Services tab and look for any entries related to the software you are uninstalling (in my example, it would be Firefox). There should be no entries because you have already removed most of the program, but if any survived, kill them off by right-clicking and choosing Stop Service.

Finally, you will want to restart your computer.

Clean Out Your Registry: The Clean Up

The next and final phase (you're almost there) is to delete any remaining Registry entries that you couldn't kill off before. You can't delete Registry entries if they have associated processes running live in memory.

So this time, we're going to clean any residual Registry entries by sweeping the Registry in Safe mode. Safe mode loads only the bare essentials into memory to run Vista, so it's a good place to do precision Registry housecleaning.

So, let's get that done:

  1. Restart your system and enter Safe mode once again.
  2. Launch the Registry Editor by clicking the Windows button. Type regedit and then press the Enter button.
  3. Click Continue on the UAC warning, if it appears.
  4. Click Edit, Find (or press Ctrl+F) to open the Find window.
  5. In the Find window, make sure the Keys, Values, and Data boxes are checked.
  6. In the Find What box, type the search term that you have been using to locate Registry keys related to the application you are removing. (I would type firefox here.)
  7. Click the Find Next button, which shows the first entry associated with your keyword in the Registry.
  8. When it finds the first entry, hit the Delete key (or right-click on the highlighted entry and click Delete).
  9. Click Yes on the Confirm Value Delete dialog box to approve the action.
  10. Tap the F3 key to find the next entry. Repeat this until all entries are deleted.
  11. At this point your computer should be free of all remaining unwanted Registry entries.

Finally, restart your computer normally and check to see that the system is free of the deleted application and that it is working normally and without any further complications. If so, congratulations! You're one step closer to being an elite Vista geek.

  • + Share This
  • 🔖 Save To Your Account

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020