VISTA.BLORGE
TECH.BLORGE.com
MAC.BLORGE.com
GAMER.BLORGE.com

November 11, 2007 |

Make Vista shutdown and boot faster

By Jonathan Schlaffer





Untitled-1 Vista, like its predecessors will be fast when you first boot it and for a few weeks after but like every other version of Windows will get slow, here are some tips to help curtail that but you will still have to do the occasional reinstall to get all your performance back.

In order to make Vista boot faster, the only thing you can really do at this point is defrag the hard drive.  After opening and closing files all the time, these files become spread in fragments all across the hard drive, increasing seek times, defragmenting puts them back into one contiguous spot and some utilities even have options for optimizing boot by placing the boot files and startup programs as close to the start of the drive as possible.

Windows XP users have the option of using BootVis but if you don’t know how to use that tool, don’t, it can really mess up your system if used wrong.  Sadly, it does not run under Vista which is a real shame because it’s an awesome utility and really does something to improve XP boot times.  Used with TuneXP (also not compatible with Vista) it’s a lethal combination for shortening boot times.

Word on the street has it that using this manual defrag command “defrag c: -b” at the command prompt, where c: is your primary boot drive, will defrag the boot files and move them so Vista will start faster.  The problem with this method is there is no progress bar so you just have to sit and wait for it to finish.  People wonder why I don’t like command line and command line tools, this is one of those reasons, basically I always need to know when/how soon something will finish or at least get a rough estimate from a progress bar.

The built-in defrag utility of Vista is just as lame as the command line version, it will only notify you when it is complete.  My favorite paid options for a defrag utility are Perfect Disk and Diskeeper but if you can’t/don’t want to pay for one then it’s hard to be Auslogics Disk Defrag which is compatible with Windows 2000, 2003, XP and Vista.

Even if defragging doesn’t really help your boot performance (this will vary) it will still help improve application load times when the operating system is finally booted up.

That covers booting but there is one quick edit to the registry that can make Vista shut down quicker than you can say “shut down.”  Those not comfortable with delving in to the registry had better not proceed because making a mistake here could (and usually does) mess up your system bad.

At the Start Menu, type “regedit” without the quotes in the search box and hit Enter.  Find HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control and go to the Control folder, right click the entry “WaitToKillServiceTimeout” and set the value to something lower, 1000 is usually good (the numbers represent milliseconds).  The default value is a (too) generous 20000.  However, the cost with this is that it won’t give running programs much time to save data so losing work using the tweak is a definite possibility.

There are some more tweaks that can be found right here but many of them (save for the one above) can be done automatically by the free version of TweakVI.

I just want to say again that it’s a shame that BootVis and TuneXP don’t run on Vista because these were the two best tools for improving performance in XP.

Sign up for the BLORGE email newsletter


Related:

  • Boot Vista faster using multiple processor cores
  • Make Vista shutdown easier
  • Danger! Vista SP1 doesn’t like multiple-OS users
  • Windows Vista earns ire of users with longer startup and shutdown times
  • Vista SP1 go for launch on March 18




  • 11 Responses to “Make Vista shutdown and boot faster”

    1. Andrew_Ryan:

      Yeah, Bootvis is/was awesome for XP. Unfortunately, it’s not available on the Microsoft site anymore, I think; but you can still download it for free off other sites.

      I also use Diskeeper Pro for my defragging needs, and it is a very good program. I can also do boot-time defrags with it to fix a fragmented MFT and paging file. I may be wrong, but I suspect auslogics lacks this feature?

    2. Jonathan:

      You’re not wrong… Auslogics does lack that feature but it is also free, not that Diskeeper is all that expensive but some may be unwilling to buy a defrag program for a home computer.

    3. sduv:

      Everyone has their own take on fragmentation, some dont bother for years others run it every week, even daily and feel its like an epidemic that catches on if ignored. I never used to bother but of late i have found that the system is much smoother when fragmentation levels are kept under control.

    4. Max:

      Hm, thanks i changed the values to 2000 so Il hope this dosnt mess up my system!!

    5. Cybersupam:

      I have recently upgraded from XP to Vista, and just only impressed by Vista’s new looks and appearance…nothing else. But really its exhausting the way it boots up and shuts down. Also too irritating. Yes defragmenting once a week is my duty, and I do it taskfully. And I am using Vista Manager which is really superb in its functions and performances (at least in my case).

    6. Scott:

      You know, it’s not free, but it might help some of you guys out. I ran accross this nifty new defragmentation software that might be what you guys are looking for. I’m not sure if it will work for you, but it does have a free trial.
      http://www.raxco.com

    7. Robert Ekstrom:

      This may not be a solution for everyone but ….

      My boot times were almost twice normal after SP1.
      Shutdown even worse.

      My problem resulted from a “stuck” ReadyBoot plan.

      There is a real good explanation of ReadyBoot here: http://technet.microsoft.com/en-us/magazine/cc162480.aspx

      I started off by tracking my boot times in the Event Log Viewer in log Microsoft-Windows-Diagnostics-Performance/Operational.

      Average boot time prior to SP1 was 93 seconds.
      After SP1 the average was 160 seconds.

      Of note was the BootPrefetchInitTime which was 47 seconds before SP1 and 0 after.

      Also, my shutdown times had gone from 47 seconds to 232 seconds.

      As mentioned in the above article I checked %SystemRoot%\Prefetch\Readyboot and found the trace files (.fx).

      They were all date-timestamped from prior to the SP1.

      In addition Event Log Microsoft-Windows-ReadyBoost/Operational EventID 1016 always showed Valid Boot Plan Obtained: true prior to SP1 and false after SP1.
      This is the real indicator that you have the same problem as I did.

      I could find nothing from Microsoft about a remedy except a performance measurement whitepaper for OEMs http://www.microsoft.com/whdc/system/sysperf/Vista_perf.mspx.

      It states: “If you make significant system configuration changes, you should remove the \Windows\Prefetch directory on the system drive and all its contents. This removal eliminates any stale prefetch data, but you must then retrain the system.”

      Not wanting to “retrain” my whole system, I removed only the contents of \Windows\Prefetch\Readyboot

      Results:

      Prior to removal: ShutdownTime=232670ms, BootTime=129123ms, BootPrefetchInitTime=0ms

      1st Boot after removal: ShutdownTime=149441ms, BootTime=141811ms, BootPrefetchInitTime=0ms

      Note: after this boot EventID 1016 showed Valid Boot Plan Obtained: true

      2nd Boot after removal: ShutdownTime=149980ms, BootTime=67406ms, BootPrefetchInitTime=37805ms

      3rd Boot after removal: ShutdownTime=67838ms, BootTime=60677ms, BootPrefetchInitTime=61960ms

      The system reboots now feel the same as before.

      Hope this helps

    8. Georg:

      good news:

      Bootvis is back for Vista SP1.

      Microsoft recently released the “Windows Performance Tools Kit”

      http://www.microsoft.com/whdc/…sysperf/perftools.mspx

      http://msdn2.microsoft.com/en-us/library/cc305229.aspx

      http://www.microsoft.com/whdc/system/sysperf/perfanalyzer_onoff.mspx

      which is basically a new, enhanced bootvis.

      Especially interesting is the xbootmgr which allows extended tracing of boot/shutdown etc. cycles.

      G.

    9. Kees:

      @Georg

      Thank you so much for that tip, exactly what I was looking for!

    10. John T.:

      Thank you for your post Robert Ekstrom

      “I could find nothing from Microsoft about a remedy except a performance measurement whitepaper for OEMs http://www.microsoft.com/whdc/system/sysperf/Vista_perf.mspx.

      It states: “If you make significant system configuration changes, you should remove the \Windows\Prefetch directory on the system drive and all its contents. This removal eliminates any stale prefetch data, but you must then retrain the system.””

      I haven’t seen a boot time under 60 seconds ever since SP1 and it was been causing me no end of grief. Average boot time since was 2 min. After your little suggestion 58s. Thanks a bunch.

    11. laptop_guy:

      Would this effect my wireless?? My wireless is having problems after i did this!

    Leave a Reply:

    Copyright © 2007 Engaging and compelling blogs that entertain and inform