Log Windows logoff

Posted on 2012-08-21
Last Modified: 2012-09-24
Is it possible to Log Windows log off procedure?

Ive got several PCs that take 15mins to logoff, no idea whats happening. Nothing in Event Veiwer, and they just hang (no hard drive activity) and then fire into life and complete logoff.

Ive tried several fixes such as reducing WaitToKillServiceTimeout and HungAppTimeout with no success.

What I would love is some type of debug which can write to say "2012-08-21 18:31:17 - Attempting to close explorer.exe, 2012-08-21 18:31:22 - Completed closing explorer.exe".

The problem exists on Windows XP, Windows 2003 and Windows 7 PCs, and its doing my head in not being able to find a solution.

Any ideas?

Thank you
Question by:tonelm54
    LVL 30

    Accepted Solution

    I'm not familiar with how to do that, if possible, but there is something that you can do to try to trace down the problem. You can enable Verbose Logging. This can be done for either a domain system or a stand-alone system. I actually have every system, here and at home, enabled with this. It adds only a couple of seconds to boot/logon/logoff, but is very informative if there is a problem.

    See here for instructions (very easy)

    What happens is that during the logon/logoff process, a small window will be displayed with each process/app that is being loaded, unloaded, network connection, etc. You want to watch for one to stay on the screen for a long time. That will be your problem child. You may be able to solve it from there once you know what is causing the delay.
    LVL 23

    Expert Comment

    by:Nagendra Pratap Singh
    Are the PCs slow to logon too?
    LVL 16

    Expert Comment

    Interesting you have it on such different OSs.
    What 3rd-party code do they have in common?  eg Enterprise AntiVirus.
    Any logoff or shutdown scripts?Any roaming profiles?

    Author Comment

    They all have Symantec Anti-virus installed, Im going to try and update to v12 see if that helps.... :-S
    LVL 30

    Expert Comment

    activate verbose logging as I said. It should identify the problem for you.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
    Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
    In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
    This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now