Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

How do I speed up my Windows XP startup?

I'm sick of how darn slowly my Windows XP computer boots up, Dave. It seems to just take forever, to the point where I turn the PC on then find something else to do for 5-10 minutes. After all that time, I know it's ready to use. Worse, shut down seems to take lots of time too. Am I doomed?


Dave's Answer:

Great question, and one that I can understand as my PCs also seem to gradually get slower and slower on boot as this, that and the other app have to check in and get updated definitions, apps, data files, and who knows what else. Fortunately, I have permission from O'Reilly Media to republish some of their best hacks and in the book Windows XP Hacks, by Preston Gralla, it turns out that hack #3 addresses just this topic. Without further ado:

Windows XP Hacks

Shorten the time it takes for your desktop to appear when you turn on your PC

No matter how fast your PC boots, it's not fast enough. Here are several hacks to get you right to your desktop as quickly as possible after startup.

Perform a Boot Defragment

There's a simple way to speed up XP startup: make your system do a boot defragment, which will put all the boot files next to one another on your hard disk. When boot files are in close proximity to one another, your system will start faster.

On most systems, boot defragment should be enabled by default, but it might not be on yours, or it might have been changed inadvertently. To make sure that boot defragment is enabled on your system, run the Registry Editor (Hack #83 in the book) and go to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction

Edit the Enable string value to Y if it is not already set to Y. Exit the Registry and reboot. The next time you reboot, you'll do a boot defragment.

Warning: I've found many web sites recommending a way of speeding up boot times that might in fact slow down the amount of time it takes to boot up and will probably slow down launching applications as well. The tip recommends going to your C:\WINDOWS\Prefetch directory and emptying it every week. Windows uses this directory to speed up launching applications. It analyzes the files you use during startup and the applications you launch, and it creates an index to where those files and applications are located on your hard disk. By using this index, XP can launch files and applications faster. So, by emptying the directory, you are most likely slowing down launching applications. In my tests, I've also found that after emptying the directory, it takes my PC a few seconds longer to get to my desktop after bootup.

Hack Your BIOS for Faster Startups

When you turn on your PC, it goes through a set of startup procedures in its BIOS before it gets to starting XP. So, if you speed up those initial startup procedures, you'll make your system start faster.

You can speed up your startup procedures by changing the BIOS with the built-in setup utility. How you run this utility varies from PC to PC, but you typically get to it by pressing the Delete, F1, or F10 keys during startup. You'll come to a menu with a variety of choices. Here are the choices to make for faster system startups:

Quick Power On Self Test (POST)
When you choose this option, your system runs an abbreviated POST rather than the normal, lengthy one.
Boot Up Floppy Seek
Disable this option. When it's enabled, your system spends a few extra seconds looking for your floppy drive -- a relatively pointless procedure, especially considering how infrequently you use your floppy drive.
Boot Delay
Some systems let you delay booting after you turn on your PC so that your hard drive gets a chance to start spinning before bootup. Most likely, you don't need to have this boot delay, so turn it off. If you run into problems, however, you can turn it back on.

Fine-Tune Your Registry for Faster Startups

Over time, your Registry can become bloated with unused entries, slowing down your system startup because your system loads them every time you start up your PC. Get a Registry clean-up tool to delete unneeded Registry entries and speed up startup times. Registry First Aid, shown in Figure 1-3, is an excellent Registry clean-up tool. It combs your Registry for outdated and useless entries and then lets you choose which entries to delete and which to keep. It also creates a full Registry backup so that you can restore the Registry if you run into a problem.

Cleaning the Registry with Registry First Aid
Figure 1-3. Cleaning the Registry with Registry First Aid

Registry First Aid is shareware and free to try, but it costs $21 if you decide to keep using it. Download it from rosecitysoftware.com.

After you clean out your Registry, you might want to try compacting it to get rid of unused space. The Registry Compactor, also available from rosecitysoftware.com, will do the trick. Compacting your Registry reduces its size and decreases loading time. It's shareware and free to try, but it costs $19.95 if you decide to keep it.

Speed Up Shutdown Times

It's not only startup times that you'd like to speed up; you can also make sure that your system shuts down faster. If shutting down XP takes what seems to be an inordinate amount of time, here are a couple of steps you can take to speed up the shutdown process:

Don't have XP clear your paging file at shutdown

For security reasons, you can have XP clear your paging file (pagefile.sys) of its contents whenever you shut down. Your paging file is used to store temporary files and data, but when your system shuts down, information stays in the file. Some people prefer to have the paging file cleared at shutdown because sensitive information, such as unencrypted passwords, sometimes ends up in the file. However, clearing the paging file can slow shutdown times significantly, so if extreme security isn't a high priority, you might not want to clear it. To shut down XP without clearing your paging file, run the Registry Editor and go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Change the value of ClearPageFileAtShutdown to 0. Close the Registry and restart your computer. Whenever you turn off XP from now on, the paging file won't be cleared, and you should be able to shut down more quickly.

Turn off unnecessary services

Services take time to shut down, so the fewer you run, the faster you can shut down.

This hack is © 2006 by O'Reilly Media and is republished here with explicit permission of the publisher. If this seems useful, then i'm sure you'll find the book Windows XP Hacks a great addition to your library!


Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

thank you very much .information provided by you was very helpful.

Posted by: narendra sharma at March 4, 2007 8:45 AM

here is an idea for you?

4 gb + usb pen drive or memory card 4gb +

move the swap file from the winxp hd! to the usb or memory card slot device.!”"

watch it move then.,……..SPEED BOOST WINXP…..

Posted by: stevesroom at April 9, 2007 11:49 AM

I would like to know the D-Word values (1-5?) and associated actions for WinXP SP2 Prefetch.

Posted by: Brian at April 24, 2007 12:48 PM

|Hey brian why you asking dave he has no idea and neather do you. catch 21/

stupid person brian. xp is dead go vista.

Posted by: david at May 12, 2007 10:40 AM

I HAVE A WINDOWS XP AND I BROUGHT THE GAME DESPRATE HOUSE WIVES, I PUT THE DISK IN AND SOMETIMES IT WILL COME UP FOR ME TO TRY AND PLAY, THEN MOST TIMES IT WONT. EVERYTIME I PUT THE DISK IN IT SAYS I DONT HAVE ENOUGH MEMORY ON MY VIDEO CARD AND VIDEO RAM. I DOWNLOADED DIRECT X 9.0C THAT DID NOT HELP? ALSO I CANT GET ANY PRINTER TO WORK WITH THIS DESK TOP I HAVE BROUGHT TWO. ALSO I CAN NOT BURN CD'S I BROUGHT A NEW COMPACT DISC DRIVER AND MY COMPUTER STILL DONT RECGONIZE IT AS A BURNER? I TRIED GOING TO THE REGISTRY TO FIX IT BUT I GOT THE TAB TO SAY RECORDING BUT WHEN I GO TO MY MEDIA PLAYER IT SAY INSTALL A CD BURNER TO START BURN. CAN U PLEASE HELP ME I'VE BEEN SEARCHING ALL OVER THE INTERNET AND NOTHINGS WORKING NO MATTER WHAT I DO. ALSO WHAT IF I DOWNLOAD A VERSION OF WINDOWS 90 OR 2000 WILL THAT HELP? I BEEN SPENDING TOO MUCH MONEY ON THIS SMART/ DUMB BOX.

THANK YOU, PLEASE HELP
BARBARA HAWKINSMSP@YAHOO.COM

Posted by: BARBARA at August 20, 2007 6:17 PM

User Profile Hive Cleanup Service

Brief Description
A service to help with slow log off and unreconciled profile problems.

https://www.microsoft.com/downloads/details.aspx?familyid=1B286E6D-8912-4E18-B570-42470E2F3582&displaylang=en

Posted by: Moe Stooge at September 2, 2007 5:56 PM

Dave,
I recently tried to hook up two monitors, well it was a success 'UNTIL' my computer started re-starting all on it's own about every ten minutes, sometimes even sooner. It's doing it everytime I start it up. I've disconnected the 2nd monitor and defragged the drives. I don't know what else to do. I 'know' I did something but 'what'?
Hope you can help.
Wayne. 're-starting' again...

Posted by: Wayne at September 28, 2007 8:06 AM

hey brian!
D-Word values (1-5?) and associated actions for WinXP SP2 Prefetch

what system setting do you want the details from ? you did not say in your post.

come on!

Posted by: dumb ass brian at September 30, 2007 1:28 PM

have made a few changes to the vista speed boost now you can use any memory card or usb device you like and get it to work./

see my website under e support.

Posted by: stevesroom at November 23, 2007 5:20 PM

how to remove my startup windows in my desktop pc _winxp os

Posted by: jawaharkumar at March 17, 2008 11:20 PM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Uniblue: Free Virus Scan

Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]