Ask Leo! by Leo A. Notenboom

I have multiple winlogon.exe files on my machine, and one's taking up a lot of memory - what do I do?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Windows » Windows Components

Summary: It's quite possible to have more than one winlogon.exe, but knowing which are good and which are suspect isn't always clear.

I have multiple versions of winlogon.exe on my computer. When I boot up, I have configured my system to run and display Task Manager so I can see what's up. I have noticed that the winlogon.exe takes up a substantial portion of memory, and I don't know why, if Windows XP Home SP2 has already loaded AND when I have not asked MSN to load, why would this file launch? Is it related to the operating system or MSN or MSN Messenger? Can I delete the versions of winlogon.exe that are dated 2002 and have earlier version numbers?

Winlogon.exe is expected and a copy should be running. What you mean by "a substantial portion" of memory will depend on a lot of things.

And there are likely to be several copies; I have four, myself.

Let's review winlogon.exe, what's worth being concerned about, and what all those copies might be.

The short version is that winlogon.exe is the process that handles your logging in to Windows. When you click on a user name after boot up, or enter a user name and password, that's winlogon handling the job. It also handles logging off and a number of other things, but you get the idea; its name actually does a good job of identifying its primary function.

Now, because it's always present, the name "winlogon.exe" is a favorite target for misuse by malware authors. By distributing their bogus programs with a name of winlogon.exe things appear "normal" when the casual observer looks at a process list using task manager.

Now some folks will tell you that if you see a winlogon.exe anywhere other than c:\windows\system32, that the other copy is a virus. Not true. Given the way that Windows Update works, and the way that Windows File Protection works there may in fact be several copies of winlogon.exe that are perfectly valid, and possibly not even the same version.

"... winlogon.exe is the process that handles your logging in to Windows."

For example, here's what's on my Windows XP Pro machine:

  • C:\WINDOWS\SYSTEM32\winlogon.exe: 502,272 bytes dated 2004-08-04 00:56:58. This is the "real" version of winlogon.exe that's actually running on my machine.

  • C:\WINDOWS\SYSTEM32\DLLCACHE\winlogon.exe: also 502,272 bytes and also dated 2004-08-04 00:56:58. This is the copy used by Windows File Protection - should the "real" winlogon.exe in SYSTEM32, above, become corrupt or be overwritten by another, WFP will replace it with this master backup copy. (Should this backup copy become corrupt or disappear, I believe that WFP will then ask for the installation CD instead.)

  • C:\WINDOWS\ServicePackFiles\i386\winlogon.exe: still 502,272 bytes and still dated 2004-08-04 00:56:58. This is more-or-less the equivalent of the C:\I386 folder, which typically contains a copy of the files from your installation CD, except that this is a copy of the files which were updated in Service Pack 2. I believe it's used by WFP if the DLL Cache doesn't work for some reason. ServicePackFiles\i386 is also used (like C:\I386) if new components are installed that require additional operating system files that weren't already installed.

  • C:\WINDOWS\$NtServicePackUninstall$\winlogon.exe: this time we see a size of 516,608 bytes and a date of 2002-08-29 03:00:00. This is the version of winlogon.exe that was replaced by Service Pack 2, and which is preserved in case SP2 is ever uninstalled.

  • C:\I386\winlogon.exe: ok, this isn't on my machine because I moved my C:\I386 directory to another location on my network, but you may well find it here.

All of those are valid, and their presence does not indicate that you have malware.

However, if you find winlogon.exe anywhere else on your machine ... well, then perhaps it's time for a little concern followed by an up-to-date virus scan.

To examine what's running on your machine, I'd recommend using Process Explorer rather than Task Manager. We can get a little more information out of procexp.

With Process Explorer running, just hovering over the line for winlogon.exe will show perhaps the most interesting bit of information of all:

Tooltip for winlogon.exe

As you can see the popup tool tip shows that this instance is running from the copy of winlogon.exe in C:\WINDOWS\SYSTEM32. In other words, it's running the copy that we expect it too. If not, then it's time for that up-to-date virus scan.

Right click on winlogon.exe in Process Explorer and select Properties and you'll get the same information and some more details:

winlogon.exe properties

Click on the Performance tab and you'll get some information about winlogon's resource utilization:

winlogon.exe properties performance tab

Most interesting might be the Virtual Size (199,168 K on my machine, or around 200 megabytes), and the Working Set (22,516 K). This is a real example and I'd expect them to be pretty normal and representative numbers.

So, what if your numbers are way off from that? Or what if your legitimate instance of winlogon.exe in C:\Windows\System32 is eating up all your CPU? Turns out there are several different potential causes. Searching Microsoft's support site for winlogon.exe returns several articles describing several different scenarios. They're rare, but if you've determined that you're not fighting a malware infection, they're the next place I'd look for what to do next.

Related:

Helpful? Get new articles weekly by email in my FREE newsletter!

Your Name:
Your Email:


Why Subscribe?

Article C3110 - August 7, 2007

Was this article helpful? «Yes» «No»

Recent Comments
15 Comments

Hi,

I have been struggling with this winlogon.exe for last 2 weeks. It is always seen using upwards of 90% of the CPU time. One thing I noticed is that one of the process it is running as an user (there are 2 of them). I found this through process explorer and then killed the running under my user name. The system seem to have improved after that. Do I do it right? If yes, what should I be doing to remove this from my PC forever?

Regards

Posted by: Sharan at June 8, 2009 9:13 AM

This is not always true.I had to manually remove a virus by the name of winlogon.exe from my cousins computer.I found it in the system 32 folder in in multiple instances and the icon looked like a moon hanging in church stain glass as well as the registry.It was keeping explorer.exe from running at start up so I would have to open the task manager and manually start

Posted by: george at November 21, 2009 2:25 AM

the process to enable the desktop and it made the computer run sluggish.After I did what I did the computer worked great.You should include in your articles that sometimes something may look legit but in fact is a virus.You not doing that makes you look like a stupid sack of shit LEO.

Posted by: george at November 21, 2009 2:28 AM

I have downloaded Process Explorer. When I follow your directions to hover over winlogon.exe, the hover box reads "winlogon.exe"
When I right click and go to Properties, The Image tab and the Performance tab are nothing similar to what you have posted. The Image tab does not show the same image, the version is "n/a" as well as the time is "n/a" and the path is "not available." the Command line is blank andthe currecnt directory is blank. The Parent says "non-existant process (632)" and the user says "access denied."
Whne I click on the Performace tab, everything is at "n/a."
I have McAfee, a paid version of Super Anti-Spyware and unpaid Spybot SD Resident. All have been run and updated. I am using Vista on a Dell computer.
When I look at the Windows Task Manager (which is where I started before I downloaded Process Explorer), the Image Name is winlogon.exe but shows no user name, no cpu, 692K of memory and no description.
Is this a virus or someone hacking into my computer through a wireless connection (even possibly my roommate who uses the same wireless connection and set up my wireless router)?
Please help and I appreciate your time and response.

Posted by: NKelly at January 22, 2010 9:22 AM

If you are seeing winlogon86 on your computer, you have a virus. If you go to task manager and click on processes you will see which winlogon you have installed. It will delete your desktop, freeze your computer, make it almost impossible to get onto the internet. Be careful not to delete winlogon that does not have any additional numbers or words. I would google anything before removing it from your system.

Posted by: Rose at February 3, 2010 3:53 PM

Post a comment on "I have multiple winlogon.exe files on my machine, and one's taking up a lot of memory - what do I do?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

  • Read the article at the top of this page. If your comment shows you didn't, it'll be deleted and ignored.

  • Comment only on this article. Use the Google search box at the top of the page if you have a question about something else.

  • Don't include personal information in the comment. No email addresses. No phone numbers. No physical addresses.

  • Don't spam. Excessive links to unrelated sites within a comment or across multiple comments will cause all such comments to be removed.

  • Don't ask me to recover lost passwords or hacked accounts. I can't, and those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...




Question? Ask Leo!