Slashdot Mirror


Maintaining Windows XP System Performance?

jerud wonders: "I assume that most people on Slashdot are forced to, at some point, touch Windows. Further, I assume that many of them are forced to administer Windows boxes. I am in the unfortunate situation of using Windows for about 90% of my tasks, due to the nature of my job. As a firm believer in 'if it isn't broke don't fix it', I've delayed moving to XP for just about as long as possible, holding onto my Windows 2000 installation, while my brother spent a lot of time complaining about the XP issues he dealt with, at work. Finally, I made the transition and, low and behold, it didn't seem to bad. In fact, there were a few things that I really liked. Now, a few years later I have quite a few XP machines and they all share the same problem: over time they have slowed so noticeably that they have made even the most solid configurations run like they were made in 1999. Is there any regular treatment out there that can minimize this kind of system degradation?" "Solid practices are in use on most of these machines, or at least the ones that are completely under my control. Even with that, I know these machines are much slower now then when I bought them. I really don't want to spend two weekends every year starting over from scratch, simply because thats the only way to reclaim performance."

17 of 159 comments (clear)

  1. defrag the registry. by larry+bagina · · Score: 5, Informative

    defragment your hard drive. Of course, you can't defrag the registry. So use sysinternal's PageDefrag utility which can. Over time, the registry accumulates a lot of stuff, and defragging it can help quite a bit.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  2. Start up monitor by Pacifix · · Score: 4, Informative

    http://www.mlin.net/StartupMonitor.shtml - it's a freeware app that tells you each time something tries to register itself to run at startup. Those damn on-startup apps are what slow the machine down the most, especially for non-technical home users. You'll be amazed at how many things believe they must run every time you start your computer.

    1. Re:Start up monitor by Ignominious+Cow+Herd · · Score: 5, Informative

      Also, AutoRuns from http://www.sysinternals.com/Utilities/Autoruns.htm l is very useful for this kind of thing.

      --
      Lump lingered last in line for brains, and the ones she got were sorta rotten and insane.
  3. I have the same feeling by OzPeter · · Score: 4, Interesting

    My Dell laptop seemed full of crud. I know that I had installed quite a few systems just to test them over the first year that I had the laptop. And now it was showing mysterious symptoms - Programs would seem to just hang when I started them. The responsiveness seemed down.

    So I wiped the hardrive and re-installed XP plus all the packages that I knew I needed. After I got it all running again, it seemed as repsonsive as when I first got it.

    But that was 10 months ago. Now it is back to the same feeling of molasses at times with the inexplicable behaviour. So obviously I have installed something that has slowed things down. But what? There is no way to tell what it is. So it looks like I am headed for the yearly rebuild again.

    [Note 1 that in all of this, I have been using virus protection, adware protection, software firewalls, and up-todate patches]

    [Note 2 To all you people who will say wipe XP and put *nix on. I can't as I have custom software development tools that *only* run on windows. And no, it is not possible to rewrite them from scratch - and anybody who thinks so hasn't been out in the world of PLC programming and heavy industries]

    --
    I am Slashdot. Are you Slashdot as well?
    1. Re:I have the same feeling by NanoGator · · Score: 3, Insightful
      "My Dell laptop seemed full of crud. I know that I had installed quite a few systems just to test them over the first year that I had the laptop. And now it was showing mysterious symptoms - Programs would seem to just hang when I started them. The responsiveness seemed down."

      Ditto. I've basically gotten in the habit of reinstalling every 6 months to a year or so. I don't have problems with Windows stability, but the 'spring cleaning' bit is something I am not thrilled with at all. I have done a few things to minimize the down time, though:


      1. I maintain a drive letter on every install of Windows I use. Either I format a partition to that drive letter, or I use the dos 'subst.exe' command to make the drive letter based on a folder. (depends on if I have a free partition or not.)

      2. Since I have a constant drive letter, I keep folder around that has copies of the software I use. Most of the apps I use don't need to muck with the registry to be installed, so I can just fire up the app right away. For other apps like Office, I keep the installer around as well.

      3. I have a 'Shortcuts' folder where I put shortcuts to these apps. When Windows is done installing, I set up the quicklaunch bar to look in that folder. (I rarely use the Start Menu.)

      4. I'm using GMail now so my email's never interrupted.

      5. Since I have so much giggage on my computer, I usually keep 10-20 gigs of partition space around so that when I do reinstall Windows, I can install it to that partition instead of having to blow away what I have. In an 'oh shit!' emergency, I can get it going again. (funny, I haven't needed that in a while.. hopefully I didn't just jinx myself.)

      6. I also keep a running tally of drivers I need on this partition. Once I need the scanner or something, getting it going doesn't take long because I know where I kept my files.


      The added benefit of my approach here is that I can mirror this setup to my laptop or to a new computer just by getting things hooked up to the network. Plus it simplifies backups by a considerable margin.
      --
      "Derp de derp."
  4. Re-install from scratch by SpaceLifeForm · · Score: 3, Insightful
    Otherwise, it will never be clean.

    And that includes re-formatting the partition.

    --
    You are being MICROattacked, from various angles, in a SOFT manner.
    1. Re:Re-install from scratch by invisik · · Score: 3, Informative

      Correct. I don't know anyone who could really say what was happening. I've heard in tech shops the recommended lifespan is 18 months of a Windows installation. I'd say that was about right, with minimal crashes during that time.

      I'd recommend reinsatlling Windows, installing all your apps and patches. Then get a copy of Norton Ghost and take an image of your machine. Save that to a jillion CD's or a couple of DVD's and shelve them. When your box gets trashed again, slap the image back on and apply any updates from there. Saves some time.

      -m

      --
      http://www.invisik.com
  5. You probably won't hear this elsewhere... by hackwrench · · Score: 3, Interesting

    I run with system restore turned off. Also clearing out your logs Control Panel|Administrative Tools|Event Viewer may or may not make a difference. You may actually try reading some of them first, but good luck making sense of them.

    Example Log Entry:
    The description for Event ID ( 20158 ) in Source ( RemoteAccess ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details

  6. Re:Run as a Non-admin User by Kraeloc · · Score: 5, Funny

    The thought of using one of my own computers and not having absolute, immediate control over it, makes my skin crawl. I rule each box with an iron fist.

  7. Bruised registry by rocjoe71 · · Score: 3, Informative
    Try these, in order:
    1. Uninstall every application you're positive you don't want/need, including Indexing Service (which you could replace with Google Desktop or Copernic)
    2. If you (shudder) use Outlook, it gets pretty logey around 800Mb or so, especially if you frequently recieve or send attachments, use the archival function to stow away old email, at work I do mine my year. Another handy tool is "Google GMail Loader", I have archived all my email at home in my Gmail account, which turns your GMail into offsite backup of your email.
    3. Create a new logon, your user profile is probably quite bloated and mangled. A new profile will let you start from zero. Migrate bookmarks, email and your My Documents folder... DO NOT delete your original user logon until you're satisfied that you've migrated everything you want to keep (deleting the profile will delete everything associated to that logon in Documents and Settings).
    4. Quick pagefile defrag tip: Move your page file to a different hard drive partition through the Virtual Memory dialog (Control Panel > System > Advanced > Performance > Virtual Memory)-- set the min and max sizes to the same number so it never has to grow again once its been initialized as this will limit the opportunity for it to fragment.
    5. Do some housekeeping, delete files you don't need, empty your internet cache, then defrag the hard drive.
    6. Through Google, you can find alot of advice on which services you can turn off without hapering the funcitoning of XP. I manage fine without doing this step but some swear by it.
    --
    Height: 38U, Weight: 0 Newtons, Eyes: #0000FF, OS: Gray Matter 1.0 (Alpha)
  8. clean the crap out by xiong.chiamiov · · Score: 3, Interesting

    As well as everything suggested above, run Crap Cleaner. This has cleaned so many gigs of junk from my computer over time, I don't know what I would do without it.

  9. CCleaner by rincebrain · · Score: 3, Informative

    Most of the other tips are good, but nobody's mentioned CCleaner yet. That is one awesome app for cleaning out old cruft.

    --
    It's only an insult if it's not true.
  10. Windows XP Tune-Up Guide by MattPF · · Score: 5, Informative

    I actually got sick of family and friends asking me to tune up their XP installs, so I wrote a detailed article on the entire process and posted it on our family website here: http://www.farleyfamily.net/articles/tuneup/

    It's a comprehensive step-by-step of what any aunt or uncle should be able to follow in order to free system resources and make for a better (faster!) desktop experience.

  11. The usual speedups by dtfinch · · Score: 5, Informative

    Run msconfig. Despite what your better judgement might say, you can safely disable everything in the startup tab. Then glance through the list and recheck anything that you can both identity and wish to have running in the background.

    Other small speedups:
    Switch to the classic win2k theme.
    If your wallpaper is a gif or jpeg, replace it with a bmp and disable active desktop. For anything other than bmps, it uses Internet Explorer to render your desktop.
    Get more ram.
    If less than about 20% disk free, delete stuff you don't need and then defrag.
    Disable window animations and other eye candy.
    Check for malware.
    Install and run ShellExView. Some programs install shell extensions which can (but not usually) cause slowdowns and pauses in Windows Explorer. It should color code items depending on if they come with windows, if they are known, if they are known to be bad, or if they are unknown. I encountered a system where a Eudora shellexecute hook was causing the system to freeze for 2 minutes whenever you tried to start a program.
    Disable the indexing service.
    Disable/uninstall your virus scanner, if you're the type who never installs viruses.
    16bit color is sometimes faster. You'll have to test for yourself.

    Sometimes I get lucky with this one: In control panel->hardware->device manager, open the properties for the "Primary IDE Channel" and see whether it's in DMA or PIO mode. If it's in PIO mode, right click the "Primary IDE Channel" and click remove/uninstall, and reboot. I've encountered several systems where this was the cause of major slowdown. Windows occasionally encounters timeouts reading from the hard drive, and sometimes mistakingly assumes that stepping down to a slower transfer mode will solve the problem. I see it happen most on systems that go to sleep a lot. Microsoft's website says it's fixed, and shouldn't happen much at all in the future, but you'll still need to do the fix I described on systems that already have the problem.

    Some people suggest removing System Restore. I've had occasions where it helped out a lot, like when a Microsoft Windows Update badly broke my system, so I can't recommend disabling it unless you don't mind the occasional reinstall.

    I'm typing this on Linux, so some of the above instructions might be slightly off, but are generally correct.

  12. Re:Run as a Non-admin User by Johnno74 · · Score: 3, Insightful

    I'll second that. As well as the regular cleanups advocated elsewhere on this story (defrag (inc registry), prune startup crap with autoruns) you will accumulate a lot less crap if you run as non-admin.

    I ripped this quote from somewhere...
            START
                  Q. Why is Windows so insecure?
                  A. Because everyone runs as Administrator.

                  Q. Why does everyone run as Administrator (even when they know better)?
                  A. Because they don't understand security and are afraid they will be prevented from doing things.

                  Q. Why don't they understand security?
                  A. Because they run as Administrator, bypassing all security.
            LOOP TO START


    This microsoftie blog has lots of good info about running as non-admin. It can be painful to switch, but once you do, you won't regret it.

  13. The only effective way.... by Raisputin · · Score: 3, Interesting
    The only effective way that I have found to keep a Windows box running even halfway decently is install Windows (we'll assume XP for right now), immediately perform all Windows Updates, both Critical and optional and any driver updates, then install:

    1. Ad-Aware SE
    2. Spybot Search & Destroy
    3. SpywareBlaster
    4. Microsoft Anti-Spyware
    5. Some Anti-Virus Program that you like (at my work, we install Norton even though it is a resource hog, but never Norton Internet Security since it eventually always fucks a computer up)

    Set your Anti-virus program to scan at least weekly, and automatically update itself, Update and sca with Ad-Aware and Spybot weekly at a minimum, and update and protect with SpywareBlaster weekly at a minimum.

    It is absolutely ridiculous that a person should have to do this to keep their computer running decently. We get so many Windows machines in the shop that it isn't even funny, but thusfar, whenever we have managed to convince someone to upgrade to a MacOS X machine (Typically when their Dell, Compaq, HP, E-Machines has a motherboard failure). They have came back completely excited and astonished that they don't really have to worry about spyware and viruses so much.

    My reccomendation on keeping your WIndows XP machine in top performance. Go buy a high-end Mac and run VirtualPC if it can run whatever program you NEED to run (Note: Games do not count), if you cannot run your Prorgram under VPC, buy a low-end PC and keep it off the network.

    --
    +(norad) if you rearrange the letters in mother in law, you get woman hitler
  14. Self-destruction is a "feature". by Futurepower(R) · · Score: 4, Insightful

    We use Startup Monitor and ZoneAlarm Security Suite software firewall. The newest ZA pops up a window the first time anything suspicious happens. It's a big problem convincing users to report the ZA popups, but if they do, Windows is much safer.

    However, it's a losing battle. The problem is that Microsoft makes more money if its operating systems self-destruct. What you call "vulnerabilities" billionaires call "maximizing shareholder value".

    If rich people sold good operating systems, poor people would not buy the next upgrade.

    Using an operating system is like having a partner in your business. If it is a Microsoft OS, your "partners" want some things that are bad for you. If you use Linux or BSD, you can breathe a huge sigh of relief; your partners want what you want.

    It's absurd that governments of countries use Microsoft products. It's even absurd that state governments in the U.S. use Microsoft products. The U.S. federal government spends more money on world-wide surveillance than any country in the history of the world. Exploiting computer systems is now one of the biggest new frontiers in surveillance.

    The U.S. government's Echelon surveillance system watches everyone all the time. (Echelon quote: "Since the close of World War II, the US intelligence agencies have developed a consistent record of trampling the rights and liberties of the American people.")

    The biggest discretionary expense of the U.S. government is the cost of war. The president and the vice-president of the U.S. are people who themselves and their families and friends made their money through oil and weapons. Is it any wonder that the price of oil is so high and we have war?

    When a country uses Microsoft operating systems, it effectively has the U.S. government as one of its partners. Given the present climate of corruption and conflict of interest and adversarial behavior and using war as a justification for anything, why do countries want the U.S. government and U.S. billionaires as partners?

    If volunteers can make a secure operating system ("Only one remote hole in the default install, in more than 8 years!") is it difficult to believe that the amazing number of vulnerabilities we've seen in Windows are deliberately allowed?