Click to Rate and Give Feedback
Tips
We show you how to use the Get-MailboxStatistics cmdlet to view who last logged in to a mailbox, last logon date and time, and message count. ...

Read more!

Memory is often the source of performance problems, and you should always rule out memory problems before examining other areas of the system. Here’s an overview of counters that you’ll want to track to uncover memory, caching, and virtual memory (paging) bottlenecks. ...

Read more!

Learn how to install Hyper-V on both full and Server Core installations of Windows Server 2008. ...

Read more!

Here are a few examples of how you can use Windows PowerShell scripts to manage virtual machines running on a Server Core installation. Note that these scripts are presented as samples and may need to be customized to work in your environment. ...

Read more!

Need to quickly map a network drive? We show you how, in both Windows Vista and Windows Server 2008. ...

Read more!

Related Articles

RichCopy is a powerful, multi-threaded alternative to the popular RoboCopy file copy utility. Take a look at how this free tool can significantly improve file copy performance.

Joshua Hoffman

TechNet Magazine April 2009

...

Read more!

This column describes the Microsoft Remote Server Administration Tools, which allow administrators to remotely manage roles and features in Windows Server 2008 and Windows Server 2003 from a computer running Windows Vista SP1.

Edward Dake

TechNet Magazine January 2009

...

Read more!

The Visual Round-trip Analyzer utility can help you to discover the reasons why your Web pages may be slow to load, and what you can do to make the pages load faster.

Jim Pierson

TechNet Magazine February 2009

...

Read more!

Michael Murgolo is back with an update to his Elevation PowerToys. You'll find enhanced Run as Administrator functionality that works with third-party scripting tools, a way to replace a handy Windows XP feature removed from Windows Vista, and many more useful tools.

Michael Murgolo

TechNet Magazine June 2008

...

Read more!

This column describes what’s new in version 2 of SyncToy, a utility that helps you keep your files in sync across computers and external drives.

Jay Munro

TechNet Magazine December 2008

...

Read more!

Also by this Author

Discover how you can use the free Web Page Error Toolkit from Microsoft to replace the generic 404 page with a custom error pages, providing useful details for site visitors who bump into trouble.

Lance Whitney

TechNet Magazine February 2009

...

Read more!

Lance Whitney

TechNet Magazine January 2007

...

Read more!

With Windows Vista, the format for Group Policy templates has changed to an XML-based structure. The ADMX Migrator utility can convert your legacy ADM files into the new ADMX format, as well as help you easily create your own custom ADMX files.

Lance Whitney

TechNet Magazine February 2008

...

Read more!

This free utility and electronic questionnaire can help mid-sized organizations identify and resolve network security risks.

Lance Whitney

TechNet Magazine December 2007

...

Read more!

See how the Change Analysis Diagnostic tool can help users discover system changes on their computers (from updates, new software, and changed hardware) and resolve problems they may encounter due to these changes.

Lance Whitney

TechNet Magazine December 2008

...

Read more!

Popular Articles

Why do attachment sizes increase when sending and receiving e-mail messages? How can you ensure databases on a passive node in a CCR cluster are defragmented during online maintenance? Can you use an external trust between forests? We answer these questions and more.

Henrik Walther

TechNet Magazine January 2009

...

Read more!

Aaron Margosis

TechNet Magazine August 2006

...

Read more!

SQL Server 2008 includes a new “eventing” mechanism called SQL Server Extended Events that enables some sophisticated troubleshooting. Get an overview of Extended Events and find out how you can use this new functionality for monitoring and troubleshooting.

Paul S. Randal

TechNet Magazine January 2009

...

Read more!

The introduction of Hyper-V makes virtualization an even more compelling solution for IT environments. Get an overview of today’s virtualization market and see how Hyper-V improves the manageability, reliability, and security of virtualization

Rajiv Arunkundram

TechNet Magazine October 2008

...

Read more!

Greg Steen discusses recovering from system crashes with Replay RA - Recovery Accelerator, managing compressed archives with WinRAR, using TortoiseSVN to simplify source control, measuring disk I/O with Iometer, as well as rebooting servers remotely with the APC Switched Rack PDU, and looks at the book "Windows Group Policy: Windows Server 2008 and Windows Vista".

Greg Steen

TechNet Magazine January 2009

...

Read more!

Our Blog

NAP monitors the health of specified computers when they attempt to connect to a network and includes a number of mechanisms to enforce health requirements. In this article, Geek of All Trades Greg Shields gives readers an overview of these enforcement mechanisms and, as an example, takes a closer look at setting ...

Read more!

Use Windows PowerShell to Manage Virtual Machines Here are a few examples of how you can use Windows PowerShell scripts to manage virtual machines running on a Server Core installation. Note that these scripts are presented as samples and may need to be customized to work in your environment.

Create a New ...

Read more!

Disabling an Unused Part of Group Policy Objects One way to disable a policy is to disable an unused part of the GPO. By disabling part of a policy that isn’t used, the application of GPOs and security will be faster.

Administer Windows Server 2008 Server Core from the Command Prompt ...

Read more!

In the August 2008 issue of TechNet Magazine, Paul Randal wrote an article Top Tips for Effective Database Maintenance.  It was geared toward "involuntary  DBAs" (IT pros who inadvertently wind up responsible for a SQL Server instance).  The article had a great response from our readers so Paul has written another ...

Read more!

Microsoft Forefront is designed to deliver an integrated security solution that makes it much easier to deploy and manage security across an organization’s IT infrastructure. In this, our annual security issue, we feature two articles that describe how Forefront Security protects instant messaging and e-mail.

Protect ...

Read more!

Utility Spotlight Windows Installer CleanUp Utility
Lance Whitney


You try to uninstall or update an application on one of the PCs in your environment, but your command doesn't execute. Instead, an error pops up telling you that the application could not be uninstalled or updated. Sound familiar? If so, you've undoubtedly wondered what causes this glitch.
Software installed using the Microsoft® Windows® Installer (MSI) technology writes certain files and registry settings. If any of those files or settings are missing or corrupted, you may be unable to remove, update, or even reinstall the program. The solution in such cases is to remove all of the Windows Installer information so that the program can be cleanly reinstalled. To do that, Microsoft offers the free Windows Installer CleanUp utility.
The Windows Installer CleanUp utility deletes all files and registry settings associated with a program's Windows Installer configuration. It's important to note that the tool does not remove the program's actual installation files or registry settings. Nor does the tool replace or supersede the Add/Remove Programs command.
Rather, you would resort to this utility if you can't uninstall or update an application through Add/Remove Programs or other methods. By deleting the Windows Installer information, you should be able to reinstall the application. You can then leave the program installed as is, update it, or even remove it.
The Windows Installer CleanUp utility displays a list of all the Windows Installer-based applications on the PC (Click the image for a larger view)
Some of you may be familiar with the Microsoft command-line program msizap, which removes a program's Windows Installer data. Well, that command is still in use here: Windows Installer CleanUp is simply a friendly front end to msizap, so that you no longer need to wrestle with any cumbersome command-line options.
After you install the utility, you'll find a subdirectory called Windows Installer Clean Up nestled under Program Files. Within this subdirectory are three files: msicuu.exe, msizap.exe, and readme.txt. The msicuu.exe file displays a list of all Windows Installer-based applications on the PC, letting you select, deselect, and remove any of them. This program then passes along your choices to the msizap.exe command, which removes the Windows Installer information for the selected applications.
To run Windows Installer CleanUp, go to the Start Menu | All Programs and find its folder; then click on the Windows Installer Clean Up shortcut. You'll see a list of all the Windows Installer-based applications that are on the PC (as shown in the screenshot). Select the application that you are having trouble with and click the Remove button. That application is then deleted from the Windows Installer database, giving you the opportunity to cleanly reinstall it.
You'll see that after you run the CleanUp tool, the application will no longer appear in Add/Remove Programs. Therefore, if you ultimately want to remove the application, you must reinstall it first. Windows Installer CleanUp works only with software that uses Windows Installer technology, which typically covers installations packaged as MSI files.
Finally, note that you must be logged in as an administrator to run Windows Installer CleanUp. The tool is compatible with all 32-bit and 64-bit versions of Windows. For more information on the utility and to download the software, please point your browser at support.microsoft.com/kb/290301.

Lance Whitney is an IT consultant, trainer, and technical writer. He has spent countless hours tweaking Windows workstations and servers. Originally a journalist, he took a blind leap into the IT world 15 years ago.

© 2008 Microsoft Corporation and CMP Media, LLC. All rights reserved; reproduction in part or in whole without permission is prohibited.
Page view tracker