Ask Leo!

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

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:

More articles about: Windows Components

Article Useful? Link to it from your own website; just copy/paste this HTML:

Article 11727 | Posted August 7, 2007

Recent Comments

Great help!! Thanks!!

Posted by: Ton Walter ZermeƱo at November 27, 2007 10:12 PM

my system32 winlogon is around 300,000 bytes
what does this mean ? :s

Posted by: amphibian at February 14, 2008 07:58 PM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm not sure that it means anything.

Leo


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHucOYCMEe9B/8oqERApLiAJ9mwV9OpiE4WzkpHVjmA2KcamJ2JACePWWx
Y5YtLrNjImWeA2efWLAxuTo=
=xYRo
-----END PGP SIGNATURE-----

Posted by: Leo A. Notenboom at February 18, 2008 09:42 AM

This is great. I am techno-baffled at teh best of times and my XP system is a mystery. Recently, I've slowed right down (and so has my computer:)). More recently, I noticed in Task Manager that this file is eating up 97% of CPU, almost always! Thanks to "googleing" based on my suspicions and your article which came up on search, I "searched through my computer to find 5 files on my C: and 1 temporary internet file with this file listed. I am not sure if I'll figure the whole thing out, but I feel like I am pointed in the right direction and armed with some useful information!

Thank you VERY much for taking some of the panic away.

Posted by: Toby Toth at May 5, 2008 01:08 PM

the process viewer works great :) but remember this there isnt and never will be a winlogon.exe in the c:/windows folder so if you find it there its a renamed malware/virus, had this issue i booted to safe mode and renamed the file then restarded and delted the renamed file and now i only have 1 winlogon.exe in explorer hope that helps some ppl

Posted by: Mike at May 11, 2008 07:21 PM

Hi,
You say that you have 4 winlogon.exe files but i have one directly under "C:/". Does this mean that any other winlogon.exe files are malware??

Posted by: Duncan at June 22, 2008 08:24 AM

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!


New!

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

Before commenting, please...

Please wait. Your comment is being processed ...


Ask Your Question:


ask-leo.com
Web

Archives

By Category
By Date

Advertisers

Advertise on Ask Leo!

««   »»

Question? - Ask Leo!
Who is Leo?
Link to Leo!

Terms, Conditions & Privacy