Refuses to shut down

Discussion in 'Windows 7 Help and Support' started by VsUK, Oct 22, 2012.

  1. VsUK

    VsUK Senior Member

    Joined:
    Jul 1, 2010
    Messages:
    254
    Likes Received:
    3
    I've use ccleaner & have TuneUp Utilities which all keep my system in tip, top condition. However from about a week ago my system just hangs on shutting down. It refuses to shut down & power off itself & just sticks on the Shutting Down screen with the little motion class at the side.

    I've all up to date drivers & gone through the usual checks but nothing has changed from before & since its started & im out of idea's to what it could be.
     
  2. patcooke

    patcooke Microsoft MVP
    Staff Member Premium Supporter Microsoft MVP

    Joined:
    May 16, 2010
    Messages:
    5,456
    Likes Received:
    268
    Shutdown calls a system program which you can run manually to test if there is a problem with the program itself - try running command prompt as administrator and executing this command:

    shutdown.exe /s /t 0 /f
     
  3. Danny1

    Danny1 Well-Known Member

    Joined:
    Oct 20, 2012
    Messages:
    60
    Likes Received:
    2
    I have the same problem. It does eventually shut down but it takes a long time. I use Ccleaner and my computer otherwise works fine, but it hangs on the shutting down screen for one minute. I tried running command prompt and executed the above command and it took a minute and a half to shut down. Next, I went into safe mode, then shut it down. It took one minute and 35 seconds.
     
    #3 Danny1, Oct 23, 2012
    Last edited: Oct 23, 2012
  4. Pauli

    Pauli Extraordinary Member
    Premium Supporter

    Joined:
    Mar 1, 2012
    Messages:
    2,499
    Likes Received:
    211
    It could be your Antivirus or other Security Program. Try turning them off = turn off, shut computer, restart, run for ten minutes or so, turn off... anything happening?
     
  5. Danny1

    Danny1 Well-Known Member

    Joined:
    Oct 20, 2012
    Messages:
    60
    Likes Received:
    2
    I have Microsoft Security Essentials. The only way I can "turn it off" is to completely uninstall it.
     
  6. patcooke

    patcooke Microsoft MVP
    Staff Member Premium Supporter Microsoft MVP

    Joined:
    May 16, 2010
    Messages:
    5,456
    Likes Received:
    268
    You say that nothing has changed so I asume you've not installed and software, drivers etc but have any updates installed - if so try uninstalling them.
     
  7. Saltgrass

    Saltgrass Excellent Member
    Microsoft Community Contributor

    Joined:
    Oct 16, 2009
    Messages:
    15,157
    Likes Received:
    393
    You could try opening an Administrative Comnmand prompt window and typing powercfg -energy to see if it would name any utilities keeping from shutting down or sleeping. You will have to copy the resulting report to the desktop to open.

    To see other options for the command, type powercfg /? for help.
     
  8. Danny1

    Danny1 Well-Known Member

    Joined:
    Oct 20, 2012
    Messages:
    60
    Likes Received:
    2
    I do have some optional updates on Microsoft Security Essentials that were installed between the 19th and 23rd. Around this time is when this problem started. It says that once the updates installed, they can't be removed. Do you suggest uninstalling and re installing the software?
     
  9. patcooke

    patcooke Microsoft MVP
    Staff Member Premium Supporter Microsoft MVP

    Joined:
    May 16, 2010
    Messages:
    5,456
    Likes Received:
    268
    I'd be surprised if SE were causing such problems but uninstalling is worth a try.
     
  10. Danny1

    Danny1 Well-Known Member

    Joined:
    Oct 20, 2012
    Messages:
    60
    Likes Received:
    2
    I did it this morning. Still takes over a minute to shut down.
     
  11. Joe S

    Joe S Excellent Member

    Joined:
    Jan 12, 2009
    Messages:
    3,785
    Likes Received:
    113
    Do you have any type of automatic backup running?
    Joe
     
  12. Danny1

    Danny1 Well-Known Member

    Joined:
    Oct 20, 2012
    Messages:
    60
    Likes Received:
    2
    No I don't.
     
  13. Twinnii

    Twinnii Well-Known Member

    Joined:
    Aug 10, 2012
    Messages:
    107
    Likes Received:
    0
    Usually when you start the shutdown process the computer waits for various processess to quite on their own. In Windows XP there was a reg key that you can set to a lower time from like 2000 seconds to 200 seconds and it would force a shutdown quicker. I think it was waittokill. You can search the Registry but be VERY CAUTIOUS one false move can mess up the whole system.
    Whenever you change something in the registry, just right click and export the file to a location you can easily get to if you have to recover your system.
    Like someone suggested above, run this command in the run section shutdown /s /f /t 60. These switches /s is to tell it to shutdown - /f is to force shutdown and /t is the call for time to start the shutdown you can change it to 30 seconds or even 5. Test it and see what happens. Also, you can check your services and see what is running automatically. If you've browsed to any webpages, it's possible something could've been installed without your knowledge. By the time, you can view different processess that are currently running or go to the run command and type taskmgr and see what processess are running. Select Show processess for all users or something like that.
    I am not on a Windows 7 machine right now but will try and help you further if you continue to see issues. Also, go to the control panel and select programs and see if there are any newly installed or unusual programs there that you can probably remove to help the hang on shutdown. One more thing, if you don't have a ssd hard drive maybe you need to defrag the system. Hope something helps you out.
     
  14. Pauli

    Pauli Extraordinary Member
    Premium Supporter

    Joined:
    Mar 1, 2012
    Messages:
    2,499
    Likes Received:
    211
    Deleted by author. I got it all wrong...
     
    #14 Pauli, Oct 25, 2012
    Last edited: Oct 25, 2012
  15. VsUK

    VsUK Senior Member

    Joined:
    Jul 1, 2010
    Messages:
    254
    Likes Received:
    3
    Hi, sorry for late reply been really busy.

    I have all my drivers & everything up to date & when i said nothing has changed since before it start to how it is now, i meant that my system was up to date on everything & i haven't installed anything, updated anything or changed anything since as nothing needs to be updated.

    Anyways, i do the shutdown from start menu & it fails to shut down. When i left it for about an hour or so i came back & got this screen i have attached below, but doing the shutdown.exe /s /t 0 /f it shut down perfectly fine, so i have no clue what is causing the problem.

    I did notice when i do shutdown from start menu i get 1 or 2 instances of waiting for background processes to close or sometimes my trillian before i get the shutting down screen, however doing the shutdown.exe /s /t 0 /f it did not do this & went right to the shutting down screen & then off.

    So, this image got me worried because i dont know what is causing it. I know it can't be the GPU because my old GPU the HD5830 must of got heat damage & was causing visual distortions on my screen & flickering in games & on taskbar & browser bars, so my new HD7870 is brand spanking new & literally is less than 2 weeks old.
     

    Attached Files:

  16. Danny1

    Danny1 Well-Known Member

    Joined:
    Oct 20, 2012
    Messages:
    60
    Likes Received:
    2
    I tried shutdown /s /f /t 60 in command prompt. A message popped up saying my computer would shut down in one minute. One minute later it did and it still took over a minute to shut down.
    Later, I went to defrag the hard drive. It ran some tests but decided it didn't need defragging. I had a program that I installed around the time this problem started. I don't think this is the problem but I uninstalled it. I shut down the computer again and it took over a minute again.
     
  17. Danny1

    Danny1 Well-Known Member

    Joined:
    Oct 20, 2012
    Messages:
    60
    Likes Received:
    2
    I'm attaching a screenshot of task manager showing running processes. Google Chrome and an app from the Weather Channel are eating up quite a bit of memory. Perhaps one or both of them are why my computer takes forever to shut down? Task Manager.PNG
     
  18. Danny1

    Danny1 Well-Known Member

    Joined:
    Oct 20, 2012
    Messages:
    60
    Likes Received:
    2
    That is when Chrome is open. When it is not, task manager shows one process from Chrome at around 5,000 KB.
     
  19. Danny1

    Danny1 Well-Known Member

    Joined:
    Oct 20, 2012
    Messages:
    60
    Likes Received:
    2
    I looked at event viewer and there are two administrative events at the same time I shut down. They are:
    User Profile service
    Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.


    DETAIL -
    1 user registry handles leaked from \Registry\User\S-1-5-21-4196284055-3908763261-3142770655-1001:
    Process 2980 (\Device\HarddiskVolume2\Windows\SysWOW64\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4196284055-3908763261-3142770655-1001


    WLAN AutoConfig
    WLAN AutoConfig service has successfully stopped.


    Both events occur every time I shut down and there are entries for both dating back to August and September but it's been taking forever to shut down since a week and half ago.
     
  20. VsUK

    VsUK Senior Member

    Joined:
    Jul 1, 2010
    Messages:
    254
    Likes Received:
    3
    Danny1, stop hijacking other peoples threads. I've got 0 answers to my posts in MY thread & all replies are regarding yours. Go make your damned own!
     

Share This Page

Loading...