Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Takes Forever To Shut Down (Most Of The Time)  (Read 2626 times)

0 Members and 1 Guest are viewing this topic.

opticaltrigger

    Topic Starter


    Greenhorn

    Takes Forever To Shut Down (Most Of The Time)
    « on: September 22, 2009, 04:40:18 PM »
    Hi everyone,
    What a gem this site is.I'm new here as Ive only just discovered the site but its great to see somewhere like this.
    Any way was kinda hoping someone out there might be able to help.

    When I shut down my P.C. nine times out of ten it takes forever to go through the process,most times somewhere in the order of seven to ten minutes but just once in a while with no warning it does it in around a minute or less.

    If anyone can shed some light on it for me I'd be real greatfull as you can imagine when your tired and want to go to bed it relay does seem to drag on.

    Thanks everyone and great site.
    Love and Peace

    O.T.

    Allan

    • Moderator

    • Mastermind
    • Thanked: 1260
    • Experience: Guru
    • OS: Windows 10
    Re: Takes Forever To Shut Down (Most Of The Time)
    « Reply #1 on: September 22, 2009, 04:41:17 PM »
    1) Make sure "clear pagefile at shutdown" is not enabled:
    start - run - regedit
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]

    Set ClearPageFileAtShutdown value to 0


    2) Start - Run - Regedit
    Navigate to the following Registry key:
    HKEY CURRENT USER\Control Panel\Desktop
    Double click on the AutoEndTasks entry and replace the 0 with a 1 in the Value data text box

    For the next two, if the dword value indicated does not exist, create it:

    Double click on the WaitToKillAppTimeout entry in the right pane and change the Value data to 2000

    Double click on the HungAppTimeout entry in the right pane and change the Value data to 1000

    Reboot

    3) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    Right-click on WaitToKillServiceTimeout and change it to 2000

    opticaltrigger

      Topic Starter


      Greenhorn

      Re: Takes Forever To Shut Down (Most Of The Time)
      « Reply #2 on: September 22, 2009, 04:53:54 PM »
      Thanks Allan Wow and instantly as well.
      I see your over the pond there,I don't have any idea what time it is for you guys there rite now but its real late bout midnight here so I'm gonna deal with that one in the morning,but relay thankyou for coming back to me like that Allan.

      Allan

      • Moderator

      • Mastermind
      • Thanked: 1260
      • Experience: Guru
      • OS: Windows 10
      Re: Takes Forever To Shut Down (Most Of The Time)
      « Reply #3 on: September 22, 2009, 04:56:46 PM »
      5 hours difference and I'm about to logoff myself. Have a good evening.

      opticaltrigger

        Topic Starter


        Greenhorn

        Re: Takes Forever To Shut Down (Most Of The Time)
        « Reply #4 on: September 22, 2009, 05:56:16 PM »
        You to and thanks again.

        opticaltrigger

          Topic Starter


          Greenhorn

          Re: Takes Forever To Shut Down (Thanks Allan)
          « Reply #5 on: September 30, 2009, 03:29:04 PM »
          Thanks so much Allan,Guru is an understatement.
          I thought you might be interested that it was option 2 of yours that fixed it.
          It was the Hung time out in particular.The value that was in was 5000 so I changed it as per your instructions to 1000.
          The WaitToKillApp Time out was already at 2000.
          I have to ask Allan because I hate doing things and not learning from it.What do those figures represent?Are they time comands?And if so how does it all work?
          I do a small amount of programing PIC Basic on microcontrolers so I have a small (very small) grasp of some of the mechanics of software but Windows is a mystery to me,but I'm trying to learn as much as I can about how it ticks.

          But regardless Allan,thanks very very much for your learned assistance.
          O.T.

          patio

          • Moderator


          • Genius
          • Maud' Dib
          • Thanked: 1769
            • Yes
          • Experience: Beginner
          • OS: Windows 7
          Re: Takes Forever To Shut Down (Most Of The Time)
          « Reply #6 on: September 30, 2009, 03:33:19 PM »
          Shhhhhhh....
          He's sleeping.

           ;D
          " Anyone who goes to a psychiatrist should have his head examined. "

          Allan

          • Moderator

          • Mastermind
          • Thanked: 1260
          • Experience: Guru
          • OS: Windows 10
          Re: Takes Forever To Shut Down (Most Of The Time)
          « Reply #7 on: September 30, 2009, 03:37:48 PM »
          Well, I do tend to fall asleep early, but not THIS early ;D

          Yes, those are milliseconds. Hence, 2000 is two seconds and so on. Actually, changing it from 5 seconds to 2 seconds should not have made that much of a difference, but okay - why argue with success?

          And you're most welcome. Glad you got it sorted out.