Windows XP machine has long delay after clicking shutdown but before the logoff prompt comes up

Posted on 2009-04-02
Last Modified: 2012-06-21
I have a client computer, part of a domain, that has about a three minute delay between the time when I click the shutoff button and when the actual logoff prompt comes up.  I have checked for viruses and spyware and it came up clean.  Any ideas on what could be causing the slowup.
Question by:linepuppet
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +2

Expert Comment

ID: 24055335
Is it attempting to sync offline files? If so, check the size of these files.

Are you using a roaming profile? A large profile resyncing with the server could cause this as well.

Author Comment

ID: 24055386
The profile is local and the delay happens before the only offline folder  syncs.  

Expert Comment

ID: 24055453
If it is attempting to shut down background applications, this could be a cause for a slow shutdown.

Check all of the running applications before you attempt to shut down, as well as the applications that boot up with windows.
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  


Expert Comment

ID: 24055470
Are there any error events logged when the user logs off?

If the user just logs in and logs out quickly, does it take as long to shutdown?

Have you tried UPHClean?

Also, you might do some research on disabling XP from clearing the paging file on shutdown, might help you a little.

Author Comment

ID: 24055612
I have used the UPHClean to no avail and I also checked on the clearing of the paging file on shutdown, it was already disabled.  

I have also been shuting down programs and then clicking the shutdown button to see if closing something makes a difference, all my user started programs are closed, I'm running around 20 Processes and it still has the same hang on clicking the Shutdown button on the start Menu.

Author Comment

ID: 24055623
Before posting my own question, I looked into a few other threads and followed the suggestion to go to start - run and enter this command="shutdown -r -f -t 00"  
That made the computer turn right off, but I don't know what it exactly did.

Expert Comment

ID: 24055632

1.  Have you checked the pc for spyware/malware?  Use Malwarebytes Anti-Malware.
2.  Does the PC boot without issue?
3.  Download and install Process Explorer and see what is running after start up and then right before shutting down.
4.  Check MSCONFIG and see what processes are loading.
5.  Are you using Word as an editor for Outlook?  Sometimes Winword.exe stays open and running even after Outlook is shut down.

Let me know

Author Comment

ID: 24055668
The answers those questions are

1. No infection
2. Boot is fine
3. Already have Process explorer.  I shows me nothing out of the ordinary with this system.
4. The startup programs are few, nothing unusual there to note
5. My client does not use Outlook, He refused to move off of Outlook Express.  No amount of coaxing will change this.

It should be noted, the delay isn't in the shutdown itself, once the logoff window comes up the computer closes out in a normal fashion.  The delay happens upon clicking the Shutdown Icon in the Start Menu.  Once hte button is clicked everything seems to Freeze with the exception of the taskmanger which can be launched via Ctrl-Alt-Delete

Accepted Solution

BGTSLLC earned 500 total points
ID: 24055676
Two other things:

1.  Dial A Fix.  
2.  Repair the OS.
LVL 10

Expert Comment

ID: 24056845
Sometimes the terminal services can block shutdown or restart, try to stop terminal services before shuting down.

Expert Comment

ID: 24060805
Shutdown switches:

I thought you would like some info on what the switches were that you entered in that shutdown -r -f -t 00 command.
-r = restart
-f = forces applications to quit
-t 00 = sets time for shutdown to 00 seconds.

Try this, just type "shutdown -r -f" and see if it still speeds up the shutdown. If it does, then you know it is an application causing the computer to hang, and you can troubleshoot which one from there.

Author Comment

ID: 24061040
Thanks for the switch info, I ended up doing a repair install and that took care of the problem

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article ( first and run the tool TDSSKiller ( to get rid of the infection. Once done, and if the …
This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

691 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