Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


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!

More Useful Windows PC Help Articles:
✔   What's the easiest way to speed up my Windows PC laptop?
My Dell Windows 7 laptop is starting to drive me crazy. It's so darn slow! I've had it a few years and I...
✔   Can I force a Windows 7 OS system update?
Every so often Windows 7 pops up a window and tells me that there are updates. That's nice, but how can I force...
✔   Fix Google Drive (Gdrive) no longer supported (out of date)?
I'm a big Google fan and have been using Google Drive for quite a while as a cloud storage device. It's a breeze,...
✔   How do I open or unpack a RAR archive on my Windows PC?
I have some ".rar" files on my Windows 8 PC and am curious how to unpack them to see what's inside. From a...
✔   How can I shrink my Windows 8 Desktop file icons?
I've figured out most things in the new Windows 8 interface, except I can't see how to easily reduce or shrink the file...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  




Categorized: Windows PC Help   (Article 6923, Written by )
Tagged: boot up, performance tuning, shut down, startup, windows xp, winxp
Previous: What's a "joe job" and why are spammers using my domain?
Next: Why won't my Sony PSP memory stick format?




Reader Comments To Date: 20

narendra sharma said, on March 4, 2007 8:45 AM:

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

stevesroom said, on April 9, 2007 11:49 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…..

Brian said, on April 24, 2007 12:48 PM:

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

david said, on May 12, 2007 10:40 AM:

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

stupid person brian. xp is dead go vista.

BARBARA said, on August 20, 2007 6:17 PM:

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

Moe Stooge said, on September 2, 2007 5:56 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

Wayne said, on September 28, 2007 8:06 AM:

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...

dumb ass brian said, on September 30, 2007 1:28 PM:

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!

stevesroom said, on November 23, 2007 5:20 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.

jawaharkumar said, on March 17, 2008 11:20 PM:

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

amit said, on November 23, 2008 11:31 PM:

I have 256mb ram in my pc with windows xp. I heard that i use my pen drive as a ram. should it possible. If yes pl. write me full procedure.

Christopher said, on May 26, 2009 1:05 AM:

Wicked! Helped allot, thanks... :)

Tom Teasdale said, on June 13, 2009 4:35 PM:

Dave,Lots of experts recommend having Task Scheduler in "Services" turned off if not required. I have just found out tho' that Windows Prefetch will not run without it,no wonder my Prefetch folder was always empty ! Have now set T.S. to Auto and rebooted twice and my startup is down from 120 to 67 seconds,great stuff.

Tom.

Christopher Roberts said, on August 3, 2009 9:36 AM:

That sped up my startup by 26seconds

Thanks :)

Monika said, on August 31, 2009 3:11 PM:

I followed the procedure to speed up start-up in the registry editor. BootOptimizeFunction is set to = Y. However, underneath it says, optimization incomplete due to insufficient space. What does that mean and how can I fix it?

greentech07 said, on September 28, 2010 4:33 AM:

gud tips, i want to share something also ,
Clear Cache, history and temporary internet files

Turn off unnecessary programs from start up:

Have low intensity graphics

Uninstall unused software and programs
Please remember to clean Windows registry using registry cleaner reginout, i have used it works very gud
The above guidelines were really helpful to speed up my computer. These are safe and do impact computer performance in a positive way.

Sam Martin said, on March 22, 2011 8:32 AM:

Very good tips provided by you. Can you give me information about MSCONFIG?

J.BQ said, on July 10, 2011 5:08 PM:

I would also suggest getting rid of the shotty freeware programs. I finally bought myself a proper registry cleaner, because i was worried that some other programs might be leaving bits and pieces in the registry even after i had gotten rid of the program. This drastically slows down a PC. I now just run PC tuneup maestro ( http://compuclever.com/products/pc-tuneup-maestro/ ) and it gets rid of the stuff i dont have time to search through and delete. Its almost impossible to do it yourself anyways because of the confusing file names and the 100's you have to deal with sometimes. Anyways its kept my computer fast and efficient. hope that helps!

sara said, on December 17, 2011 7:09 AM:

hi i have installed the desperate housewives game on my computer and when i click run to play it the game screen comes on for 5 seconds and then goes straight back onto the desktop screen do you kknow what it could be thanks

Gert said, on December 18, 2012 5:17 AM:

Hi Dave,
XP SP2 refers
After Reg Ccleaner, i find that several of the xp 'system' icons
on the desktop and quicklaunch, executes a diff app instead of the
actual 'system' service. icons like 'My Computer' , 'My network places',
Start/Control Panel etc.
On inspection of the properties of a modified icon, I found that instead of 'Open'
in the properties, it refers to the application to be executed,
which is diff to the expected eg 'My Computer' app. In my case
the Property of 'My Computer' where it should say 'Open'
it points to 'Corel Photoshop...' which is indeed the app
being execute when clicked. The same app is referred to in
the other 'system' icons.

If you understand all this.....
Is there a fix, or could this be due to a virus, unknown
to me?? I do use update free AVG.

Many thanks for your feedback

Regards,
Gert

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

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











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 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. Further, 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. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.