Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

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

Question:

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.

Become a Patron of Ask Leo! and go ad-free!

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.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

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

  1. —–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—–

    Reply
  2. 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.

    Reply
  3. 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

    Reply
  4. 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??

    Reply
  5. This article was the most helpful of any I found. Some of my winlogon.exe files did not match your specs (different size & date) which is probably the problem. I copied the \i386 file which was the same and replaced the one in \system32. So far this has helped.
    WARNING! Do not attempt to restart your computer without winlogon.exe in \system32 file. You will get a visit from the BLUE SCREEN OF DEATH!

    –Thanks for your help, Leo!

    Reply
  6. everytime i turn on my computer and winlogon.exe come up and i hit ok or cancel my computer turn off by itself….. what to do to prevent that and install my anti-virus
    thank you

    Johnny

    Reply
  7. hi i just had an error.. a pop up came saying winlogon had an issue….
    that happened after 5 times i turned on/off my pc to enter windows i was scared idk if that will keep happening… when i turned my pc on it got stucked on the very first black screen where it checks the devices (hard drives and dvds) … it just didnt showed anything like if it didnt found the hard drives and dvds… so thats when i turned off/on again like 5 times until it finally found the hard drive and dvds and started windows…
    weird im a little scared.. after that when windows started it came the winlogon.exe error..
    what should i do?
    i already checked my winlogon.exe files i just got 2 and are under the descriptions avobe so i guess its not malware/virus…

    Reply
  8. 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

    Reply
  9. 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

    Reply
  10. 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.

    Reply
  11. 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.

    Reply
  12. The instruction at ‘0x76c6a921’ referenced memory at ‘0xe3aac18’. The memory could not be ‘read’.

    Click OK to terminate the program
    Click CANCEL to debug the program.

    When I clicked OK, it rebooted my system.
    “please help me in this problem”

    Reply
  13. I have heard that if you have 2 winlogon.exe (that is with no extra numbers or words in it) in your task manager might mean you have been keylogged.But do not try to delete any of them because if you delete the wrong one your PC will not work anymore.Also, if winlogon.exe is not a file from the Microsoft Corporation than it is most likely a type of malware.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.