How to Scrub Email Out of a Windows Computer
The legacy approach to email, typified by Microsoft's Outlook program, permanently mated email to one computer. Many flaws in this mode of operation are obvious, but I recently ran across a flaw that isn't so obvious.
Before getting rid of an old Windows XP laptop, I was removing data files and un-installing applications. Turns out it's fairly hard to totally scrub the details of Outlook and Outlook Express email accounts from the Windows Registry.
Before removing Outlook 2003, I wanted to insure that I knew the password (this wasn't my computer). To that end, I ran Mail PassView from Nirsoft. Nir Sofer, the man behind nirsoft.net, makes some excellent, free, portable software for Windows.
In addition to passwords, Mail PassView displays many other attributes of an email account as shown below.
Name : YourName GoesHere
Application : Thunderbird
Email : firstname.lastname@example.org
Server : pop.gmail.com
Server Port : 123
Secured : No
Type : POP3
User : someuser
Password : mypasswordwashere
Password Strength : Medium
SMTP Server : smtp.gmail.com
SMTP Server Port : 25
It supports a long list of email clients including Thunderbird, all versions of Outlook, Windows Mail (both the Live and dead versions), IncrediMail and Eudora. If a webmail account has a password stored in a Windows application (such as a Hotmail password stored in a Microsoft Messenger app) chances are that Mail PassView can find it.
Running Mail PassView before removing Outlook 2003 revealed everything, including the fact that Outlook was configured for both a POP3 account from an ISP and a Gmail IMAP account.
It also revealed a surprise, Outlook Express had, at one time, been used for email on this machine. I ran Outlook Express to see what was there, and found just a single, very old, message. Even though the account was not really used, the owner of the computer certainly would not appreciate the details of their old email address (including the password) being available to the next user of the computer.
So, I un-installed both Outlook Express and Outlook 2003.
Since Windows applications often leave traces behind, I re-ran Mail PassView and fell off my chair. It reported all the same data that it had before un-installing the email programs. It was as if the applications had never been removed.
This, by the way, is one of many reasons that I prefer portable Windows applications. And, for the record, I never liked the Windows Registry, either in concept or implementation.
To help scrub the computer I turned to the Pro version of the popular Revo Uninstaller. Unlike the free edition, the Pro version includes a feature called Forced Uninstall that sounded just like what I needed. According to Revo it
...allows you to remove leftovers of programs that are already un-installed, incomplete installations and un-install remnants of programs! It does not matter if the program, you want to remove, is not listed in Revo Uninstaller Pro or in Windows Add/Remove Programs Control Panel applet.
The Forced Uninstall feature takes as input either the program name or a folder path. I told it to look for "Outlook" and then removed all the Registry entries and files it turned up.
Revo Uninstaller makes Restore Points before doing anything, so there is protection should the Registry trimming cause a problem.
I was amazed at the files Outlook 2003 had left behind, they included both an NK2 nicknames file and a PST file, among others.
Despite this surgery, Mail PassView was still able to report all the details of the three email accounts, including the passwords.
Then I tried the Advanced Scanning Mode for the Forced Uninstall, again searching for "Outlook". This found more Registry entries and files, but removing them still did not prevent Mail PassView from reporting on everything.
After removing files, Revo said that some would be deleted when the system was restarted. Yet, after restarting Windows, Mail PassView again reported everything.
I then noticed that folder
C:\Program Files\Outlook Express
had not been deleted despite being on Revo's hitlist. And, there were still files in the folder. So, I deleted them.